Content originally posted in LPCWare by Wouter on Tue Apr 22 16:22:48 MST 2014
Hi Yilmaz,
In your first post you mention the message is not put on the bus anymore after 16 tries. You mention this does not seem right (which I agree, that's not the right behavior). In your second post, I do not see this statement any more. Is this issue still present?
Furthermore:
Quote:
I want to test it with different way, I configured the CANopen master (an IXXAAT module) and my device with different bit rates, say 125kbps and 500kbps. This time it goes to BUS OFF condition as expected but I am not sure about the reason. (TX, stuff, ACK etc.) I should have to check it. Now it is 23:50 in Turkey and tomorrow I will debug it.
That seems right, any fault other than no ack received would increase TXERR >0x80, and result eventually in BUSOFF.
Quote:
As a note: When I test it by removing the CAN bus connector, it tries to retransmit the same mesage object (eg . NMT Boot-up) 16 times then TEC does not increase any more. If I try to transmit another message after TEC = 128, it increases to 255 and goes to BUS OFF condition.
This also does not sound right to me. AFAIK an un-acknowledged message should not be able to bring TXERR >0x80, also not when sending two messages which are not being acknowledged.
To me it sounds like something fishy is going on on your board/SW...
Regards,
Wouter