User's Manual

PAGE 23
Technical support (650) 384-0000 www.avalanwireless.com
MOD090-HP
User’s Manual
BC = 0 means send the packet only to the Device ID specied in the rest of Byte 1.
ID0 to ID6 is the 7-bit integer Device ID of the Subscriber Unit that is to receive
the data. Note that if BC = 1 and there is a non-zero Device ID specied, then all
Subscribers but the one specied will receive the data.
S0 to S10 is the 11-bit integer size of the Data packet in bytes (number of data bytes
being sent).
Reset Command
The setReset command is used to reset the MOD090-HP and can be issued at any
time durning normal operation. After a reset has been issued the MOD090-HP takes
approximately 300 ms to restart. After restart all previously congured data (Public
and Private Keys, Device ID and type) will be lost.
setReset SPI Mode:
0x85
UART Mode:
0x84
There are no other bytes required to reset the device. The host microcontroller
should simply issue the setReset command.
Firmware Upgrading
If an update of the MOD090-HP’s rmware becomes desirable, a new rmware
image will be supplied by AvaLAN. If a USB interface exists, such as that used in the
EVAL board and recommended for UART applications, then the rmware upgrade
will be handled by a software utility provided by us. If the MOD090-HP is used in SPI
mode and you wish to build rmware update into your host microcontrollers code,
here is how to do it.
The following information applies to SPI Mode only:
Once a setFirmwareStart (0x8B) command has been issued to the MOD090-HP,
all other commands except for setPacket (0x8A) and setFirmwareEnd (0x8C)
become invalid and will cause the Error Flag to assert if they are issued. The host
microcontroller must deassert the /CS_BB line (pin 12) and then wait for a minimum
of 5 µs and the DATA Ready line (pin 9) to be asserted before reasserting /CS_BB to
send the rst data block.
The rmware image is partitioned into data blocks with a payload size of 64 bytes.
Each block is sent as it’s own transaction and must use the setPacket command to
be issued to the MOD090-HP. Since data can be submitted to the MOD090-HP faster
than it can be stored in ash, the FIFO Full line must be carefully observed to make
sure none of the blocks are lost.