hello all,
I am having a problem with the Bus Off testing procedure.
I have set the CANalyzer in listen mode. It is not tranmitting anything. My ECU is transmitting only one frame. The communication is normal. When I short the CANH and CANL pin with a wire, the CAN goes in Bus Off and when I remove it, it recovers properly. So the everthing is proper. Now my observations are:
When I short the CANH to CANL for a longer duration, say 1 sec. I am not observing any CAN error frame on the CANalyzer. The ECU goes into Bus Off and communication stops for that duration and as soon as I start again, I get the correct frame on CANalyzer. Is this the expected behavior or I am doing something wrong?? If it is expected behavior, please tell me why there are no error frames.
Does it mean, when bus is shorted there will not be any kind of frames on the Bus?? Not even error frames ???
As per my understanding of CAN, Before the error counter reaches to
256, for every error I shuold receive one error frame on the bus and counter should increment by 8. So when first time the ECU goes into bus off, I should atleast get 256 / 8 = 32 error frames on the CANalyzer. but thats not happening.Please help me out.