User's Manual

PAGE 27
Technical support (650) 384-0000 www.avalanwireless.com
MOD090-HP
User’s Manual
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 rst 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 rmware 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 ag is set wait.
17. Assert /CS_BB and issue setReset (0x85) command and deassert /CS_BB.