2025-09-03 11:39 AM
Hello,
I am working with the FDCAN peripheral on the STM32N6 Nucleo Board. While logging all received and transmitted messages, I noticed that some messages are received twice.
Is there a specific reason for this behavior? Should I introduce a delay before reading the RxFIFO again?
Thank you in advance for your support.
Best regards,
Guillermina
Solved! Go to Solution.
2025-09-04 11:00 AM
Hello @mƎALLEm, I changed the APB clocks frequency to match the SYS clk, and the issue dissapeared.
2025-09-03 12:46 PM
Hello,
Are you sure the message are not physically duplicated on the bus? did you check that with a CAN analyzer or an oscilloscope?
2025-09-04 7:40 AM
Hi @mƎALLEm ! Thank you for your quick response.
I checked and the message is sent twice indeed.
The slave is a STM32H563VIT6. In the code the message is only sent once.
I also checked the article :
But the quanta clock is below the APB clock in both master and slave.
Any ideas of what can be happening?
Thank you!
2025-09-04 11:00 AM
Hello @mƎALLEm, I changed the APB clocks frequency to match the SYS clk, and the issue dissapeared.