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: MSP432P401R
Hello,
is it possible to write to bit-band alias addresses with DMA? I have a setup here where I can successfully write to P5->OUT with DMA, but changing the DMA destination address to the corresponding bit-band alias address does not work (the pin on P5 is not changed). I have made sure that I use byte-access, and the bit-band documentation states that it will transform a byte-wise access to a byte-wise access on the peripheral (which is needed in this case).
Are there any examples to set GPIO pins with bit-band addresses via DMA access?
Maybe the UDMA has no access to the bit-band areas?
Thanks for your time &help,
Andreas
Andreas,
There are no examples using the DMA to write to the bitband region. I do not believe that the DMA can access the memory region which includes the bit-band aliasing. There is a statement in the datasheet which states that the DMA must only use the SRAM system space. While this statement only contrasts system to SRAM code space, based upon my limited experimentation, you should see the same bus error if you attempt to write to the bit-band space with the DMA.
Regards,
Chris
**Attention** This is a public forum