SLUUDM5 March 2026 MSPM0G1507 , MSPM0G1519 , MSPM0G3507 , MSPM0G3519
The preset custom source files for Gate Driver Communication are in the following SDK path:
...\ti\mspm0_sdk_<SDK_Version>\source\ti\motor_control_pmsm_foc\common_modules\hal\LP_MSPM0Gx5xx\gateDriverInterface\gateDriverLibFigure 8-4 shows the CUSTOM Gate Driver Library folder. The library deletes default codes for SPI communications for gate drivers in FOC application, so that users can add their own gate driver communication codes (Section 8.2.4) in their customized files.
Add the CUSTOM folder (copy and paste) into the example FOC project as shown in Figure 8-5. The default Gate Driver folder (TIDA010250) can be deleted (optional).
Add the CUSTOM folder path int the Include Options in Project Properties below: