2020-06-15 02:18 PM
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)
2020-07-04 09:21 AM
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..