Part Number: TMS320F28379D
Other Parts Discussed in Thread: DRV8301, DRV8305
Tool/software: Code Composer Studio
I am working with the example MonoMtrServo_377s_v1_00_00_00 Available in Control suite, but I'm using launchpad f28379D and boostxl-DRV8305. I'm already changed configuration of pins. My question is, Must I import another library for working with these elements? Because the files inside the example folder are named f2837XS, this can cause errors? Also, I'm having trouble with conditional structs, it seems the code is not identifying the launchPad, because it isn't going into this struct.
#ifdef LaunchPad379D //Sanmesh same PPB number of different ADC modules used
AdccRegs.ADCPPB1OFFREF = motor1.offset_shntA*4096.0; // set shunt Iu1 offset
AdcbRegs.ADCPPB1OFFREF = motor1.offset_shntB*4096.0; // set shunt Iv1 offset
AdcaRegs.ADCPPB3OFFREF = motor1.offset_shntC*4096.0;
Can Someone help me ? Thanks


