Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

TMS320F28388D: Sysconfig Doesnt allow setting trigger source for SPI TX DMA Channel

Part Number: TMS320F28388D
Other Parts Discussed in Thread: SYSCONFIG

I enabled DMA for SPI transmit under the SPI tab in sysconfig, which automatically added a DMA channel. Unfortunately I can't change the trigger source of the TX DMA channel, apparently it is "locked". It is the same problem described here 3 years ago. It would be great if these bugs are fixed! https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1200554/tms320f28386d-spi-dma-using-sysconfig-does-not-allow-changing-the-trigger-source image.png

  • Hi ,

    Before redirecting this thread to an expert ,  Can you please let us know what you are trying to do?

    If you add a dma from the add option , you can set the trigger sources there based on adc , epwm etc.

    Regards

    Kunal

  • Good morning Kunal,

    Happy to tell you what I am trying to do. I am trying to use DMA to send data to the SPI TX FIFO. When i check this box in the SPI tab, a tab for DMA is automatically added by sysconfig, however I am not able to change the trigger input of that DMA. Please refer this bug to the sysconfig team.In the meantime i have simply unchecked this box and programmed the DMA manually to use the SPI FIFO register as the destination. This works but is not the cleanest way of doing things, as the engineer in the thread I linked also describes. If there is something I am misunderstanding here please let me know.

    -Ilan

    EDIT: for some reason the screenshow i pasted isn't showing, the box in the SPI tab i am referring to is the "Use DMA for transmit" checkbox. Sorry!

  • Thanks Ilan , 

    checking with the respective team regarding this , for reason keeping it this way.

  • Hi Ilan,

    It was implemented this way to ensure users link the peripherals correctly. The use case you mentioned is valid as well, and we typically recommend doing what was mentioned in the previous E2E.

    At the same time, I will look into this further to see if we can update this feature.

    Best Regards,

    Aishwarya