Download Implementing Bluetooth LE in a Tracking Device

Transcript
35
6.2.4.1 Power Down State
As a result of initialization, the state machine transits to Power Down state. The Power
Down state can be triggered anytime by the user with a configure request. The purpose
of the state is to run shutdown procedure for the chip. This is done simply by setting the
reset signal to low state. The state is valid until the module receives a configure request from the user.
6.2.4.2 Init State
As a result of the configure request, the state machine transits to the Init state. The
state can also be triggered by any other state in case of error. An error could occur, for
example, if the chip does not respond to a command within certain time. The purpose
of the state is to reset and execute the start-up procedure to the chip. The start-up procedure is a multi-step process in which the configuration file is loaded to the chip including the Bluetooth address for the device. When initialization is completed, the state
machine will transit to the idle state. The message sequence chart in figure 19 shows a
successful start-up procedure.