本人想利用DM368 SPI口接收FPGA发送的压缩数据并送入解码器进行解码输出,现在在驱动上已经添加了设备节点spidev0.0,在应用层主要修改了DMAI下的Loader.c程序中的函数loader_prime和Loader_readdata,将里面的读取视频文件函数改成read(spi,Buffer,len),但是在程序运行时无法收到任何数据,请问还需要修改什么地方,才能实现这一功能。
注:本人利用SPI口可以在编码端用write()函数,将压缩的视频数据发送至FPGA
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.