If1 And If2 Command Registers (Can If1Cmd, Can If2Cmd); If1 Command Registers (Can If1Cmd) [Offset = 0X100]; If2 Command Registers (Can If2Cmd) [Offset = 0X120] - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com

23.15.14 IF1 and IF2 Command Registers (CAN IF1CMD, CAN IF2CMD)

The IF1 and IF2 Command registers configure and initiate the transfer between the IF1 or IF2 Register
sets and the Message RAM. It is configurable which portions of the message object should be transferred.
A transfer is started when the CPU writes the message number to bits [7:0] of the IF1 or IF2 Command
Register.
With this write operation, the Busy bit is automatically set to '1' to indicate that a transfer is in progress.
After 4 to 14 clock cycles, the transfer between the Interface Register and the Message RAM will be
completed and the Busy bit is cleared. The maximum number of cycles is needed when the message
transfer concurs with a CAN message transmission, acceptance filtering, or message storage.
If the CPU writes to both IF1 and IF2 Command registers consecutively (request of a second transfer
while first transfer is still in progress), the second transfer will start after the first one has been completed.
The following points must be borne in mind while writing to this register: (1) Do not write zeros to the
whole register. (2) Write to the register in a single 32-bit write or write the upper 16-bits before writing to
the lower 16- bits.
NOTE: While Busy bit is 1, IF1 and IF2 register sets are write protected.
NOTE: For debug support, the auto clear functionality of the IF1 or IF2 Command Registers is
disabled during Debug mode.
NOTE: If an invalid Message Number is written to bits [7:0] of the IF1 or IF2 Command Register, the
message handler may access an implemented (valid) message object instead.
Figure 23-32. IF1 Command Registers (CAN IF1CMD) [offset = 0x100]
31
Reserved
15
14
13
Busy
DMA
active
R-0
R/WP/
C-0
LEGEND: R = Read; WP = Protected Write (protected by Busy bit); C = Clear by IF1 access; -n = value after reset
Figure 23-33. IF2 Command Registers (CAN IF2CMD) [offset = 0x120]
31
Reserved
R-0
15
14
13
Busy
DMA
active
R-0
R/WP/
C-0
LEGEND: R = Read; WP = Protected Write (protected by Busy bit); C = Clear by IF2 access; -n = value after reset
SPRUH22I – April 2012 – Revised November 2019
Submit Documentation Feedback
R-0
Reserved
R-0
Reserved
R-0
Copyright © 2012–2019, Texas Instruments Incorporated
24
23
22
21
WR/R
Mask
Arb
D
R/WP-
R/WP-
R/WP-
0
0
0
8
7
24
23
22
21
WR/R
Mask
Arb
D
R/WP-0 R/WP-
R/WP-
R/WP-
0
0
0
6
5
CAN Control Registers
20
19
18
17
Contro
Clr
TxRqst
Data A Data B
l
IntPnd
/
NewD
at
R/WP-
R/WP-
R/WP-
R/WP-
0
0
0
0
Message Number
R/WP-0x1
20
19
18
17
Contro
Clr
TxRqst
Data A Data B
l
IntPnd
/
NewD
at
R/WP-
R/WP-
R/WP-0
0
0
Message Number
R/WP-0x1
M3 Controller Area Network (CAN)
16
R/WP-
0
0
16
R/WP-0
0
1555

Advertisement

Table of Contents
loading

Table of Contents