SLAU948 October 2024 MSPM0G3507
Sensored FOC requires digital Hall Sensor data from BLDC / PMSM motor to operate the motor in Closed loop speed control and drive the motor efficiently. The three pin Hall Sensor data is to be fed through general-purpose input/output (GPIO) inputs and Events are generated based on the changes in GPIO levels. All the three GPIO pins are to be connected to the same port and a timer capture event is to be triggered based on any of the three GPIO input level changes. Table 2-7 summarizes the GPIO pin configurations with MSPM0 functionality on two HW boards DRV8316 and TIDA010251. Typically, the Hall signals need external pull up to drive the GPIO inputs.
MSPM0 Pin | MSPM0 Function |
---|---|
GPIO_IN_PA10 | GPIO Port A Input Triggers TIMG12 Capture Event |
GPIO_IN_PA11 | GPIO Port A Input Triggers TIMG12 Capture Event |
GPIO_IN_PA12 | GPIO Port A Input Triggers TIMG12 Capture Event |
MSPM0 Pin | MSPM0 Function |
---|---|
GPIO_IN_PA1 | GPIO Port A Input Triggers TIMG12 Capture Event |
GPIO_IN_PA2 | GPIO Port A Input Triggers TIMG12 Capture Event |
GPIO_IN_PA3 | GPIO Port A Input Triggers TIMG12 Capture Event |