09.01.2013 Views

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The CAN controllers are provided with 16 MHz clocks when delivered, and as a rule<br />

16000 (kHz) should be entered in this box. However, it may be necessary to change<br />

out the clocks for special applications. Then the appropriate frequency must be entered<br />

here.<br />

In the Samples input box you set the number of bus samples per bit time. Possible<br />

values are:<br />

• 1 Sample.<br />

This setting is recommended for High Speed Buses (SAE Class C).<br />

• 3 Samples.<br />

This setting is recommended for Low/Medium Speed Buses (Classes A and B)<br />

to filter out level peaks on the bus.<br />

The two Bus Timing Registers define how an individual bit of the serial bit stream is<br />

assembled on the bus. Please refer to the data sheet for the CAN controller (SJA<br />

1000/82C200/82527/72005) for the values that should be entered here. Input the<br />

values as hexadecimal numbers. On the right side of the dialog box you can determine<br />

whether the entered values are plausible (e.g. whether the desired baudrate<br />

has been achieved).<br />

There are multiple Bit Timing Register pairs for a given baudrate which determine the<br />

timing of the CAN controller with regard to the sampling time point, number of BTL<br />

cycles and synchronization jump width (SJW). You can view a selection of allowable<br />

register pairs in the list of sampling options.<br />

Displayed in this list are all Bus Timing Register values for the configured baudrate<br />

and sample count. Shown next to the register values are associated values such as<br />

the sampling time point (Sample) in percent of bit time after the beginning of the bit,<br />

number of BTL cycles (BTL cycles) and the synchronization jump width (SJW).<br />

Once you have changed the baudrate or sample count, click on the list box to update<br />

the list. Afterwards you can select the desired sampling option.<br />

Representation of Bit Timing<br />

The figure in the upper right area of the sub-dialog sketches the timing of the CAN<br />

controller resulting from the configured register values. It depicts the bit time schematically,<br />

subdivided into three regions Sync (orange), Tseg1 (blue) and Tseg2<br />

(green).<br />

The number of subdivisions corresponds to the value that is set for BTL cycles. The<br />

sampling time point (border between Tseg1 and Tseg2) is identified by one or three<br />

small red triangle(s) according to the setting for sample count. The ratio between the<br />

bit length up to the sampling point and the overall length of the represented bit time<br />

corresponds to the percent value of the actively selected list entry.<br />

Above the figure you see the Preview Synchronization Edge selection box which is<br />

deactivated by default, whereby the slider beneath it is also deactivated. Please note<br />

that this slider does not have any functionality as a control; it is only used for previewing<br />

purposes.<br />

Click on the Preview Synchronization Edge selection box to activate previewing.<br />

With the help of the slider above the figure you can examine the effects of the synchronization<br />

edge and synchronization jump width on CAN controller timing. The<br />

© Vector Informatik GmbH <strong>CANoe</strong>/<strong>DENoe</strong> Manual Version 4.1.1<br />

81

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

Saved successfully!

Ooh no, something went wrong!