MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 546
MCBSTM32EXL
Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Specifications of MCBSTM32EXL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 546 of 995
- Download datasheet (9Mb)
Controller area network (bxCAN)
22.4.1
Note:
22.4.2
22.4.3
546/995
To synchronize, bxCAN waits until the CAN bus is idle, this means 11 consecutive recessive
bits have been monitored on CANRX.
Initialization mode
The software initialization can be done while the hardware is in Initialization mode. To enter
this mode the software sets the INRQ bit in the CAN_MCR register and waits until the
hardware has confirmed the request by setting the INAK bit in the CAN_MSR register.
To leave Initialization mode, the software clears the INQR bit. bxCAN has left Initialization
mode once the INAK bit has been cleared by hardware.
While in Initialization Mode, all message transfers to and from the CAN bus are stopped and
the status of the CAN bus output CANTX is recessive (high).
Entering Initialization Mode does not change any of the configuration registers.
To initialize the CAN Controller, software has to set up the Bit Timing (CAN_BTR) and CAN
options (CAN_MCR) registers.
To initialize the registers associated with the CAN filter banks (mode, scale, FIFO
assignment, activation and filter values), software has to set the FINIT bit (CAN_FMR). Filter
initialization also can be done outside the initialization mode.
When FINIT=1, CAN reception is deactivated.
The filter values also can be modified by deactivating the associated filter activation bits (in
the CAN_FA1R register).
If a filter bank is not used, it is recommended to leave it non active (leave the corresponding
FACT bit cleared).
Normal mode
Once the initialization has been done, the software must request the hardware to enter
Normal mode, to synchronize on the CAN bus and start reception and transmission.
Entering Normal mode is done by clearing the INRQ bit in the CAN_MCR register and
waiting until the hardware has confirmed the request by clearing the INAK bit in the
CAN_MSR register. Afterwards, the bxCAN synchronizes with the data transfer on the CAN
bus by waiting for the occurrence of a sequence of 11 consecutive recessive bits (Bus Idle)
before it can take part in bus activities and start message transfer.
The initialization of the filter values is independent from Initialization Mode but must be done
while the filter is not active (corresponding FACTx bit cleared). The filter scale and mode
configuration must be configured before entering Normal Mode.
Sleep mode (low power)
To reduce power consumption, bxCAN has a low-power mode called Sleep mode. This
mode is entered on software request by setting the SLEEP bit in the CAN_MCR register. In
this mode, the bxCAN clock is stopped, however software can still access the bxCAN
mailboxes.
If software requests entry to initialization mode by setting the INRQ bit while bxCAN is in
Sleep mode, it must also clear the SLEEP bit.
bxCAN can be woken up (exit Sleep mode) either by software clearing the SLEEP bit or on
detection of CAN bus activity.
Doc ID 13902 Rev 9
RM0008
Related parts for MCBSTM32EXL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KEIL C-COMPILER (US ONLY)
Manufacturer:
Silicon Laboratories Inc
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
Part Number:
Description:
KEIL C-COMPILER US VERSION
Manufacturer:
Silicon Laboratories Inc
Part Number:
Description:
DEV KIT FOR STM32
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
KIT STARTER FOR STM32
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
KIT STARTER FOR STM32F10XE MCU
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
KIT STARTER KEIL FOR STR910
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories KEIL ULINK PRO 5V ADAPTOR KIT
Manufacturer:
Keil Software
Part Number:
Description:
Development Boards & Kits - ARM KEIL NUVOTON EVAL BD CORTEX-M0 + ULINK-ME
Manufacturer:
Keil Tools
Datasheet:
Part Number:
Description:
Development Boards & Kits - ARM KEIL NUVOTON EVAL BD CORTEX-M0
Manufacturer:
Keil Tools
Datasheet:
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: