AP29000
Connecting C166 and C500 Microcontroller to CAN
The Infineon CAN Devices C167CR, C515C and SAE 81C90/91
Application Note
26
V 1.0, 2004-02
4.2.2
Control Registers of the CAN Controller
All registers reside in the already mentioned 256-byte wide CAN address areas (shown
in figure 8) together with the message objects. The most important registers are now
described.
The
Control Register
and the
Status Register
contain important status- and control bits
e.g. used for initialisation and interrupt control. The cause for a pending interrupt can
be read from the
Interrupt-Register.
In the
Bit-Timing-Register
, the desired baudrate on
the CAN bus and the length of the time segments described in section 2.4 are defined.
Figure 8
CAN addressing area on the C515C
Message Object 1
General Registers
CAN Address Area
General Registers
F700
H
F710
H
Message Object 2
F720
H
Message Object 3
F730
H
Message Object 4
F740
H
Message Object 5
F750
H
Message Object 6
F760
H
Message Object 7
F770
H
Message Object 8
F780
H
Message Object 9
F790
H
Message Object 10
F7A0
H
Message Object 11
F7B0
H
Message Object 12
F7C0
H
Message Object 13
F7D0
H
Message Object 14
F7E0
H
Message Object 15
F7F0
H
Status Register
Control Register
Interupt Register
Global Mask Short
F700
H
reserved
Bit Timing Low
Register
Low Register
F701
H
F702
H
F703
H
F704
H
F705
H
F706
H
F707
H
F708
H
F709
H
F70A
H
F70B
H
F70C
H
F70D
H
F70E
H
F70F
H
Bit Timing High
Register
Global Mask Short
High Register
Upper Global Mask Long
Low Register
Upper Global Mask Long
High Register
Lower Global Mask Long
Low Register
Lower Global Mask Long
High Register
Upper Mask of Last
Message Low Register
Upper Mask of Last
Message High Register
Lower Mask of Last
Message Low Register
Lower Mask of Last
Message High Register