Other Parts Discussed in Thread: DAC128S085EVM, , BOOSTXL-DRV8323RS, LAUNCHXL-F280049C, TMDSCNCD280025C
We are working on migrating code from F28004xC to F28002xC and are experiencing a few issues. Our initial setup of the LAUNCHXL-F280025C, BOOSTXL-DRV8323RS, and DAC128S085EVM is as follows:
BoostXL-DRV8323RS Board Changes:
- Replaced R2, R3, R4, R28 with a 16.9k for an ADC full scale voltage of 14.476
- Populated a 33nF capacitor to C9, C10, C11 (There is a discrepancy in the lab docs as the setup states to use 33nF but the image say to use 47nF)
- The above 2 changes gives a voltage filter pole value of 1269.638 (Is this too high?) Our previous filter pole with F28004 Launchpad was 414.25
- Replaced shunt resistors R6, R8, R10 with 0.030ohm with a gain of 40V/V to provide a ADC full scale current of 2.75
- Connected J3-29 of LaunchXL-F280025C to J3 of BOOSTXL-DRV8323RS to enable POT
- Connect J4-4 to J4-18 for connecting DRV_SCS to SPI_STE
LAUNCHXL-F280025C Board Changes:
- Disconnect J3-30 to BOOSTXDRV8323RS
- Disconnect J5-42 to DAC128S085EVM
DAC128S085EVM Board Changes:
- Connect JA-2 to JB-2
We have made the appropriate changes in user_mtr1.h and drv8323s.h to account for the voltage/current sense hw changes, motor parameters (pulled from F28004 working code user.h), CSA gain of 40v/v.
After compiling Level 1 Incremental Build we are able to run the code and successfully set the motorVars_M1.flagRunIdentAndOnLine variable to 1 without having any faults.
Below are some of the discrepancies/issues we are seeing:
- motorVars_M1.ISRCount is stuck at 0 and not increasing
- offset_I_ad values are all different at 54,1638, 841. Not sure why this is the case as the lab document states all 3 should be close to 1/2 ADC value?
- When connecting the PWM signals to the oscilloscope we are not seeing any duty cycle and only constant voltage. Wondering if this is related to the ISR count not incrementing?
Again, we have a LAUNCHXL-F280049C where we have everything working perfectly so we have the luxury of being able to cross reference values/settings for anything HW and/or motor specific.
Any help or suggestions would be greatly appreciated!