Hi Wolfgang, On 21/06/18 13:59, Wolfgang Grandegger wrote: <snip> > Looking to the code, I see a problem with reading the status register > (C_CAN_STS_REG). It should *only* be read if bit 15 of the interrupt > status register (C_CAN_INT_REG) is set/pending. According to the manual, > reading the status register will also clear the bit in C_CAN_INT_REG. > This could explain lost (bus-off) status interrupts and also the strange > messages I mentioned above. > > Wolfgang. It sounds plausible. I can try it. Have you got a good datasheet for D_Can ? Best I have is: https://www.yumpu.com/en/document/view/24499391/d-can-bosch-semiconductors-and-sensors which is terrible! Joe -- To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html