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.

How to connect different PIC micros using CAN?

Status
Not open for further replies.

Kryptonite

Advanced Member level 4
Joined
Feb 7, 2006
Messages
105
Helped
9
Reputation
18
Reaction score
2
Trophy points
1,298
Location
AUH, UAE
Activity points
2,047
Hey,

I am new to CAN (Controller Area Network)...

I want to connect different PIC microcontrollers togather...

Can you suggest some ideas and reading materials (resources), and links to get started with it?????


I appreciate your help & thanks...


(I usually click the "Helped Me" button if you do help me)
 


    Kryptonite

    Points: 2
    Helpful Answer Positive Rating
pic18/picanalyser

You need a tranceiver chip to convert the canRx and canTx signals from the Pic to the differential can bus lines, can high and can low. A common choice is the Philips TJA1050, or Microchip do a tranceiver which is pin compatable, cant remember the part number off hand but you will find it on the Microchip web site. Can bus is terminated by 120R loads each end. You need at least two nodes to talk to each other or you wont see any signals on the can bus. Look for AN754 on Microchip for some information on the baud rate and timing. Also check out Microchip forums can thread, a lot of info there.
Can is a broadcast protocol, all nodes receive every message, the can hardware takes care of arbitration and error checking. So it's quite easy to use at the transport layer. Each message has a Can ID, a can type and up to 8 bytes of data. The node decides from the ID whether to act on the message. which can be masked and filtered by the hardware.
Of course, on top of this can be built some pretty hairy high level protocols.
 

    Kryptonite

    Points: 2
    Helpful Answer Positive Rating
canbus analyser schematic

hello
u have to read the can specs by bosch find them easily on the internet too
its really easy and if u need any help dont hesitate to contact me
 

microchip can bus analyzer

btbass said:
or Microchip do a tranceiver which is pin compatable, cant remember the part number off hand but you will find it on the Microchip web site.

I think you mean MCP2551 from Microchip
 

canbus analyzer schematics

>>This should be of interest
>>CAN bus analyser with PIC18F458
>>h**p://perso.orange.fr/softelec/Projects/PIC18/PICANalyser/Projects_PIC18_PICANalyser_us.htm

What is the quarz frequence in PICCANAnalyser?
 

pic18f452+rs485 in diffrent node+pdf

En_Serg said:
>>This should be of interest
>>CAN bus analyser with PIC18F458
>>h**p://perso.orange.fr/softelec/Projects/PIC18/PICANalyser/Projects_PIC18_PICANalyser_us.htm

What is the quarz frequence in PICCANAnalyser?

Typical values used in Automotive industry are 8Mhz, 16Mhz (or any multiple of 8Mhz). This is due to the standard in automotive industry is to use 8 clock cycles per bit, so choosing a multiple of 8Mhz gives exactly any required baud rate without any fractions.
 

+can +bus +microchip +help

yasser_shoukry said:
btbass said:
or Microchip do a tranceiver which is pin compatable, cant remember the part number off hand but you will find it on the Microchip web site.

I think you mean MCP2551 from Microchip

NO... I want to connect & synchronize two or three PIC16F877A IC's to work togather... I need to operate Three Timer1 modules in my project, so i gotta connect 3 PIC's.... May in Master/Slave configuaration....


Got any suggestions ?????
 

pic18f simple node can bus

CAN bus analyser with PIC18F458

from another forum they say 10 Mhz x 4pll = 40 Mhz

Looking picture,I´d like to try.
Looks easy,but anyone have schematic or description circuit, eg. port to led´s?

thanks!

Added after 10 minutes:

CAN bus analyser with PIC18F458

from another forum they say 10 Mhz x 4pll = 40 Mhz

Looking picture,I´d like to try.
Looks easy,but anyone have schematic or description circuit, eg. port to led´s?

thanks!
 

microchip canbus schematic

I want to connect different PIC microcontrollers togather
Is it inside or outside the same board?

Added after 4 minutes:

NO... I want to connect & synchronize two or three PIC16F877A IC's to work togather... I need to operate Three Timer1 modules in my project, so i gotta connect 3 PIC's.... May in Master/Slave configuaration....


Got any suggestions ?????
I think you can use a SPI or I2C or UART to synch those three PIC on the same board, CAN normally used between boards.
 

canbus 10mhz

CAN uses a balanced line voltage system that has good noise immunity through a single pair of wires over a long distance. RS485 uses the same electrical principal.
 

can bus analyzer microchip

if you need a monitor CAN you can use a canking microchip version, but you will to make ahttp://perso.orange.fr/softelec/Projects/PIC18/PICANalyser/Projects_PIC18_PICANalyser_us.htm hardware to conect the pc throut parallelal port check up
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top