3. Host-Controller Interface
The LR1121 exposes an API which allows the Host controller to communicate with the LR1121 through a set of SPI
commands / responses. The BUSY signal is used as a handshake to indicate if the LR1121 is ready to accept a command.
Therefore, it is necessary to check the status of BUSY prior to sending a command.
3.1 Write Commands
During write commands, the LR1121 returns the status registers and the interrupt registers to the host on the MOSI pin,
depending on the length of the command opcode and arguments.
The host sends a 16-bit opcode followed by the required arguments.
The BUSY signal is automatically asserted on the falling edge of the NSS.
Once the LR1121 finishes processing the command, the BUSY signal is de-asserted to indicate that the device is ready to
accept another command.
3.2 Read Commands
Specific Read commands retrieve data from LR1121, such as internal status results.
The host sends a 16-bit opcode, followed by arguments if required.
The BUSY signal is automatically asserted on the falling edge of the NSS.
Once the LR1121 has finished preparing the requested data, the BUSY signal is de-asserted.
The host can then read back the data by sending NOPs (0x00 bytes) to shift out the data on the SPI.
BUSY
NSS
MOSI
Op
MISO
Stat1
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
Figure 3-1: Write Command Timing Diagram
Op
Arg0
Arg1
Stat2
IrqStat(31:24)
IrqStat(23:16)
Figure 3-2: Read Command Timing Diagram
www.semtech.com
NOP
NOP
NOP
Stat1
Rsp0
Rsp1
Proprietary & Confidential
25 of 130
Semtech