HOW TO SET THE BXCAN R1 AND R0 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-02 9:32 AM
Hello,
I run the CAN loopback example project by NUCLEO-F446ZE. And find a problem, may I to set the r1 and r0 ? I read the RM0390, no message about it. Could you please let me know How to set the r1 & r0 bits?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-02 5:38 PM
I don't think you can set those bits, it looks like they are reserved by the hardware here.
Why do you need to set those ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-02 11:54 PM
When I run the Extented Remote Frame and DLC is 0, I hope to set r1 & r0 to needn't [1] bit stuff. If I set r0 'recessive' , and DLC is 0 , there isn't
[1] bit stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 12:06 AM
Why do you want to play there ?,
R0,R1, are 'Firmware bits that are used to drive the canbus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 4:41 AM
I find a solution to this issue. Don't care the r1 or r0 value.
When I run the Extented Remote Frame, I set the DLC is [1111], and there isn't [1] bit stuff on the bit stream waveform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 5:41 AM
Without the line drivers, I found the CanRxpin needed a pullup, or the hardware would hang on startup.
Can you receive a frame ?
Do you have a know good transmitter on a bus ?
Best to use a dongle to transmit a known good frame first, then you work on your receiver first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-06 12:03 AM
THANKS
