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


measure speed motor using Timer1 on stm32f030

Capture compare is likley best simplest option
the max freq you can measure is close to half the timer clk feq/ prescaler but then accuray is bad.
basiclay you have to set timer clk high enought to get precsion but not to much to cope with smallest fequencies you can measure

i sugest you read http://www.st.com/content/ccc/resource/technical/document/application_note/54/0f/67/eb/47/34/45/40/DM00042534.pdf/files/DM00042534.pdf/jcr:content/translations/en.DM00042534.pdfQuestion
have a look at CubeF0 (or F4) example for code sample or just google ;)

note that the timers are not arm they are st periferals , triger most ofen refer to “enable timer counter”