This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS570LC4357: MIBSPI Communication over dma

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi team,

i am trying to use the mibspi communiation over dma. 

I have followed the same procedure as provided in the example code but not able to see the data in the mibspi transmission buffer.

Please help me in this.

regards,

shivam kakad

  • Hi Shivam,

    Have you made any changes to the example?

    Also, could you please confirm that you followed the steps to configure the HALCoGen project as described in the example? (In HALCoGen, Help > Help Topics > Examples > example_mibspiDma.c). Specifically, that you have enabled and configured MPU Region 15 and modified the linker command file as shown in the example.

    One experiment to try:

    Perform "Run to Line" to mibspiInit() and inspect TXDATA and RXDATA buffers and tell me what you see. You can do this by adding these buffers as Watch Expressions as shown below:

    You should see TXDATA initialized with the sample values and RXDATA filled with zeros. If you don't see this then I suspect the sharedRAM region was not configured correctly. Now, hit "Run" and halt the application, you should now see RXDATA filled with the values from TXDATA.

    If you are seeing any discrepancies please let me know.