-
Hi, so I'm trying to make a arduino variant for this MCU, it seems that was working until I tried the DAC, the board freezes when I use the DAC, while on STM32Cube IDE works properly, so don't know if there's a bug on this whole line (I tried the build-in RBT variant without success either) or an specific error on my variant. I'm using ST core 2.7.1 Schematic: https://github.com/r-pv/STM32H503CBT6/blob/main/STM32H503CBT6/STM32H503CBT6.pdf So I can't see any error on my variant, can you spot any error?. On arduino I'm just using a very simple sketch:
The Led just to see if the board is OK or froze, and the led is ON constantly, so freezes when the analogwrite is called. The compiler didn't gave any error or warnings, On the variant the DAC is enabled by default but also used the hal_conf_extra.h and build_opt files just to be sure without differences. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @r-pv |
Beta Was this translation helpful? Give feedback.
Solved from your code on the thread:
#2508
fpistm@170c472
That was the issue, now the DAC works and not freezes anymore.
✌ thanks.