| 数据搜索系统,热门电子元器件搜索 |
|
SN260 数据表(PDF) 32 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SN260 数据表(HTML) 32 Page - STMicroelectronics |
|
32 / 88 page ![]() SPI protocol SN260 32/88 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. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |