SN260
6.7.3
SPI protocol
6. Stop transmitting after the number of bytes (length) is received plus the Frame
Terminator.
7. Decode the response:
– 0xFE: SPI Byte indicating an EZSP Frame
– 0x02: Length Byte showing the EZSP Frame is 2 bytes long
– 0x80: EZSP Frame Control Byte indicating a response with no overflow
– 0x05: EZSP Frame Type Byte indicating the NOP response
– 0xA7: Frame Terminator
8. De-activate Slave Select.
SN260 reset
Figure 10. SN260 reset example
1. nHOST_INT asserts.
2. Activate Slave Select (nSSEL).
3. Transmit the 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
– 0x06: EZSP Frame Type Byte indicating the callback command
– 0xA7: Frame Terminator
4. Wait for nHOST_INT to assert.
5. Transmit and receive 0xFF until a byte other than 0xFF is received.
6. Receive response 0x00 (a byte other than 0xFF).
7. Receive the Error Byte and decode (0x02 is enumerated as RESET_POWERON).
8. Receive the Frame Terminator (0xA7).
9. Response 0x00 indicates the SN260 has reset and the Host should respond
appropriately.
10. Deactivate Slave Select.
11. Since nHOST_INT does not assert again, there is no more data for the Host.
31/88