2023-05-23 01:22 AM
2023-05-23 04:16 AM - edited 2023-11-20 04:50 AM
2023-05-23 04:46 AM
Hello @Community member
On STM32U5, FDCAN can run with 160MHz clock.
Regards
DianeP
2023-05-23 04:48 AM
Can you give us more explanation about your need? and your screenchots ?
Regards
DianeP
2023-05-24 12:06 AM
So, why last working BR=2500KB/s?
2023-05-24 12:30 AM
Have you enabled transceiver delay compensation?
2023-05-24 12:31 AM
What do you exactly mean?
You have set nominal bitrate to 2.5M and it is "working"?
Working with what on the other side? Or just some output on the scope?
2023-05-24 08:44 AM
Yes, I have 2 boards (MASTER-SLAVE) and they work perfectly on BR=2.5M
2023-05-24 08:51 AM
*THIS*
We covered this a few months ago, don't recall if it was for the U5, probably H7, but definitely found and provided 8 Mbit FDCAN initialization example.
Sort of s**t the code generator or boiler plate code should have mastery of...
2023-05-25 01:00 AM
TDC was definitely a problem I had on a H7 at 8Mbit, and I had a long thread about it.
I'm actually using direct register settings, and I even enabled TDC. But what I oversaw was that I also had to set a delay value in TDCR...
@MK.1ashin HAL_FDCAN_ConfigTxDelayCompensation() handles all of that.