Example MPC5777C DSPI master TX/RX DMA S32DS Power 2.1

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

Example MPC5777C DSPI master TX/RX DMA S32DS Power 2.1

Example MPC5777C DSPI master TX/RX DMA S32DS Power 2.1

********************************************************************************
* Detailed Description:
*
* Application performs basic initialization, setup PLLs.
* DSPI_A is configured as master using DMA to send/receive 8 words.
*
* Two DMA descriptors are initialized:
* - TCD[32] master transmit
* - TCD[33] master receive
*
*
* EVB connection:
*
* Do external loopback to connect SOUT to SIN
*
* PM6 ... SCKA
* PM7 ... SINA
* PM8 ... SOUTA
* PM13... PCSA0
**
* ------------------------------------------------------------------------------
* Test HW: MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C
* MCU: PPC5777CMM03 3N45H
* Fsys: PLL1 = core_clk = 260MHz, PLL0 = 200MHz
* Debugger: Lauterbach Trace32
* Target: internal_FLASH
*
*********************************************************************************

标签 (1)
附件
评论

Hi, 

I have used the above code. We have an FS65XX Ic works on SPI. I need to implement dma for tx and rx with single channel each. I have configured to send 10 frames and recieve 10 output response. For tx dma I configured 1 major loop and 10 minor loops. Similarly rx 1 major loop and 10 minor loops. Once I sent all frames at the end I am able to see only one output received frame. Remaining all other output frames are 0. How to test such kind of senerios? Can we perform this or not? If any solution please help me .

Thanks,

Karthik.k

无评分
版本历史
最后更新:
‎01-30-2020 04:52 AM
更新人: