2020-06-12 5:20 PM
2020-06-12 8:30 PM
I suggest starting to read reference manual, because it explains it pretty clearly, but you didn't even care to write your MCU part number. You cannot do 32-bit writes to 16-bit register, therefore the correct answer is the second one - two 16-bit writes.
If your MCU has it, SAI peripheral is preferred for audio protocols.
2020-06-12 11:55 PM
If this is the two-port DMA, the memory-side alignment requirement is given by the DMA itself, if the FIFO is used (i.e. not in direct mode). Read the DMA chapter in RM.
JW
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.