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.

RTOS/TM4C1292NCPDT: Can SPI2 used for DMA operation?

Part Number: TM4C1292NCPDT


Tool/software: TI-RTOS

Hi,

I want to do DMA operation using SPI2. In the udma.h file, SPI2 and SPI3 are not defined  whereas SPI0 and SPI1 are defined. Can't I use SPI2 or SPI3 for DMA operation? If I can use what all things I have to do to make SPI2 ready for DMA operation?

Thanks & Regards

Sandra

  • It is expected that your MCU Manual would detail such limitation - you've made no mention of, reviewing that. Study of the µDMA and SPI chapters should note such limitation - and (likely) set-up/config. guidelines...
  • Neither firm nor I use "4C129" - yet the lesser/earlier "4C123" - via its "udma.h" file - reveals, "just as you report."   (Note that the definitions for SPI2 & SPI3 "DO" appear - in different form - further down w/in udma.h.)     Such may - or may not - suggest their "availability" to fulfill your desire.

    Would your use of those 2 SPI channels which DO appear - provide a faster/simpler solution for you?    We must guess that you've employed SPI0/1 for (other use) - yet if they are the ONLY two which support µDMA - "Then should they not have been devoted to that purpose?"      

    Planning IS important - and its early & detailed use - often "prevents" such issues...