XMC4500 DAC using DMA with 16 bits Single Transfer Width

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User7757
Level 2
Level 2
The DAVE DACWG002_DMA002 app uses a 32 bits input buffer, so the DMA Source and Destination Single Transfer Width are 32 bits. I would like to use a 16 bits input buffer. However, if I put set the Source and Destination transfer width to 16 bits, it doesn't work. I noticed that if I set the Source width to 16 bits and Destination witdh to 32 bits, it works but the frequency of the sine is doubled, because it skips a sample every 2 samples. So, is there a way to make the DMA and DAC work in 16 bits?

Thanks,
Cedric
0 Likes
1 Reply
User7757
Level 2
Level 2
Is this a bug, a bad manipulation, or the normal behaviour?
0 Likes