SPI protocol
6.7.1
SPI protocol version
Figure 8. SPI protocol version example
SN260
6.7.2
1. Activate Slave Select (nSSEL).
2. Transmit the command 0x0A - SPI Protocol Version Request.
3. Transmit the Frame Terminator, 0xA7.
4. Wait for nHOST_INT to assert.
5. Transmit and receive 0xFF until a byte other than 0xFF is received.
6. Receive response 0x81 (a byte other than 0xFF), then receive the Frame Terminator,
0xA7.
7. Bit 7 is always set and bit 6 is always cleared in the Version Response, so this is
Version 1.
8. De-activate Slave Select.
EmberZNet serial protocol frame — NOP command
Figure 9. EmberZNet serial protocol frame - NOP command example
1. Activate Slave Select (nSSEL).
2. Transmit the appropriate command:
– 0xFE: SPI Byte indicating an EZSP Frame
– 0x02: Length Byte showing the EZSP Frame is 2 bytes long
– 0x00: EZSP Frame Control Byte indicating a command with no sleeping
– 0x05: EZSP Frame Type Byte indicating the NOP command
– 0xA7: Frame Terminator
3. Wait for nHOST_INT to assert.
4. Transmit and receive 0xFF until a byte other than 0xFF is received.
5. Receive response 0xFE (a byte other than 0xFF) and read the next byte for a length.
30/88