09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>RM0090</strong> Controller area network (bxCAN)<br />

Dual CAN<br />

● CAN1: Master bxCAN for managing the communication between a Slave bxCAN and<br />

the 512-byte SRAM memory<br />

● CAN2: Slave bxCAN, with no direct access to the SRAM memory.<br />

● The two bxCAN cells share the 512-byte SRAM memory (see Figure 224: Dual CAN<br />

block diagram)<br />

Dual CAN<br />

● CAN1: Master bxCAN for managing the communication between a Slave bxCAN and<br />

the 512-byte SRAM memory<br />

● CAN2: Slave bxCAN, with no direct access to the SRAM memory.<br />

● The two bxCAN cells share the 512-byte SRAM memory (see Figure 224 on page 662)<br />

Note: In low, medium-, high- and XL-density devices the USB and CAN share a dedicated 512byte<br />

SRAM memory for data transmission and reception, and so they cannot be used<br />

concurrently (the shared SRAM is accessed through CAN and USB exclusively). The USB<br />

and CAN can be used in the same application but not at the same time.<br />

24.3 bxCAN general description<br />

In today’s CAN applications, the number of nodes in a network is increasing and often<br />

several networks are linked together via gateways. Typically the number of messages in the<br />

system (and thus to be handled by each node) has significantly increased. In addition to the<br />

application messages, Network Management and Diagnostic messages have been<br />

introduced.<br />

● An enhanced filtering mechanism is required to handle each type of message.<br />

Furthermore, application tasks require more CPU time, therefore real-time constraints<br />

caused by message reception have to be reduced.<br />

● A receive FIFO scheme allows the CPU to be dedicated to application tasks for a long<br />

time period without losing messages.<br />

The standard HLP (Higher Layer Protocol) based on standard CAN drivers requires an<br />

efficient interface to the CAN controller.<br />

Figure 223. CAN network topology<br />

CAN node 1<br />

CAN Bus<br />

MCU<br />

Application<br />

CAN<br />

Controller<br />

CAN CAN<br />

Rx Tx<br />

CAN<br />

Transceiver<br />

CAN CAN<br />

High Low<br />

CAN node 2<br />

CAN node n<br />

Doc ID 018909 Rev 3 660/1416

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

Saved successfully!

Ooh no, something went wrong!