Aw900mspi user’s manual, Reset command, Firmware upgrading – AvaLAN Wireless AW900mSPI-10 User Manual

Page 24

Advertising
background image

AW900mSPI

User’s Manual

PAGE 24

Technical support (650) 384-0000

www.avalanwireless.com

microcontroller is responsible for avoiding overflow.

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 = 0 means send the packet only to the Device ID specified 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 specified, then all

Subscribers

but the one specified 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 XC1220 and can be issued at any time

durning normal operation. After a reset has been issued the XC1220 takes approxi-

mately 300 ms to restart. After restart all previously configured 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 AW900mSPI’s firmware becomes desirable, a new firmware im-

age 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 firmware upgrade

will be handled by a software utility provided by us. If the AW900mSPI is used in SPI

mode and you wish to build firmware update into your host microcontroller’s code,

Advertising
This manual is related to the following products: