User Guide

Table Of Contents
Page 47 of 129 54A0028-7 © LeddarTech Inc.
The supported opcodes are presented in Table 15.
Table 15: SPI opcode commands
Mnemonic
Opcode
Operation
Description
READ
0x0B
Read data
The read command returns data from
memory starting at the selected address. It
needs a delay between the group containing
the opcode, address, and size data, and the
return data stream to let the receiver module
to decode the request and get the ready data
to the clock.
WRITE
0x02
Write data
The write command writes data to memory
starting at the selected address and is limited
to a page of 1 to 512 bytes.
CE
0xC7
Reset
configuration
The reset command resets the module to the
default configuration. The process is started
on deassert of nCS and the write-enable flag
in the status register must be asserted.
RDSR
0x05
Read status
register
The read status command returns a byte of
the status register and bit-field flags (refer to
Table 16).
WREN
0x06
Write enabled
The write enabled command disables the
write protection in order to modify any
parameters.
WRDIS
0x04
Write disabled
The write disabled command enables the
write protection to lock the module from any
parameter changes.
SOFTRST
0x99
Software reset
The software reset command resets the
receiver module.