NO PWM Whatsoever - CubeMX DOES NOT include the HAL_TIM_PWM_Start functions
Hi Everyone,
Use of STM32F103C8T6 64K flash 20K RAM (no DAC peripheral). Tried several STM32F103C8T6 chips but no sigar.
I just want to be able to configure a PWM signal solely by using CubeMX.
At the end of the day the PWM signal will be fed to a PWM/DC converter to become an analog signal fluctuating in the audible range however the carrying PWM signal frequency itself being say 48kHz.
Please no standard peripheral library solutions. ST uses the HAL library in CubeMX and I want to stick to CubeMX and the use of the HAL library, nothing else. Pitty ST started throwing different libraries for same ARM chips. It’s already enough complicated.
Prescaler: I tried different values ranging up to 65535 but to no avail, dead LED’s and no PWM signal nowhere. Different sConfigOC.Pulse (pulse width) values but even that has no effect.
The STM32 timers are everything but intuitively. It should be straightforward. CubeMX PWM configuration should give a signal whatsoever without having to manually change anything in the code but it doesn’t.
Screenshots attached.
Advices welcome.
Thx,
Ben