Other Parts Discussed in Thread: MOTORWARE
Hello,
I'm having trouble configuring my custom board with the Motor Control SDK InstaSPIN-FOC labs. I'm using the TMS320F280041C and DRV8320S, which required a different pin mapping to what is used in the reference designs.
So far, I've successfully ran lab02 to calculate offsets, however lab03 will not run the motor in V/Hz mode. It completes the offset calculation, where the motor emits a high pitch buzzing noise, but then does not do anything else. I cannot see any error states listed in debug mode, so I'm stuck as to what is causing the issue.
Here is my current pin mapping to the critical signals. I think nFault, EN_Gate, and the SPI signals are working correctly since I can hear the motor buzzing during calibration.
INH_A -> EPWM1_A
INL_A -> EPWM1_B
INH_B -> EPWM2_A
INL_B -> EPWM2_B
INH_C -> EPWM3_A
INL_C -> EPWM3_B
ISEN_A -> PGA1_IN
ISEN_B -> PGA2_IN
ISEN_C -> PGA3_IN
VSEN_A -> A2
VSEN_B -> B3
VSEN_C -> C3
VSEN_PVDD -> B2
Is it possible to suggest exactly what steps must be taken to setup the Hal to accommodate these new pins? I've swapped pins on old MotorWare projects relatively easily, and there was a document that guided that process. This time it seems the modifications must take place across a many more functions in the Hal library.
I would really appreciate any help on this, I've combined through all the reference material and documentation I can find but I can't seem to get past this issue!
Thanks,
Mark
