Other Parts Discussed in Thread: MOTORWARE, LAUNCHXL-F28069M, DRV8301, DRV832X, INSTASPINUNIVERSALGUI, ,
Tool/software: Code Composer Studio
Hello Recently I purchased a LAUNCHXL-F28069M board and drivers for BLDC motors type DRV8301 and BOOSTXL-DRV8323RX. I tried to identify an engine using motorware_1_01_00_18 and instaspinuniversalgui_v105. For DRV8301 I used the motorware projects without any problems. For DRV8323RX I downloaded the DRV832x Firmware file (InstaSpin) - SLVC705 and proceeded according to InstaSPIN ™ Quick Start Guide SLVUBD3A – March 2018 – Revised March 2018:
Download the software package for the DRV8323RS device. Extract the compressed files to find three file directories . Copy and overwrite the files to the corresponding directories in MotorWare: 1. Copy drvic to \sw\drivers\drvic 2. Copy hal to \sw\modules\hal 3. Copy instaspin_foc to \sw\solutions\instaspin_foc. The projects were then imported into CCS6.2 from: C: \ ti \ motorware \ motorware_1_01_00_18 \ sw \ solutions \ instaspin_foc \ boards \ boostxldrv8323_revA \ f28x \ f2806xF \ projects \ ccs Build command works without errors except for errors except for the most useful project proj_lab02b with the following error:
"C:/ti/motorware/motorware_1_01_00_18/sw/solutions/instaspin_foc/src/proj_lab02b.c", line 283: error #20: identifier "angle_gen" is undefined
1 error detected in the compilation of "C:/ti/motorware/motorware_1_01_00_18/sw/solutions/instaspin_foc/src/proj_lab02b.c".
gmake: *** [proj_lab02b.obj] Error 1
gmake: Target 'all' not remade because of errors.
Where line 283 is:
datalog.iptr [0] = & angle_gen.Angle_pu; // datalogBuff [0]
I tried compiling the project for F2802x as well and it is OK. How can the problem for F2806x be solved?