SPI communication at 32 bits per frame

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

SPI communication at 32 bits per frame

1,093件の閲覧回数
oindrila14
Contributor I

I am working with EVK mimxrt 1020 board. I am trying to achieve SPI communication with eDMA at at rate of 32 bits per frame. But it looks like the eDMA library for master transmit in the SDK examples is made for communication at 8bits per frame. Has anybody tried this and knows how this can be made possible?

0 件の賞賛
返信
1 返信

1,089件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi oindrila14,

   Yes, you are right, the RT1020 LPSPI DMA project is configured as 8bits per frame, but it doesn't mean you can't use the 32bits per frame, as you know, the LPSPI register also can support 32 bit per frame, you can configure the LPSPI modules as 32 bit perframe.

  In the default LPSPI_MasterGetDefaultConfig, you can find the LPSPI is configuring the bitperframe =8, you can change it. and you also can check other DMA related area, change the 8 bits to 32 bits.

   You can try it.

  If you still have issues, just kindly let me know.

Best Regards,

kerry

0 件の賞賛
返信