SPRAD24 august 2023 AM2631 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P4 , AM263P4-Q1
To import the software project for TIDM-02014 into CCS, click Project → Import CCS Projects, and browse to TractionDemo_am263x-cc-rev2_r5fss0-0_nortos_ti-arm-clang2 folder and click Select Folder. Select the project named TractionDemo_am263x-cc-rev2_r5fss0-0_nortos_ti-arm-clang2 and click Finish. The project is now be visible in the Project Explorer pane in CCS. The user's guide provides further details on Importing Projects into CCS.
The folder libraries/foc includes the typical FOC modules, including park and clarke transforms, PID functions, and estimators. These modules are independent of the specific device and board.
The folder Motor includes motor drive control files that call motor control core algorithm functions within the interrupt service routines and background tasks. The user can add their own code for system control, communication, and so forth. These modules are specific to this reference design project but are independent of the device and board.
Board-specific, motor-specific and device-specific files are in root folder and Motor folder. These files consist of device specific drivers to run the design. If you want to migrate the project to your own board or other devices, you only need to make changes to the files trinv.syscfg, Motor_param.h, and Resolver_param.h based on the pin assignments and features of your device or board.