Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 231994

Forum Post: TMS320F28P550SJ: dual_axis_servo_drive_fcl_qep build step 3 compile errors

$
0
0
Part Number: TMS320F28P550SJ Other Parts Discussed in Thread: LAUNCHXL-F28P55X Tool/software: Working with the motor control SDK project example dual_axis_servo_drive_fcl_qep. Running on a custom drive but with the LAUNCHxl-F28P55x processor board. I have built and tested build steps 1 and 2 - and spun both motors open loop. Now on build step 3 I am seeing some basic compile errors that make me suspect I do not have all the correct code or libraries or versions? In dual_axis_servo_drive.c around line 1288 (building step 3) there are several lines using motorVars[1].state - this structure does not have a member called 'state'. Is this a bug in the code base or do I have libraries / SDK out of vrsion sync with the project? how can I make sure I am using all the correct components? Thanks if(motorVars[1].runMotor == MOTOR_STOP) { motorVars[1].ptrFCL->lsw = ENC_ALIGNMENT; motorVars[1].pi_id.ref = 0; motorVars[1].IdRef = 0; FCL_resetController(&motorVars[1]); motorVars[1].state |= 0x8000; lsw == ENC_ALIGNMENT) { // alignment current motorVars[1].IdRef = motorVars[1].IdRef_start; //0.1; motorVars[1].state |= 0x0001;

Viewing all articles
Browse latest Browse all 231994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>