In this video we implement Simulink models for reading the hall sensors directly via GPIO or based on Hall transitions interrupts via eTimer Capture.
We discuss about:
- How to build simple hall reading application using the available MBD Toolbox GPIO blocks
- How to enhance this simple model by adding interrupt service routines capabilities to read the hall sensors only when there is a transitions
- How to count the number of hall transitions
- How to validate the applications with FreeMASTER
NOTE: Chinese viewers can watch the video on YOUKU using this link