Owner manual
AW2400mSPI
User’s Manual
PAGE 24
Technical support (650) 384-0000 www.avalanwireless.com
microcontrollerisresponsibleforavoidingoverow.
setPacket SPI Mode:
0x8A
UART Mode:
0x89
b7 b6 b5 b4 b3 b2 b1 b0
Byte 1 BC ID6 ID5 ID4 ID3 ID2 ID1 ID0
Byte 2 S7 S6 S5 S4 S3 S2 S1 S0
Byte 3 - - - - - S10 S9 S8
Byte 4 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0
...
Byte 4 is repeated until all the data is sent.
BC is the Broadcast Flag. BC = 1 means send the packet to all Subscriber Units.
BC=0meanssendthepacketonlytotheDeviceIDspeciedintherestofByte1.
ID0 to ID6 is the 7-bit integer Device ID of the Subscriber Unit that is to receive
thedata.NotethatifBC=1andthereisanon-zeroDeviceIDspecied,thenall
Subscribers buttheonespeciedwillreceivethedata.
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 XC1220 and can be issued at any time
durning normal operation. After a reset has been issued the XC1220 takes approxi-
mately300mstorestart.Afterrestartallpreviouslycongureddata(Publicand
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
IfanupdateoftheAW2400mSPI’srmwarebecomesdesirable,anewrmwareim-
age will be supplied by AvaLAN. If a USB interface exists, such as that used in the
EVALboardandrecommendedforUARTapplications,thenthermwareupgrade
will be handled by a software utility provided by us. If the AW2400mSPI is used in
SPImodeandyouwishtobuildrmwareupdateintoyourhostmicrocontroller’s