bug in example code STM32G0xx PWM output Example
the following line 56000000 is wrong.
#define PRESCALER_VALUE (uint32_t)((SystemCoreClock / 56000000) - 1)
it should be 5600000 Right ?
SystemCoreclock is 16MHZ. but divided by 56MHZ ?
the following line 56000000 is wrong.
#define PRESCALER_VALUE (uint32_t)((SystemCoreClock / 56000000) - 1)
it should be 5600000 Right ?
SystemCoreclock is 16MHZ. but divided by 56MHZ ?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.