Question about STM32CubeMX

Thread Starter

ApacheKid

Joined Jan 12, 2015
1,762
Hi,

I'm just informally playing with STM32CubeMX for the very first time and it seems pretty neat in that for a novice (if I'm even that) I can get code setup quickly.

I have a question though, I selected my board STM32F446RE and then explicitly chose to use DAC and DMA.

But it seems to want to also use USART2 and I have no idea why, what I was aiming to do was look at the generated code and use it to augment my already working test app that simply pumps a 4K array of pre-calculated Sine value to the DAC.

Test test app has been cobbled together from bits and pieces and books etc and works OK.

So is there something fundamental here? must a USART be used in some way when doing DMA with a DAC?

Thanks
 
Top