Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

External crystal for CAN protocol

Techman_7

Full Member level 2
Full Member level 2
Joined
Dec 21, 2013
Messages
138
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,298
Activity points
2,420
Why does external crystal needed / recommended for CAN communication ?
Can we use micrcocontroller internal oscillator for LIN communication instead of external crystal components?
 
Solution
Hello,

I am elaborating my question, for an embedded system with CAN interface I am using CAN transceiver.
Now, is it recommended to use external crystal for such system or internal oscillator (with the MCU) is sufficient?

CAN speed = 500 Kbps.

If we increase CAN data rate upto 5 Mbps (with CAN FD), then still internal oscillator is sufficient?
Hi,

The CAN bus nor the protocol does need a crystal.
It´s the CAN controller IC that needs it. --> Read the CAN controller IC datasheet about function and specifications.

Klaus
 
Hello,

I am asking for transcivers only not for protocol.
Question is for microcontroller CAN communication with & without crystal.
 
Hi,

I am asking for transcivers only not for protocol.
Protocol: Your headline says "External crystal for CAN protocol"
Transceiver only: a pure CAN transceiver (PHY) does not need an XTAL either.

--> give a link to a datasheet and tell which chapter/page you refer to. Otherwise a further discussion of unelaborated questions makes no sense.

Klaus
 
Hello,

I am elaborating my question, for an embedded system with CAN interface I am using CAN transceiver.
Now, is it recommended to use external crystal for such system or internal oscillator (with the MCU) is sufficient?

CAN speed = 500 Kbps.

If we increase CAN data rate upto 5 Mbps (with CAN FD), then still internal oscillator is sufficient?
 
Solution
Thanks.

But, for LIN bitrate is less as compared to CAN.
LIN bitrate is around 20 kbps whereas for CAN its 500 Kbps or more.

So, still LIN required external crystal??
 
The Xtal can be scaled by counters and/or PLL to change the bit rate but the frequency tolerance error is defined for both must be met.
Slaves might be able to meet 16x or higher UART oversample tolerance error but not combined master and slave.

 
Last edited:
So, still LIN required external crystal??
Usually not. Refer to LIN spec. for detail requirements.

Screenshot_20231213_072536_Dropbox.jpg


0.5% tolerance of master node needs a crystal clock, 14 % slave tolerance can be always achieved with internal oscillator, 1.5 % to 2 %, if required, can be critical over automotive temperature range.

CAN clock tolerance limits depends on several parameters, review respective application notes, usually internal oscillator isn't sufficient.
 
If for LIN with speed of 20 kbps, internal oscillator is used then can the bit rate be derived from it ?? Or external crystal is must ?
I conclude you decided not to bother with LIN synchronization feature? Happy developing!
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top