Other Parts Discussed in Thread: TMS320F28377D
Hi All,
I am working with CAN network on TMS320F28377D. In my network, I have considered 28377D as a CAN host (Master Control) and another two 28069 as a CAN device(Slave Control 1 and 2).
In fault case (for my inverter application), Slave control 1 and 2 both put data simultaneously on CAN bus. Master Control discard that data due to collision detected in frame. Now what happen again both Slave put data on bus due to continuous re-transmission enable then again master will discard data then again same process repeat.
After some time Epass and Ewarn set to '1' and RX Error counter is full and Master Control bus remains into off stat permanently until I remove one node(any of Slave Control) from bus after it will active again.
So what to do in this situation? How can I reset Epass, Ewarn and Error Counter? I tried to reset bus by init bit but nothing is happening.
Test Case:
-
CAN is configured as per example in control suite by calling InitDCana();
- CAN configured at 125kHz and ABO is ON
- In my application fault is coming same time in both Slave node. So, Slave Control node send PDO @ same time
Regards,
Maulik