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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

COMP-SEL: Comparator Select. When this bit is set to a ‘1’, RX0 and RX1 will be<br />

compared with VDD/2 during sleep mode. Setting this bit to a ‘0’ will cause RX0 to be<br />

compared with RX1 during sleep mode.<br />

SLEEP: Sleep Mode. Setting this bit to a ‘1’ will cause the CAN Module to enter<br />

sleep mode, as long as there are no interrupts pending and there is no activity on the bus.<br />

Otherwise, the CAN Module will issue a wake-up interrupt. Setting this bit to a ‘0’<br />

will cause the CAN Module to function normally. If the SLEEP bit is cleared by the<br />

CPU, then the CAN Module will wake up, but will not issue a wake-up interrupt. If<br />

the SLEEP bit gets set during the reception or transmission of a message, the CAN<br />

Module will generate an immediate wake-up interrupt. This will have no effect on the<br />

transfer layer (i.e., no message will be lost or get corrupted). Any node that was sleeping<br />

and has been awakened by bus activity will not be able to receive any messages until its<br />

oscillator has started and it has found a valid end of frame sequence (11 recessive bits).<br />

COS: Clear Overrun Status. Setting this bit to a ‘1’ clears the read-only overrun status<br />

bit in the CSTAT (CAN Status Register) register. It may be written at the same time as<br />

the Release Receive Buffer (RRB) bit. Setting this bit to a ‘0’ causes no action to be<br />

performed.<br />

RRB: Release Receive Buffer. When set to a ‘1’, this bit releases the receive buffer<br />

attached to the CPU, allowing the buffer to be reused by the CAN Module. This may<br />

result in another message being received, which could cause another receive interrupt<br />

request (if RIE is set). This bit is cleared automatically when a message is received, i.e.<br />

148

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

Saved successfully!

Ooh no, something went wrong!