English
Language : 

K60P100M100SF2RM Datasheet, PDF (1356/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Functional Description
3. Write the ID word.
4. Write the data bytes.
5. Write the DLC, Control and CODE fields of the Control and Status word to activate
the MB.
Once the MB is activated in the fourth step, it will participate into the arbitration process
and eventually be transmitted according to its priority. At the end of the successful
transmission, the value of the Free Running Timer is written into the Time Stamp field,
the CODE field in the Control and Status word is updated, the CRC Register is updated, a
status flag is set in the Interrupt Flag Register and an interrupt is generated if allowed by
the corresponding Interrupt Mask Register bit. The new CODE field after transmission
depends on the code that was used to activate the MB in step four (see Table 48-109 and
Table 48-110 in Section Message Buffer Structure).
When the Abort feature is enabled (MCR[AEN] is asserted), after the Interrupt Flag is
asserted for a MB configured as transmit buffer, the MB is blocked, therefore the CPU is
not able to update it until the Interrupt Flag is negated by CPU. This means that the CPU
must clear the corresponding IFLAG before starting to prepare this MB for a new
transmission or reception.
48.4.2 Arbitration process
The arbitration process scans the Mailboxes searching the Tx one that holds the message
to be sent in the next opportunity. This Mailbox is called the arbitration winner.
The scan starts from the lowest number Mailbox and runs toward the higher ones.
The arbitration process is triggered in the following events:
• From the CRC field of the CAN frame. The start point depends on the
CTRL2[TASD] field value.
• During the Error Delimiter field of a CAN frame.
• During the Overload Delimiter field of a CAN frame.
• When the winner is inactivated and the CAN bus has still not reached the first bit of
the Intermission field.
• When there is CPU write to the C/S word of a winner MB and the CAN bus has still
not reached the first bit of the Intermission field.
• When CHI is in Idle state and the CPU writes to the C/S word of any MB.
1356
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.