Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet
Product codes
ATSAM4E-XPRO
707
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
33.9.19 CAN Message Data Low Register
Name:
CAN_MDLx [x=0..7]
Address:
0x40010214 (0)[0], 0x40010234 (0)[1], 0x40010254 (0)[2], 0x40010274 (0)[3], 0x40010294 (0)[4],
0x400102B4 (0)[5], 0x400102D4 (0)[6], 0x400102F4 (0)[7], 0x40014214 (1)[0], 0x40014234 (1)[1], 0x40014254 (1)[2],
0x40014274 (1)[3], 0x40014294 (1)[4], 0x400142B4 (1)[5], 0x400142D4 (1)[6], 0x400142F4 (1)[7]
0x40014274 (1)[3], 0x40014294 (1)[4], 0x400142B4 (1)[5], 0x400142D4 (1)[6], 0x400142F4 (1)[7]
Access:
Read-write
MDL: Message Data Low Value
When MRDY field is set in the CAN_MSRx, the lower 32 bits of a received message can be read or written by the software
application. Otherwise, the MDL value is locked by the CAN controller to send/receive a new message.
application. Otherwise, the MDL value is locked by the CAN controller to send/receive a new message.
In Receive with overwrite, the CAN controller may modify MDL value while the software application reads MDH and MDL
registers. To check that MDH and MDL do not belong to different messages, the application has to check the MMI field in
the CAN_MSRx. In this mode, the software application must re-read CAN_MDH and CAN_MDL, while the MMI bit in the
CAN_MSRx is set.
registers. To check that MDH and MDL do not belong to different messages, the application has to check the MMI field in
the CAN_MSRx. In this mode, the software application must re-read CAN_MDH and CAN_MDL, while the MMI bit in the
CAN_MSRx is set.
Bytes are received/sent on the bus in the following order:
1.
CAN_MDL[7:0]
2.
CAN_MDL[15:8]
3.
CAN_MDL[23:16]
4.
CAN_MDL[31:24]
5.
CAN_MDH[7:0]
6.
CAN_MDH[15:8]
7.
CAN_MDH[23:16]
8.
CAN_MDH[31:24]
31
30
29
28
27
26
25
24
MDL
23
22
21
20
19
18
17
16
MDL
15
14
13
12
11
10
9
8
MDL
7
6
5
4
3
2
1
0
MDL