50.9.20 CAN Message Data High Register

Name: CAN_MDHx
Offset: 0x0218 + x*0x20 [x=0..7]
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
 MDH[31:24] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 MDH[23:16] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 MDH[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 MDH[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:0 – MDH[31:0] Message Data High Value

When CAN_MSRx.MRDY is set, the upper 32 bits of a received message are read or written by the software application. Otherwise, the MDH value is locked by the CAN controller to send/receive a new message.

In Receive with Overwrite, the CAN controller may modify the MDH value while the software application reads the MDHx and MDLx registers. To check that MDHx and MDLx do not belong to different messages, the application has to check CAN_MSRx.MMI. In this mode, the software application must re-read CAN_MDHx and CAN_MDLx, while MMI 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]