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.

TSEG22 – TSEG10: Time Segment Bits. Time segments within the bit time fix the<br />

number of clock cycles per bit time and the location of the sample point. Time Segment<br />

TSEG1 and Time Segment TSEG2 are programmable as shown in Table 5.11.<br />

Table 5.11 Time Segment Values.<br />

TSEG13 TSEG12 TSEG11 TSEG10 Time Segment 1 TSEG22 TSEG21 TSEG20 Time Segment 2<br />

0 0 0 1 2 tSCL cycles 0 0 1 2 tSCL cycles<br />

0 0 1 0 3 tSCL cycles : : :<br />

0 0 1 1 4 tSCL cycles : : :<br />

: : : : : 1 1 1 8 tSCL cycles<br />

: : : : :<br />

1 1 1 1 16 tSCL cycles<br />

The bit time is determined by the oscillator frequency, the baud rate prescaler, and the<br />

number of bus clock cycles (tSCL) per bit. From Section 3.6.1, the bit time is calculated as shown<br />

in Equation 5.1:<br />

BIT _TIME SYNC _ SEG TSEG1 TSEG2<br />

(5.1)<br />

TSEG2 must be at least 2*tSCL, i.e. the configuration bits must not be 000. (If three samples per<br />

bit mode is selected then TSEG2 must be at least 3*tSCL.) TSEG1 must be at least as long as<br />

TSEG2. The Synchronization Jump Width (SJW) may not exceed TSEG2, and must be at least<br />

tSCL shorter than TSEG1 to allow for physical propagation delays.<br />

i.e. in terms of tSCL:<br />

SYNC _SEG1 TSEG1SJW1 TSEG1TSEG2 TSEG2 SJW<br />

<br />

<br />

and TSEG2 2 SAMP 0<br />

or TSEG2 3 SAMP 1<br />

These boundary conditions result in minimum bit times of 5*tSCL, for one sample per bit, and<br />

7*tSCL, for three samples per bit.<br />

158

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

Saved successfully!

Ooh no, something went wrong!