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.

microcontroler with CAN /LIN or both??

Status
Not open for further replies.

themaccabee

Full Member level 4
Joined
Apr 1, 2007
Messages
201
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Activity points
3,003
Hi,
I'm a totally newbie in CAN or LIN protocol..
i need to implement a CAN bus of 250kBaud rate & three LIN bus with 2 having 19200 baud and one with 9600baud.

Is there any micro controller coming with integrated CAN/LIN interfaces? IF so some example names will be greatly helpful..
Thanks for any help
 

For a LIN slave node, look at Freescale MC9S08SL8 family.
They have an on-board SLIC module which implements LIN in hardware.

SLIC (Slave LIN Interface Controller)

SLIC — Supports LIN 2.0 and SAE J2602 protocols;
up to 120 kbps, full LIN message buffering,
automatic bit rate and frame synchronization,
checksum generation and verification,

The SLIC includes these distinctive features:
• Full LIN message buffering of identifier and 8 data bytes
• Automatic bit rate and LIN message frame synchronization:
— No prior programming of bit rate required, 1–20 kbps LIN bus speed operation
— All LIN messages will be received (no message loss due to synchronization process)
— Input clock tolerance as high as ±50%, allowing internal oscillator to remain untrimmed
— Incoming break symbols always allowed to be 10 or more bit times without message loss
— Supports automatic software trimming of internal oscillator using LIN synchronization data
• Automatic processing and verification of LIN SYNCH BREAK and SYNCH BYTE
• Automatic checksum calculation and verification with error reporting
• Maximum of two interrupts per standard LIN message frame with no errors
• Full LIN error checking and reporting
• High-speed LIN capability up to 83.33 kbps to 120.00 kbps1
• Configurable digital receive filter
• Streamlined interrupt servicing through use of a state vector register
• Switchable UART-like byte transfer mode for processing bytes one at a time without LIN message
framing constraints
• Enhanced checksum (includes ID) generation and verification

Using the slic module simplifies the software.
You just service interrupts and the hardware slic does the rest.
If you use a Microchip MCP2021 transceiver with it, the regulated 5V out from the transceiver can power the micro.

For a CAN micro, look at Microchip dsPic30, dsPic33 or their 32 bit series.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top