CYALKIT-E02 Solar-Powered BLE Sensor Beacon Reference Design Kit Guide, Doc. No. 002-11317 Rev. *C
56
5.2 Firmware Description
This section introduces the firmware initially provided in the Solar-Powered BLE Sensor Beacon RDK. It discusses features
such as the WSN with the BLE Beacon process. Refer to
– Getting Started with EZ-BLE Module
standard reference design, except energy harvesting.
5.2.1 Flow Diagram
is the flow diagram for the example project of the kit firmware.
Figure 5-1. Example Project Flow Chart
Power up
Perform Low Power
startup
Is USB connection
detected?
Start BLE and I2C.
Start WDT counter
for I2C State
machine
Collect Humidity
and temperature
data and send it as
non-conn
advertising data
Put BLE and sensor
to Deep sleep
Wakeup from WDT
interrupt
Y
N
Start command
mode for changing
the parameters
EXIT command
SFLASH Parameter
Reading
N
Is power off by
PMIC?
Y
Firmware operation
Hardware (PMIC) operation