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.

Table 5.8 Control Registers [95 – 96].<br />

Register Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0<br />

Control (CCNTRL) 10h X SPD X OIE EIE TIE RIE RR<br />

Command (CCOM) 11h RX0 RX1 COMP-SEL SLEEP COS RRB AT TR<br />

Status (CSTAT) 12h BS ES TS RS TCS TBA DO RBS<br />

Interrupt (CINT) 13h X X X WIF OIF EIF TIF RIF<br />

Acceptance code (CACC) 14h AC7 AC6 AC5 AC4 AC3 AC2 AC1 AC0<br />

Acceptance mask (CACM) 15h AM7 AM6 AM5 AM4 AM3 AM2 AM1 AM0<br />

Bus timing 0 (CBT0) 16h SJW1 SJW0 BRP5 BRP4 BRP3 BRP2 BRP1 BRP0<br />

Bus timing 1 (CBT1) 17h SAMP TSEG-22 TSEG-21 TSEG-20 TSEG-13 TSEG-12 TSEG-11 TSEG-10<br />

Output Control (COCNTRL) 18h OCT-P1 OCT-N1 OCPOL1 OCT-P0 OCT-N0 OCPL0 OCM1 OCM0<br />

Test Register 19h X X X X X X X X<br />

Note: The acceptance code register, acceptance mask register, bus timing register 0, bus timing<br />

register 1 and the output control register are only accessible when the RESET REQUEST<br />

(RR) bit in the CAN control register (CCNTRL) is set. It is not foreseen that these<br />

registers will be referenced again after the initial reset sequence [95].<br />

5.3.3 CAN Module Control Register (CCNTRL)<br />

The Control Register, shown in Figure 5.16, provides the local mask bits for the CAN<br />

Module interrupts. In addition, it contains the Reset Request (RR) bit, which is set to disable the<br />

CAN Module operation and allow access to the message filtering, bus timing and output<br />

control registers [96]. This register may be read or written by the microprocessor; only the RR<br />

bit is affected by the CAN Module.<br />

Figure 5.16 CAN Control Register.<br />

SPD: Speed Mode. When this bit is set to ‘1’, slow speed mode will be used for<br />

resynchronization. Bus line transitions from both recessive to dominant and from<br />

dominant to recessive will be used for resynchronization. When this bit is cleared, set to<br />

145

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

Saved successfully!

Ooh no, something went wrong!