Debug Mode; Bxcan Functional Description; Transmission Handling; Figure 302. Bxcan In Combined Mode - ST STM32F207 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F207 Series:
Table of Contents

Advertisement

RM0033
27.6

Debug mode

When the microcontroller enters the debug mode (Cortex
continues to work normally or stops, depending on:
the DBG_CAN1_STOP bit for CAN1 or the DBG_CAN2_STOP bit for CAN2 in the
DBG module. For more details, refer to
watchdog, bxCAN and I
the DBF bit in CAN_MCR. For more details, refer to
27.7

bxCAN functional description

27.7.1

Transmission handling

In order to transmit a message, the application must select one empty transmit mailbox, set
up the identifier, the data length code (DLC) and the data before requesting the transmission
by setting the corresponding TXRQ bit in the CAN_TIxR register. Once the mailbox has left
empty state, the software no longer has write access to the mailbox registers. Immediately
after the TXRQ bit has been set, the mailbox enters pending state and waits to become the
highest priority mailbox, see Transmit Priority. As soon as the mailbox has the highest
priority it will be scheduled for transmission. The transmission of the message of the
scheduled mailbox will start (enter transmit state) when the CAN bus becomes idle. Once
the mailbox has been successfully transmitted, it will become empty again. The hardware
indicates a successful transmission by setting the RQCP and TXOK bits in the CAN_TSR
register.
If the transmission fails, the cause is indicated by the ALST bit in the CAN_TSR register in
case of an Arbitration Lost, and/or the TERR bit, in case of transmission error detection.

Figure 302. bxCAN in combined mode

bxCAN
Tx
=1
CANTX CANRX
Section 32.16.2: Debug support for timers,
2
C.
RM0033 Rev 9
Controller area network (bxCAN)
Rx
®
-M3 core halted), the bxCAN
Section
27.9.2.
799/1381
837

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F207 Series and is the answer not in the manual?

Table of Contents