After poring over code for DAC/DMA that I'm experimenting with on my Nucleo F446RE board, I discovered an epic error in the book STM32 ARM PROGRAMMING FOR EMBEDDED SYSTEMS.
On page 342 is the mapping table for DMA2 showing DAC1 and DAC2 are associated with Channel 7.
Yet the ST reference manual shows that these mapping are actually DMA1 !!!!
I only began to suspect this when I read this article.
What a mess!
(No idea if my code will work yet, but this will certainly help !)
On page 342 is the mapping table for DMA2 showing DAC1 and DAC2 are associated with Channel 7.
Yet the ST reference manual shows that these mapping are actually DMA1 !!!!
I only began to suspect this when I read this article.
What a mess!
(No idea if my code will work yet, but this will certainly help !)