Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


STM32F0 Changing frequency with Potentiometer(ADC)

Hi,
I am a beginner in ST platform and is planning to create a project where I need to change the PWM output frequency by varying the pot(ADC).
I have found the __HAL_TIM_SET_COMPARE function which can change the duty cycle corresponding to the ADC value.
How can I change the frequency/period with respect to the ADC value, Is there any HAL functions for that?
I am now using the nucleo F091 board and generating PWM with TIM 16.