Part Number: TCAN4550-Q1
Other Parts Discussed in Thread: TCAN4550
Dear Team,
We are using the TCAN4550-Q1 module with the i.MX93 processor over SPI. We would like to understand the behavior of the interrupt pin during RX communication.
In our current setup, the RX FIFO watermark is configured to 26 messages. Based on this, we expect an interrupt to be generated once 26 messages are received, after which the message reception flow should be triggered. Additionally, we have enabled a watchdog timer (WDT) for 60 ms, so that in case the FIFO does not reach 26 messages, the pending messages can still be processed through the WDT interrupt.
However, during analysis, we observed that while probing the SPI and interrupt lines, an interrupt is indeed generated for every 26 messages. But when checking the driver behaviour by adding trace logs in the m_can_isr interrupt service routine, the control does not enter the watermark interrupt condition. Instead, it consistently enters the RF0N interrupt condition.
We would like to understand how the hardware-level interrupt observed on the INT line correlates with the driver-level interrupt handling. Specifically, we are looking for clarity on the complete interrupt flow—from interrupt generation to message reception handling in the driver.
We are currently facing some confusion in this flow, and our main concern is the high CPU utilization, which is impacting other processes. We would greatly appreciate your guidance in understanding and resolving this.
Thank you.
Regards,
Ankita
