15.08.2013 Views

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Whenever a new CAN node is added to the network and powered up, it should wait for<br />

a random amount of time and transmit a message with an address assignment pending status<br />

(Reserved bits = 01). The CAN Controller should start claiming addresses from zero and the<br />

message transmitted should have the highest priority CAN message ID which is stored in the<br />

Highest Priority ID register.<br />

The Address Claim Unit should monitor the CAN bus for the successful transmission<br />

of an address claim message. If there is a bus error which prevents this message from being<br />

successfully transmitted then the node should wait for a random amount of time before<br />

attempting retransmission (i.e., automatic retransmission disabled). After a successful<br />

transmission of an address claim message, the CAN node should monitor the bus for the<br />

response from other CAN nodes possibly having the same source address. If the CAN node<br />

does not receive a response within a specified amount of time, it can assume that it has<br />

successfully claimed the address. If it receives a message from another CAN node with the<br />

same source address, then the address status bits are checked. If the status bits indicate an<br />

address claim override and the newly received CAN ID has an equal or higher priority than the<br />

new CAN node, then the new node will try to claim the next available valid address. If the<br />

override/normal Tx message comes from a lower priority CAN ID, then the address claim<br />

message is retransmitted with override information so the other CAN node will release its<br />

address. The CAN node should continuously monitor the data bus to check for address claim<br />

messages and if any CAN node has the same address as its own, take appropriate action.<br />

The above procedure will result in a sequential address assignment to networked CAN<br />

nodes. For example, if there are 25 CAN nodes at the start of the first address claim<br />

91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!