S32K324 DMA with SPI example

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

S32K324 DMA with SPI example

1,592件の閲覧回数
DY_Liu
Contributor II

Hi team.

    I need some example programs.

    1) SPI Master + DMA + 8bit width

    2) SPI Slave + DMA + 8bit width

    * I failed to configure DMA,using basic register failed too configure, And wasted a week...

    Thanks

0 件の賞賛
返信
1 返信

1,574件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @DY_Liu 

Unfortunately, there are no SPI examples available. But included with the RTDs come low-level and high-level examples for S32K344 and S32K358 devices, which might be a good reference. 

Also, the RTD provides a user manual that describes how to use the SPI driver with DMA functionality, how to configure DMA fast transfer for a Sequence, and How to configure DMA repeated transfer in LPSPI configuration (feature to reduce the time interval between two transfers). This can be found at for example C:\nxp\SW32K3_S32M27x_RTD_R21-11_4.0.0\eclipse\plugins\Spi_TS_T40D34M40I0R0\doc orC:\nxp\S32DS.3.5\S32DS\software\PlatformSDK_S32K1_S32M24\RTD\Spi_TS_T40D2M20I0R0\doc.

 

B.R.

VaneB

0 件の賞賛
返信