User Manual

Table Of Contents
Page 65 of 129 54A0028-6 042019 © LeddarTech Inc.
Read module data (function code 0x42)
Table 32 and Table 33 present the request and answer codes for reading data. This function is an
encapsulation of the SPI protocol. See section 5.1.3 Memory Map.
Table 32: Requests
Offset
Length
Description
0
4
Base address: 0x00000000 to 0x00FFFFFF (little-endian)
4
1
Number of bytes to read: 1 through 247
Table 33: Answers
Offset
Length
Description
0
4
Base address: 0x00000000 to 0x00FFFFFF (little-endian)
4
1
Number of bytes read: 1 through 247
5
Nb * 1 byte
Data
Write module data (function code 0x43)
Table 34 and Table 35 present the request and answer codes for writing data. This function is an
encapsulation of the SPI protocol. See section 5.1.3 Memory Map.
Table 34: Requests
Offset
Length
Description
0
4
Base address: 0x00000000 to 0x00FFFFFF
4
1
Number of bytes written: 1 through 247
5
Nb * 1 byte
Data
Table 35: Answers
Offset
Length
Description
0
4
Base address: 0x00000000 to 0x00FFFFFF
4
1
Number of bytes written: 1 through 247
Send opcode command (function code 0x44)
Table 36 and Table 37 present the request and answer codes for sending the opcode. This function
is an encapsulation of the SPI protocol. See section 5.1.3 Memory Map.