Other Parts Discussed in Thread: TMDSCNCD2800157, TMDSADAP180TO100, DRV8301, TMS320F2800157, TMDSCNCD2800137, TMDSHVMTRINSPIN
Hi,
Hardware:
- DRV8301-69M-KIT
- TMDSCNCD2800157
- TMDSADAP180TO100
DRV8301-69M-KIT --> TMDSADAP180TO100 --> TMDSCNCD2800157
Software:
- CCS 12.7
- Motor Control SDK 4.2.1
I am trying to run the universal_motorcontrol_lab_f280015x with DRV8301 but I am always getting overCurrent fault.
I have two queries mentioned below:
1. The fault is not coming from SPI but from HAL_getMtrTripFaults function inside runMotor1Control func inside motor1_drive.c Somehow the EPWM_getTripZoneFlagStatus is not returning zero.
2. For some reason I am unable to use the SPI to talk to the DRV8301 because the pins SPI CS and CLK are used/blocked by XTAL.
We tried to turn the switch down but then the code is stuck in the while for XTAL source clock saturation.
Please advice how to successfully port DRV8301-69M-KIT with TMS320F2800157.
Thank you in advance