18. Hall

18.1. Overiew

Hall project demonstrates the output of Hall timer data using the serial port after triggering the hall interrupt

  • Configuring the Hall Interrupts

  • Read the Hall U\V\W\TIMER register

18.2. Configurations

18.3. Running the Demo

  • Power on, open the serial terminal, turning the motor bearing will trigger a Hall interrupt and print the following information. The data changes with the speed and direction of rotation, please refer to the user manual for the exact meaning of the data.

> u: 0xe0000000
> v: 0x87b6d17c
> w: 0x46999a8
> timer: 0xe149af9