Achieve lowest consumption with the CC26xx demo:

This changes the CC26xx simple demo so that a devices running this firmware will achieve the lowest possible energy consumption without requiring any changes to the example
This commit is contained in:
George Oikonomou 2015-05-01 17:05:46 +01:00
parent 019143226b
commit 7e00eeb76a
2 changed files with 0 additions and 12 deletions

View File

@ -6,8 +6,6 @@ boards. More specifically, the example demonstrates:
* How to take sensor readings * How to take sensor readings
* How to use buttons and the reed relay (triggered by holding a magnet near S3 * How to use buttons and the reed relay (triggered by holding a magnet near S3
on the SensorTag). on the SensorTag).
* How to keep a power domain powered and a peripheral clocked under low power
operation
* How to send out BLE advertisements. The device will periodically send out BLE * How to send out BLE advertisements. The device will periodically send out BLE
beacons with the platform name as payload. Those beacons/BLE ADV packets can beacons with the platform name as payload. Those beacons/BLE ADV packets can
be captured with any BLE capable device. Two such applications for iOS are the be captured with any BLE capable device. Two such applications for iOS are the

View File

@ -77,12 +77,6 @@
* - The example also shows how to retrieve the duration of a * - The example also shows how to retrieve the duration of a
* button press (in ticks). The driver will generate a * button press (in ticks). The driver will generate a
* sensors_changed event upon button release * sensors_changed event upon button release
* - UART : Receiving an entire line of text over UART (ending
* in \\r) will cause CC26XX_DEMO_LEDS_SERIAL_IN to toggle
* This also demonstrates how a code module can influence
* low-power operation: In this example we keep the UART on
* and capable to RX even with the chip in deep sleep.
* see keep_uart_on() and the UART driver
* - Reed Relay : Will toggle the sensortag buzzer on/off * - Reed Relay : Will toggle the sensortag buzzer on/off
* *
* @{ * @{
@ -384,8 +378,6 @@ PROCESS_THREAD(cc26xx_demo_process, ev, data)
get_sync_sensor_readings(); get_sync_sensor_readings();
init_sensor_readings(); init_sensor_readings();
keep_uart_on();
while(1) { while(1) {
PROCESS_YIELD(); PROCESS_YIELD();
@ -440,8 +432,6 @@ PROCESS_THREAD(cc26xx_demo_process, ev, data)
button_select_sensor.value(BUTTON_SENSOR_VALUE_DURATION)); button_select_sensor.value(BUTTON_SENSOR_VALUE_DURATION));
#endif #endif
} }
} else if(ev == serial_line_event_message) {
leds_toggle(CC26XX_DEMO_LEDS_SERIAL_IN);
} }
} }