7.7.3.2 Get Events Information and Parameters

Figure 7-12. G3 Get Events Information and Parameters SPI Arrays

If IRQ occurs (enabled in low), first it is needed to read events reported by the PL360 device.

  • Master (MOSI):
    • Send ID memory region(16 bits): 0x0000 (ATPL360_STATUS_INFO_ID)
    • Send SPI command (1 bit): 0 (read command)
    • Send SPI data length (15 bits) (in blocks of 16-bits): 0x04 (8 bytes)
  • Slave (MISO):
    • Send Firmware Header (16 bits): 0x1122
    • Send Firmware Events (16 bits): 0x0010 (ATPL360_RX_QPAR_IND_FLAG_MASK)
    • Send Firmware Timer reference (32 bits)
    • Send Firmware Events Information (32 bits): Not valid

The next transaction gets the parameters part of the message:

  • Master (MOSI):
    • Send ID memory region(16 bits): 0x0004 (ATPL360_RX_PARAM_ID)
    • Send SPI command (1 bit): 0 (read command)
    • Send SPI data length (15 bits) (in blocks of 16-bits): Variable length depending on G3 band
  • Slave (MISO):
    • Send Firmware Header (16 bits): 0x1122
    • Send Firmware Events (16 bits): 0x0010 (ATPL360_RX_QPAR_IND_FLAG_MASK)
    • Send Firmware RX parameters. See rx_msg_t structure in atpl360_comm.h file