Skip to content

Variant for STM32H503CBT6, DAC not working, Help Needed. #2268

Closed Answered by r-pv
r-pv asked this question in Variants
Discussion options

You must be logged in to vote

Thanks, I think this line was released on September, so it's pretty new.

I think the problem is related to the ADC/DAC clock settings, first time I tried on CubeIDE also got it froze due to ADC/DAC clock settings. After set this right the cube IDE generates the SystemClock_Config and PeriphCommonClock_Config functions, I saw on a build-in variant that this can be combined on just the SystemClock_Config function on the generic_clock.c file, but don't know if its the right way to do it or if the ADC/DAC clock settings are being ignored/rewritten by the core.

This is my clock config on the variant:

WEAK void SystemClock_Config(void)
{
  RCC_OscInitTypeDef RCC_OscInitStruct = {};
  RCC_ClkIni…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@r-pv
Comment options

@fpistm
Comment options

@r-pv
Comment options

Answer selected by fpistm
@fpistm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants