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.

TMS320F280039C: Set DMA source/destination address to dedicated registers in Sysconfig

Part Number: TMS320F280039C
Other Parts Discussed in Thread: SYSCONFIG

Dear Champs,

I am asking this for our customer.

The user wonders how to use "Linked to peripheral" below in DMA in Sysconfig?

For example, if the user wants to use destination address on the register SCITD of LIN module, is it possible to write &SCITD or something similar by using register name directly?

The user is aware of using absolute memory addressing 0x6B38 for SCITD, but it's not user-friendly.

We wonder if there is a more readable way by Sysconfig? 

  • Hi Wayne,

    I will gather more information on this and shall get back to you shortly.

    Thanks

    Aswin

  • Hi Wayne,

    I'm sorry for the delay on this. The "Linked to Peripheral" option should not be chosen in this case, this option is meant to be used (more so internally) for if another peripheral is adding the embedded DMA support. For example, it is the option used if adding the DMA support option embedded in the SPI Sysconfig module.

    They can instead use either of the other two options to set the start address to the SCITD address.

    To use the "Manual" option they can input 0x6B38 directly as the source address.

    To use "Variable/Function Name" they can define a pointer somewhere in their C code (ex. const void *scitdAddr = (const void *)(myLIN0_BASE + LIN_O_SCITD);) then use the pointer name as the source address (scitdAddr).

    Let me know if they have any other questions.

    Best Regards,

    Delaney