View previous topic :: View next topic |
Author |
Message |
UKH
Joined: 13 Jul 2004 Posts: 3 Location: Germany
|
CAN with 18F6680 |
Posted: Mon Aug 09, 2004 9:41 am |
|
|
Hello,
I have a principle question related with CAN-Module of PIC18F6680.
I'm not sure what happen if a message is sent by the PIC and
the arbitration is lost, because of another node sends a telegram
simultaneously.
Is the message repeated by the the CAN-Hardware or not ?
(Or it must be made by software).
It would be nice if someone has an answer.
UKH |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Aug 09, 2004 12:22 pm |
|
|
Quote: | I'm not sure what happen if a message is sent by the PIC and
the arbitration is lost, because of another node sends a telegram
simultaneously.
Is the message repeated by the the CAN-Hardware or not ? |
Go to the reference manuals page on the Microchip website, at
the link below, and download the following reference manual.
SECTION 22. CAN - PIC18C Reference Manual
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1956
Then look in section 22.3, in the 2nd to last paragraph in that section.
It says:
Quote: | In this way, the bus node with the highest priority message wins
arbitration without losing time by having to repeat the message.
All other nodes automatically try to repeat their transmission once
the bus returns to the idle state. |
|
|
|
UKH
Joined: 13 Jul 2004 Posts: 3 Location: Germany
|
CAN, lost arbitration |
Posted: Tue Aug 10, 2004 3:04 am |
|
|
Thank you,
now it's clear. |
|
|
|