cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746IGT with DAC enabled

istepne
Associate III

Hi,

I am using Stm32CubeIDE v1.3.1 with my custom STM32F746IG board and touchGFX enabled (working properly with 800x480 paralel LCD).

I have tried to play with DAC channels (Channel1-2). I can not get it work through the examples with DMA enabled or without DMA enabled. I have tested the Channel1 (PA4) pin by setting as Digital Output to see pin is OK. But when I set this pin as DAC Out mode, the pins behaviour is like floating. I suspect that someting forces the Pin state and the *.ioc file is not enough to configure the DAC. Which registers can be set to force the DAC output manually workout ?

(I created a new project for testing, just a LED blinks. Nothing changed, problem is same)

1 REPLY 1
istepne
Associate III

I solved the problem!

As TouchGFX examples uses TIM6 as TimeBase, I used too.

Now, I changed TimeBase on SYS tab from TIM6 to TIM5, that solved the problem.

I think TIM6 is related with DAC output. Now, TIM6 is not used.

I hope I could help which has same issue..