Other Parts Discussed in Thread: TCAN4550
I am using the TCAN4550-Q1. I need to get an error count when the chip is connected to a bus but is transferring data at a data rate different than the rate the chip is configured for. For my tests, when I have configured the interface for 250kbps standard mode, monitor mode, and I listen to a bus with a transmitter and a receiver, I receive data normally. When I change the chip configuration to 500kbps (but the bus is still running at 250kbps) I do not received packets, but the ECR register reads all 0's I was expecting the error counts ECR.REC and ECR.CEL to be incremented. Do these only recognize errors in FD mode?
Also, the docs say reading CEL clears that count, but they do not say how to clear REC and TEC.
No bits are set in register 0x824. I would expect the wrong data rate to set some error flag.
How do I count errors in standard mode? Specifically, I need to detect that the data rate is configured incorrectly.
Edwin