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.

where tNBT is the Nominal Bit Time (NBT). A bit is divided into four separate non-overlapping<br />

time segments called SYNC_SEG, PROP_SEG, PHASE_SEG1, and PHASE_SEG2. These are<br />

illustrated in Figure 3.11.<br />

Figure 3.11 CAN Bit Segments [20] [23].<br />

The sample point indicated in Figure 3.11 is the position of the actual sample point if a<br />

single point per bit is selected. However, some CAN Controllers can also sample each bit<br />

three times. In this case, the bit will be sampled three quanta in a row, with the last sample being<br />

taken at the sample point indicated in Figure 3.11. The period of the NBT is the sum of the<br />

segment durations:<br />

t t t t t<br />

(3.3)<br />

NBT SYNC _ SEG PROP _ SEG PHASE _ SEG1 PHASE _ SEG2<br />

Each of these segments is an integer multiple of a unit of time called a time quantum, t Q . The<br />

duration of a time quantum is equal to the period of the CAN system clock, which is derived<br />

from the microcontroller (MCU) system clock or oscillator by way of a programmable prescaler,<br />

called the Baud Rate Prescaler (BRP).<br />

The duration of the synchronization segment, SYNC_SEG, is not programmable and is<br />

fixed at one time quantum. The duration of the other segments are programmable, either<br />

individually or with two values, tSEG1 and SEG2<br />

t where:<br />

66

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

Saved successfully!

Ooh no, something went wrong!