MSPM0G1507HallSensoredTrapMotorControlLibrary  1.0
Hall Sensored Trap Library API Reference

Hall sensored Trap Library uses an incremental system build to demonstrate a complete hall sensor based trapezoidal control solution across a wide range of speeds. The library follows an architecture which allows configuring settings from TI SysConfig, which makes managing the hardware settings quite easy for the user.

The Hall Sensored Trap consists of three modules:

1. HAL Module

HAL Module is an abstraction layer that provides APIs to configure different pins and peripherals. The goal of using HAL is to abstract all device specific configuration which simplifies porting of the library to various hardware by minimizing the updates needed to other components.

2. Hall Sensored Trap Module

The Hall Sensored Trap library contains the generic algorithms for trapezoidel control. This module helps to reduce the code size when using multiple motor driver modules as all the different motor drivers can use the same generic algorithms in this module.

3. Motor Driver Module

Motor Driver Module abstracts all the motor driving tasks into simple APIs like start motor, stop motor etc. The idea of this module is to be independent of the hardware and use the HAL APIs to perform the hardware tasks.

© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale