Part Number: TMS320F28379D
Hello,
is it possible to write to EALLOW protected registers using DMA? Specifically, I want to write to the Sdfm2Regs.SDDFPARM1.all register, which does not work at the moment.
Best regards,
Richard
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.
Part Number: TMS320F28379D
Hello,
is it possible to write to EALLOW protected registers using DMA? Specifically, I want to write to the Sdfm2Regs.SDDFPARM1.all register, which does not work at the moment.
Best regards,
Richard
Hi Richard,
No, DMA writes are blocked by EALLOW protections to my knowledge. The DMA cannot write EALLOW protected registers unless EALLOW is called (enabling access). This is a bug we have recently discovered on a newer device. Can you try calling EALLOW before the DMA transfer and see if it works? Note that some driverlib functions call EALLOW & EDIS inside, so if your application calls any of these functions, you will need to call EALLOW after.
Best Regards,
Delaney
Hi Delaney,
thank you for your answer!
It seems that this bug also exists for the F28379D because the DMA write works when EALLOW is active.
Best regards,
Richard