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: How does the DMA Reset-Bit actually work?

Part Number: TMS570LC4357


Hi experts,

After testing the DMA Functionaliy on Start-up, we disable and reset DMA.

Since the Safety Manual suggest reading back registers, we readback the DMA GCTRL-Register on every write. When writing the DMARES bit in GCTRL we do not get the expected value of 1 for that bit.
Considering the description of the Bit I would have expected to read DMARES = 1 when triggering the reset. When reading back we get DMARES = 0.

(Q1) Is DMARES an "Auto-Trigger" bit which just resets the DMA and immediatly goes back to 0?

Thank you and best regards,
Max

  • Hi Max,

    (Q1) Is DMARES an "Auto-Trigger" bit which just resets the DMA and immediatly goes back to 0?

    Yes you are right, 

    After we are writing 1 to the DMARES to reset the DMA, it will return back same 1 till reset process going on. Once the DMA reset completed it will return back to the 0.

    --

    Thanks,

    Jagadish.