cancel
Showing results for 
Search instead for 
Did you mean: 

CAN J1939 bit rate

Nicolas Cmb
Associate III
Posted on June 01, 2017 at 11:40

Hi St Community,

I’m working on CAN J1939 protocol, with two STM32 F103RB - Nucleo64 and two transceivers (MCP2551). I’m looking for decrease the data rate to 250 Kbits/s but I have no idea of how to do that. Should I use timer for that and how?

Thanks for your attention,

Regards,

Nicolas
1 REPLY 1
Posted on June 01, 2017 at 14:58

The bit rate is determined by the APB bus clock, the CAN prescaler, and the sum of the bit timings.

ie CAN bit rate = (APBClock / Prescaler) / (x + y + z)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..