Aw900mspi user’s manual – AvaLAN Wireless AW900mSPI-10 User Manual

Page 28

Advertising
background image

AW900mSPI

User’s Manual

PAGE 28

Technical support (650) 384-0000

www.avalanwireless.com

9. Get four bytes for Step Number, Peak Power, and Average Power.
10. Repeat step 9 for all data points.
11. Deassert /CS_BB (drive line high) and delay for 6 µs.

Firmware Update Example

1. Assert /CS_BB (drive line low) and issue

setFirmwareStart (0x8B) command

and deassert /CS_BB (drive line high).

2. Delay for 5 µs.
3. Wait for Data Ready to be asserted.
4. While FIFO Full is set wait.
5. Assert /CS_BB and issue

setPacket (0x8A) command and delay for 4 µs.

6. Send first byte as 0x80
7. Send next two bytes as 0x44 and 0x00 respectively, for packet size of 68.
8. Send two bytes to indicate Firmware block offset of following payload.
9. Send 64 payload bytes.
10. Send two bytes for checksum.
11. Delay 4 µs then check Error Flag.
12. If Error Flag is clear then deassert /CS_BB and delay for 4 µs. Prepare next

Firmware block and loop to Step 4.

13. Else if Error Flag is set then deassert /CS_BB and delay for 4 µs. Loop to

Step 4.

14. Repeat steps 4 to 13 until all firmware blocks have been sent.
15. Once all blocks have been sent assert /CS_BB and issue

setFirmwareEnd

(0x8C) command and deassert /CS_BB.

16. While Data Ready flag is set wait.
17. Assert /CS_BB and issue

setReset (0x85) command and deassert /CS_BB.

Advertising
This manual is related to the following products: