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.

5.3.11 CAN Module Output Control Register (COCNTRL)<br />

The Output Control Register (COCNTRL), shown in Figure 5.25, is used to determine<br />

the configuration of the output drivers on the CAN transmit pins. The Output Control Mode<br />

bits allow normal differential operation, bi-phase operation, or a special test mode to be selected<br />

(not fully implemented yet). The output drivers can be selected for pull up, pull down, or push-<br />

pull operation by selectively enabling or disabling P type and N type transistors in the output<br />

driver circuits via the OCTN0/1 and OCTP0/1 bits. The COCNTRL register also allows the data<br />

output to be inverted if required. Normal configuration is for complementary levels to be<br />

transmitted on the TX0 and TX1 pins (two-wire differential operation). The bus termination<br />

network should ensure that the bus reverts to its recessive state when the driver transistors are<br />

switched off [96].<br />

Figure 5.25 CAN Output Control Register.<br />

OCM1 – OCM0: Output Control Mode Bits. The values of these two bits determine the<br />

output mode, as shown in Table 5.12.<br />

Table 5.12 Output Control Modes.<br />

OCM1 OCM0 Function<br />

0 0 Bi-phase operation mode<br />

0 1 Test mode (not fully implemented)<br />

1 0<br />

Normal mode 1<br />

1 1<br />

Bit stream transmitted on both TX0 and TX1<br />

Normal mode 2<br />

TX0 – bit sequence<br />

TX1 – bus clock (ttxclk)<br />

159

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

Saved successfully!

Ooh no, something went wrong!