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
更新者: