TC1796
Peripheral Units (Vol. 2 of 2)
Controller Area Network (MultiCAN) Controller
User’s Manual
22-63
V2.0, 2007-07
MultiCAN, V2.0
Panel Commands
A panel operation consists of a command code (PANCMD) and up to two panel
arguments (PANAR1, PANAR2). Commands that have a return value deliver it to the
PANAR1 bit field. Commands that return an error flag deliver it to bit 31 of the Panel
Control Register, this means to bit 7 of PANAR2.
PANAR1
[23:16] rwh
Panel Argument 1
PANAR2
[31:24] rwh
Panel Argument 2
0
[15:10] r
Reserved
Read as 0; should be written with 0.
Table 22-6
Panel Commands
PANCMD PANAR2
PANAR1
Command Description
00
H
–
–
No Operation
Writing 00
H
to PANCMD has no effect.
No new command is started.
01
H
Result:
Bit 7: ERR
Bit 6-0: undefined
–
Initialize Lists
Run the initialization sequence to reset
the CTRL and LIST fields of all message
objects. List registers LIST[7:0] are set to
their reset values. This results in the de-
allocation of all message objects.
The initialization command requires that
bits NCRx.INIT and NCRx.CCE are set
for all CAN nodes (x = 0-3).
Bit 7 of PANAR2 (ERR) reports the
success of the operation:
0
B
Initialization was successful
1
B
Not all NCRx.INIT and NCRx.CCE
bits are set. Therefore, no
initialization was performed.
The initialize lists command is
automatically performed with each reset
of the MultiCAN module, but with the
exception that all message object
registers are reset, too.
Field
Bits
Type Description