how to write spi dma driver on non-OS environment

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to write spi dma driver on non-OS environment

607件の閲覧回数
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 返信

470件の閲覧回数
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 件の賞賛