Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
162
Добавлен:
01.03.2016
Размер:
3.56 Mб
Скачать

Controller area network (beCAN)

RM0016

 

 

23.3.3Tx mailboxes

Three transmit mailboxes are provided to the software for setting up messages. The Transmission Scheduler decides which mailbox has to be transmitted first.

23.3.4Acceptance filters

The beCAN provides six scalable/configurable identifier filter banks for selecting the incoming messages the software needs and discarding the others.

Receive FIFO

The receive FIFO is used by the CAN controller to store the incoming messages. Three complete messages can be stored in the FIFO. The software always accesses the next available message at the same address. The FIFO is managed completely by hardware.

Figure 141. beCAN block diagram

 

Master Control

Tx Mailboxes

Receive FIFO

 

 

 

 

Mailbox 2

 

 

 

2

 

 

 

Master Status

 

 

1

 

 

 

 

Mailbox 0

 

 

 

 

Transmit Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmit Status

Mailbox 1

 

 

 

 

 

 

/ Configuration

 

 

 

 

 

 

 

Transmit Priority

 

 

 

 

 

 

 

Receive FIFO

Mailbox 0

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Enable

 

 

 

 

 

 

 

Error Status

 

 

 

 

 

 

 

/ Status

 

Acceptance Filters

 

 

 

 

 

 

Error Int. Enable

 

 

 

 

 

 

5

Tx Error Counter

 

 

 

 

3

4

Control

 

 

1

2

 

 

Rx Error Counter

Transmission

Filter bank 0

 

 

 

Scheduler

 

 

 

 

 

 

 

Diagnostic

 

 

 

 

 

 

 

 

Bit Timing

 

 

 

 

 

 

 

 

Filter Mode

 

 

 

 

 

 

 

 

Filter Config.

CAN 2.0B Active Core

 

 

 

 

 

 

 

 

 

 

 

 

 

366/454

Doc ID 14587 Rev 9

Соседние файлы в папке Минимум документации STM8_1