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.

TMS570LC4357: DMA Register configuration

Part Number: TMS570LC4357

Hi,

As per the thread DMA registers, it is mentioned "You check if the bit in SWChnEnaSet register is set, please don't enable DMA before configuring this register". Is it mandatory to disable the DMA before configuring the  SWChEnaSet register? This is causing to disable the DMA whenever the SWChEnaSet register is to be configured for multiple umber of times. Also, is this not applicable for the configuration of the HWChEnaSet Register? Please clarify.

Thank you,

Tirumala.

  • Hi Tirumala,

    Is it mandatory to disable the DMA before configuring the  SWChEnaSet register?

    No, it doesn't required to disable DMA before configuring SWChnEnaSet register. 

    Let's see the question in the thread you mentioned:

    "As per the TRM, HWCHENAS is used to configure the Hardware triggering whereas SWCHENAS register will be used for software triggering. But, it has been observed that HWCHENAS is getting configured properly but SWCHENAS register is not getting updated properly"

    If DMA is enabled, the SWCHENAS register is cleared when the transfer is cleared. This is why I suggested to check the SWCHENAS register without enabling the DMA.