Embedded Artists Low-power Application Kit (Oryx) EA-APP-002 EA-APP-002 Datenbogen

Produktcode
EA-APP-002
Seite von 34
Low-power Application Kit (Oryx) - User’s Guide 
Page 30 
 
 
 
Copyright 2012 © Embedded Artists AB 
 
resistor. A 2.5uA current will result in a 7.5mV voltage drop over a 5K ohm resistor. This is much easier 
to measure. 
Use the sample application called LCD_ADC_temp_wdt-wakeup. Make sure that the symbol 
DISABLE_WDT_WAKEUP is defined (see line 50 in main.c of this sample application).  Rebuild the 
project and download it. By defining the symbol DISABLE_WDT_WAKEUP, the application will stay n 
power down mode forever, once entered. The WDT will not be able to wake up the processor. 
1)  First make sure there is a jumper in JP3. 
2)  Download and start application (LCD_ADC_temp_wdt-wakeup). Wait for error message as 
in Figure 13. That is an indication that the LPC11U37 has entered power down mode. 
3)  Remove the SWD cable between J1 and J10. If not, the current consumption will be much 
higher. 
4)  Then lift the jumper in J3. Measure the voltage over the two JP3 pins. It should be (about) 
7.5mV. This equals 2.5uA current consumption. 
Make sure jumper in JP3 is inserted again. If not it will be impossible to download a new application in 
flash. The voltage drop over the 5K resistor will be much too high when the processor is in 
ISP/bootload mode. Also do not forget to connect the SWD flat cable between J1 and J10. 
The 2.5uA current consumption comes from (about) 2uA from LPC11U37 (since it is in power down 
mode), 0.1uA from accelerometer is low-power mode, 0.2uA from temperature sensor in low-power 
mode, 0.15uA from RTC, 0.1uA from capacitive sensors in inactive mode. 
5.5   The Sample Applications 
This section described the sample applications that have been developed for the board. 
 
Accel_systick_irq-wakeup – this application demonstrates the accelerometer features 
including tap detection (single and double). The application used sleep mode and wakes up 
from sleep by an interrupt from the accelerometer or systick counter (for refreshing the LCD). 
 
DeepPowerDown – this application demonstrates the program structure needed when 
working with deep power down. The application counts the number of times the wakeup push-
button is pressed. 
 
DemoApp – this is the pre-loaded application that the boards are delivered with. 
Note that the production test application must first be run to store the bmp pictures on the 
serial (spi) flash for this application to work. 
 
FlashApp – this application demonstrates how to program bmp pictures to the serial flash. 
 
LCD_ADC_temp_wdt-wakeup – this application demonstrates how the WDT can be used to 
wake up from power down mode. The WDT is the only peripheral active during power down 
mode and it can be used to achieve a regular interrupt for refreshing the LCD. This sample 
application can be used to demonstrate the (about) 2.5uA total power consumption in power 
down
 mode. 
 
LCD_graphics – this application demonstrates the graphical library and the possibilities with 
the graphical LCD. 
 
lib_LPC11U14Dev – this is a library that has been created for the on-chip peripheral. The 
content is mostly from standard driver’s library that NXP provides, but some things have been 
changed to fit the board. Note that this library is compatible with LPC11U37. 
 
lib_OryxDev – this is a library that has been created for the board peripherals, like 
accelerometer, RTC, serial flash, LCD, etc. 
 
ProductionTest – this is not a sample application but the actual application that is used in 
production of the board. This application tests connection with the on-board peripherals and