Skip to main content
craig239955_st
Associate III
Apr 17, 2007 9:54 AM UTC
Question

CAN bitrate values

Posted on April 17, 2007 at 11:54

CAN bitrate values

This topic has been closed for replies.

2 replies

craig239955_st
Associate III
May 17, 2011 7:41 AM UTC
Posted on May 17, 2011 at 09:41

Hi all,

When using the CAN_library, the APB_CLK is supposed to be 8MHz.

I use 48MHz. Is it sufficient to multiply all the Bitrate prescaler values (BRP) in the CanTimings struct by 6?

Microchip has a utility (Visual initializer)to calc the values that have to be entered into the registers to get the correct CANbitrate (In fact this utility can be used to initialize all the pheripherals on a PIC) . Does this exists for STR9 ?

Kind regards,

Luc.

craig239955_st
Associate III
May 17, 2011 7:41 AM UTC
Posted on May 17, 2011 at 09:41

Thank you ...

Luc