TIDUF67 April 2024 – December 2024
To migrate the reference code to a new TI motor driver kit or to a custom board, the user needs to configure the hardware parameters and the motor control parameters in the user_mtr1.h file according to the motor driver circuit, and configure the relevant peripherals in the AM263_xxx.syscfg, hal.h and hal.c files as described in the following sections.
The following block diagram summarizes the function calls that are used to configure the motor control settings and the TI MCU peripherals (Figure 4-46).
In this project, there are several HAL functions that are called only once, related to the configuration of the Hardware. All of these functions deal with the configuration of either a peripheral or of a motor driver IC.