Hi all, the system is running and found to be lagging, through troubleshooting we found that there is an interrupt count abnormality, this peripheral is rs485. it was over 300 million times in the previous night.
67: 334823120 GPC 30 Level 21f4000.serial
The next day became more.
We only have one process using the serial port to send and receive data, normal business would not send data so frequently
The abnormal waveform is as follows
normal waveform
When unplugging the communication line between the rs485 and the peripheral, the interrupt count increase became normal, and subsequent re-conducting of our device's business increased the interrupt count by tens of thousands of times per second. This was eventually recovered by restarting the process using uart. We have three devices running at the same time, and this is the only one that does this, and it comes out of nowhere. The data for normal operation is shown below
We'd like to know why this is happening, please!
Hi @JosephAtNXP ,
Thanks so much for your support on this issue. I wanted to provide an update: the device resumed normal operation simply after we restarted the process that uses UART4. We've been monitoring it since then, and the issue hasn't recurred.
For context, there are two slave devices on this RS485 bus. At the time, we checked the logs from the slave devices but didn't find any obvious anomalies. We had actually adjusted the process's log level to capture the original packets during the abnormal state, but after restarting the UART4 process as part of that process, the issue was resolved, and unfortunately we weren't able to capture the problematic packets.
Hi @xisuisan222 ,
This isolated behavior seems like a physical issue, the line must have an agent like the cable, the other end, a hardware fault.
Do you see any difference after power cycling all the elements?
Regards