Page 1 of 1

[M031/M032] Five Motors Speed Sensing

Posted: 11 Jan 2022, 09:56
by chhsieh3
  • Application: This sample code shows how to read operation speed of five motors via four timer captures and one PWM capture.
  • BSP Version: M031 BSP CMSIS V3.03.000
  • Hardware: NuMaker-M032KI Ver1.0
This sample code shows how to read and calculate the speed of five motors via four timer captures and one PWM captures, and print out the calculation result.

Users can connect the fan, PFM1412DEB7V, to the NuMaker-M032KI board. The motor of PFM1412DEB7V will generate two cycles of square wave in every turn.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0107164017