
FlexRay Communication Controller (FlexRAY)
PXN20 Microcontroller Reference Manual, Rev. 1
26-102
Freescale Semiconductor
26.6.6.2.3
Message Buffer Transitions
Application Transitions
The application transitions can be triggered by the application using the commands described in
. The application issues the commands by writing to the
Control, Status Registers (MBCCSRn)
. Only one command can be issued with one write access. Each
command is executed immediately. If the command is ignored, it must be issued again.
Message Buffer Enable and Disable
The enable and disable commands issued by writing 1 to the trigger bit MBCCSR
n
[EDT]. The transition
that will be triggered by each of these command depends on the current value of the status bit
MBCCSR
n
[EDS]. If the command triggers the disable transition HD and the message buffer is in one of
the states CCSa, HLckCCSa, CCMa, HLckCCMa, CCNf, HLckCCNf, or CCTx, the disable transition has
no effect (command is ignored) and the message buffer state is not changed. No notification is given to the
application.
Message Buffer Lock and Unlock
The lock and unlock commands issued by writing 1 to the trigger bit MBCCSR
n
[LCKT]. The transition
that will be triggered by each of these commands depends on the current value of the status bit
MBCCSR
n
[LCKS]. If the command triggers the lock transition HL and the message buffer is in the state
CCTx, the lock transition has no effect (command is ignored) and message buffer state is not changed. In
this case, the message buffer lock error flag LCK_EF in the
CHI Error Flag Register (CHIERFR)
is set.
Module Transitions
The module transitions that can be triggered by the controller are described in
. Each transition
will be triggered for certain message buffers when the related condition is fulfilled.
CCSu
1
0
–
TX
Status Update - Message buffer status update. Update of status
flags, the slot status field, and the header index.
Table 26-97. Single Transmit Message Buffer Application Transitions
Transition
Command
Condition
Description
HE
MBCCSRn[EDT] = 1
MBCCSRn[EDS] = 0 Application triggers message buffer enable.
HD
MBCCSRn[EDS] = 1 Application triggers message buffer disable.
HL
MBCCSRn[LCKT] = 1
MBCCSRn[LCKS] = 0 Application triggers message buffer lock.
HU
MBCCSRn[LCKS] = 1 Application triggers message buffer unlock.
Table 26-98. Single Transmit Message Buffer Module Transitions
Transition
Condition
Description
SA
slot match and
static slot
Slot Assigned - Message buffer is assigned to next static slot.
Table 26-96. Single Transmit Message Buffer State Description (continued)
State
MBCCSRn
Access Region
Description
EDS
LCKS
Appl.
Module
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...