He

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
737件の閲覧回数
gouthamdugyala
Contributor I

Hi,

      I'm using LPC5410x NXP controller, we are implementing SPI FIFO-DMA full duplex mode. As of now we understand that SPI Tx register has 32-bit register(16-bit for control/16-bit for DATA) whereas SPI Rx register 32-bit register dedicated to DATA.

To work in full duplex mode, i configured the control register for MasterTx and its working fine. should i configure the same to SlaveTx??

Whether configure or not we are missing few bytes initially and duplication happening at end.

Please suggest how to handle SlaveTx data

Chethan

タグ(1)
0 件の賞賛
返信
1 解決策
656件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi goutham dugyala,

Thank you for your interest in NXP Semiconductor products and 
the opportunity to serve you.
I'd highly recommend you to refer to the dma_transfer demo from the SDK of the LPC54102, this demo illustrates how to use spi driver with DMA and you can create the SDK via the link below.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
657件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi goutham dugyala,

Thank you for your interest in NXP Semiconductor products and 
the opportunity to serve you.
I'd highly recommend you to refer to the dma_transfer demo from the SDK of the LPC54102, this demo illustrates how to use spi driver with DMA and you can create the SDK via the link below.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信