Everything
 

Receive Channel Setting dialog box [Full-spec emulator][E1][E20]


This dialog box is used to make settings related to the receive channel shown in the Debugging CAN Bus Reception Procedures panel [Full-spec emulator][E1][E20].

Figure A.61

Receive Channel Setting Dialog Box

 

This section describes the following.

[How to open]

-

On the Debugging CAN Bus Reception Procedures panel [Full-spec emulator][E1][E20], click the [Receive Channel Setting...] button on the toolbar.

[Description of each area]

(1)

[Channel number]

Select the channel for which debugging of CAN bus reception is to be performed.

See the hardware manual for channels that have RS-CAN units.

(2)

[Clock settings] area

Set the reception clock to determine the reception speed.

The value of the reception speed is calculated from the following settings and is displayed at the bottom of this area.

(a)

[Baud rate prescaler division ratio]

Specify the frequency division ratio of the baud rate prescaler as a decimal value from 1 to 1024.

(b)

[Propagation time segment]

Specify the time unit of a propagation time segment as a decimal value from 4 to 16.

(c)

[Phase segment]

Specify the time unit of a phase buffer segment as a decimal value from 2 to 8.

(d)

[Resynchronization jump width]

Specify the time unit of the resynchronization jump width as a decimal value from 1 to 4.

 

See "2.24 Debugging CAN Bus Reception Procedures [Full-spec emulator][E1][E20]" for details on calculating the receive speed.

(3)

[Buffer settings] area

Make settings related to the receive buffers and receive FIFOs which are used in the receive channel.

(a)

[Receive buffer count]

Specify the number of receive buffers as a decimal value from 0 to (Number of channels of units * 16).

If 0 is specified, receive buffers are not used.

Buffer numbers from 0 to (Number of specified buffers - 1) are assigned to receive buffers.

(b)

[Use receive FIFO]

Specify whether receive FIFOs are to be used.

(c)

[Use FIFO numbers]

This item which displays a list of receive FIFO numbers appears only when the [Use receive FIFO] check box is selected.

Select the receive FIFOs you wish to use from the list.

(4)

[Receive rule settings] area

Set the receive rules that are to be applied to the receive channel.

(a)

View/edit receive rules

The receive rules that have already been set are listed.

Each item can be selected via the drop-down list or edited directly.

Each item is explained as follows:

<1>

Format

Select the format of the frames to be received from the following drop-down list.

Value

Meaning

Normal

Only frames of the normal format are received.

Extend

Only frames of the extended format are received.

All

The frames are not sorted by the format, and frames of all formats are received.

<2>

ID

Specify the ID values of the frames to be received as hexadecimal values.

Only the frames that match the specified ID values are received. If this item is blank, frames of all ID values are received.

Remark 1.

The specifiable range of the hexadecimal value for the ID value depends on the format as shown below.

Format

Settable Range

Normal

0x0 to 0x7FF

Extend

0x0 to 0x1FFFFFFF

All

Remark 2.

When the value of the format was changed to "Extend" or changed from "All" to "Normal", a value filtered by 0x7FF is automatically set.

<3>

Frame Type

Select the type of the frames to be received from the following drop-down list.

Value

Meaning

Data

Only data frames are received.

Remote

Only remote frames are received.

All

The frames are not sorted by the frame, and all frames are received.

<4>

Data Size(Bytes)

Specify the data size (bytes) of each frame to be received within the range of 1 to 8 bytes.

If this is blank, frames of all data sizes are received.

Remark

When the value of the frame type was changed to "Data" or changed from "All" to "Remote", this item is left blank automatically.

<5>

Label

Specify the label value to be added to the frames that have passed the conditions of <1> to <4>.

The label value should be a hexadecimal value from 0 to 0xFFF.

<6>

Using Buffer Number

Specify the receive buffer number for storing the frames that have passed the conditions of <1> to <4>.

The following values can be specified.

Value

Meaning

Decimal value from 0 to ([Receive buffer count] setting - 1)

Frames are stored in the buffer with the specified receive buffer number.

(Blank)

No receive buffer is used.

Remark

When the value of the storage FIFO number is changed from blank to a number, this item is made blank automatically.

<7>

Using FIFO Number

Specify the receive FIFO number for storing the frames that have passed the conditions of <1> to <4>.

The following values can be specified.

Value

Meaning

Decimal value of [Use FIFO numbers] that can be used

Frames are stored in the FIFO with the specified receive FIFO number.

(Blank)

No receive FIFO is used.

Remark

When the value of the storage buffer number is changed from blank to a number, this item is made blank automatically.

(b)

Default values of receive rules

The default values of receive rules are as follows:

Format

ID

Frame Type

Data Size
(Bytes)

Label

Using Buffer Number

Using FIFO Number

All

(Blank)

All

(Blank)

0x0x

(Blank)

(Blank)

(c)

Button

Add Rule

Adds a new receive rule to the receive rule list.

A newly added rule has the default values (see "(b) Default values of receive rules").

Delete Rule

Deletes the receive rule selected in the receive rule list.

[Function buttons]

Button

Function

OK

Reflects the settings of the receive channel that were set in this dialog box to the [Receive channel settings] area on the Debugging CAN Bus Reception Procedures panel [Full-spec emulator][E1][E20].

Cancel

Nullifies settings and closes this dialog box.

Help

Displays the help for this dialog box.