TC1796
Peripheral Units (Vol. 2 of 2)
Controller Area Network (MultiCAN) Controller
User’s Manual
22-144
V2.0, 2007-07
MultiCAN, V2.0
transfer of a reference message does not modify these flags). As a result, this
interrupt indicates that a (no) message has been sent /received in the last time
window of the basic cycle. The ICE for the last time window of a basic cycle must be
written into the scheduler memory after the entry TME1.
•
Receive Control Entry:
Valid receive control information (CHEN, RCEMSGNR) collected during the last time
window of a basic cycle controls the storage of a message in the last time window
(not applicable to reference message). The RCE for the last time window of a basic
cycle must be written into the scheduler memory after the entry TME1.
•
Arbitration Entry:
Valid arbitration information (ARBM) determines the behavior of the time window
starting with the time mark 1. This entry must be written into the scheduler memory
after the entry TME1.
•
Transmit Control Entry:
Valid transmit control information (TREN, ALTMSG, TCEMSGNR) defines a
message to be transmitted after the time mark 1. The transmission start is possible
while the transmit enable window is active for an exclusive window or for a short
(single) arbitration window. For a merged (long) arbitration window, the transmission
can start during the complete time window. This entry must be written into the
scheduler memory after the entry TME1.
•
Reference Message Entry:
The time mark value of a valid RME is defining the compare value for the reference
time mark. When this reference time mark plus the reference trigger offset is reached,
a reference message will be sent out (depending on the gap state of the system).
This entry must be written into the scheduler memory before a valid entry BCE.
•
Basic Cycle End Entry:
The time mark value of a valid BCE is defining the compare value for the watch trigger
event. When this time value is reached, a watch trigger event can be generated
(depending on the gap state of the system). A valid BCE always finishes the
scheduler entries for each TTCAN node.
Before the reference message has been correctly received:
The value of CYCTMR.CSM equals the time mark number of the last time mark reached
(CSM = n after time mark n has been reached). The value of CYCTMR.BCC is number
of the current basic cycle. This information is needed to correctly set up the scheduler
entries RCE and ICE (bit fields CYCLE, MCYCLE).
After the reference message has been correctly received, but the time mark 1 has not
yet been reached:
The value of CYCTMR.CSM is 0. The value of CYCTMR.BCC is number of the new
basic cycle. This information is needed to correctly set up the scheduler entries ARBE
and TCE (bit fields CYCLE, MCYCLE) and the message objects (bit fields CYCLE,
MCYCLE, COLUMN, MCOLUMN).