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.

TMS320F280049: Does DMA compatible for SCI/LIN in SCI mode?

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Hello,

I have been using TMS320F280049M. I would like to use SCI/LIN in SCI mode as per my requirement. In this mode, as SCI doesn't have FIFO, I would like to adapt DMA for bulk data transfer. I have tried in many ways but couldn't be able to do so. Please do suggest whether is it achievable? If so, please do share the sample code so that I would be of happy. Request you to reply as early as possible. Thank you folks.

Regards,

Hanumanthu.

  • Hi Hanumanthu,

    Thanks for your question! I will connect you with other experts regarding LIN-SCI and DMA in general.

    But as you have mentioned, standard SCI does not have any directly connected DMA functionality (which would trigger on interrupts). However, standard SCI does in fact have a 16-deep FIFO on F28004x. Please refer to the SCI chapter of the Technical Reference Manual for more details on configuring the FIFO. Additionally, please see the C2000Ware example on SCI FIFO configuration for an example on how to configure/use the FIFO:

    Example location: C2000Ware_*VERSION#*\driverlib\f28004x\examples\sci\sci_ex3_interrupts_fifo.c

    Regards,

    Vince

  • Hanumanthu,

    As Vince said, DMA cannot access SCI on F280049 device. You can however use DMA to access LIN.

    Did you look into below C2000Ware example?

    <C2000Ware>\driverlib\f28004x\examples\lin\lin_ex3_sci_dma

    Regards,

    Manoj