how to write spi dma driver on non-OS environment

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to write spi dma driver on non-OS environment

608 次查看
jackyliu
NXP Employee
NXP Employee

customer wrote the driver on non-OS environment. But the DMA can't be triged.

Original Attachment has been moved to: 353-spi.c

标签 (1)
0 项奖励
1 回复

471 次查看
jackyliu
NXP Employee
NXP Employee

I checked their codes, and found they don't trig DMA.
Below is my instruction:
In our mxs_spi_handle_message(), it call mxs_spi_setup_transfer() to setup spi speed. So you need to ask the customer to check if their spi speed is set correctly or not.
Then mxs_spi_handle_message() call
At the last , it call mxs_spi_txrx_dma().

0 项奖励