Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

SN260 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
SN260
ST-Microelectronics
STMicroelectronics ST-Microelectronics
'SN260' PDF : 88 Pages View PDF
SPI protocol
SN260
6.7.4 Three-part transaction: Wake, Get Version, Stack Status Callback
Figure 11. Timing diagram of the three-part transaction
1. Activate nWAKE and activate timeout timer.
2. SN260 wakes up (if not already) awake and enables communication.
3. nHOST_INT asserts, indicating the SN260 can accept commands.
4. Host sees nHOST_INT activation within 10ms and deactivates nWAKE and timeout
timer.
5. nHOST_INT de-asserts immediately after nWAKE.
6. Activate Slave Select.
7. Transmit the Command 0x0A - SPI Protocol Version Request.
8. Transmit the Frame Terminator, 0xA7.
9. Wait for nHOST_INT to assert.
10. Transmit and receive 0xFF until a byte other than 0xFF is received.
11. Receive response 0x81 (a byte other than 0xFF), then receive the Frame Terminator,
0xA7.
12. Bit 7 is always set and bit 6 is always cleared in the Version Response, so this is
Version 1.
13. Deactivate Slave Select.
14. Host begins timing the inter-command spacing of 1ms in preparation for sending the
next command.
15. nHOST_INT asserts shortly after deactivating Slave Select, indicating a callback.
16. Host sees nHOST_INT, but waits for the 1ms before responding.
17. Activate Slave Select.
18. 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
19. Wait for nHOST_INT to assert.
20. Transmit and receive 0xFF until a byte other than 0xFF is received.
21. Receive response 0xFE (a byte other than 0xFF), read the next byte for a length.
22. Stop transmitting after the number of bytes (length) is received plus the Frame
Terminator.
32/88
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]