How to set FDCAN baud rate 8 MBit/s in CubeMX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-23 1:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-23 4:16 AM - edited ‎2023-11-20 4:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-23 4:46 AM
Hello @Community member​
On STM32U5, FDCAN can run with 160MHz clock.
Regards
DianeP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-23 4:48 AM
Can you give us more explanation about your need? and your screenchots ?
Regards
DianeP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 12:06 AM
So, why last working BR=2500KB/s?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 12:30 AM
Have you enabled transceiver delay compensation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 8:44 AM
Yes, I have 2 boards (MASTER-SLAVE) and they work perfectly on BR=2.5M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 8: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...
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-25 1: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.

- « Previous
-
- 1
- 2
- Next »