Professional Documents
Culture Documents
Table 1.0
The low power sleep mode in the AIM2.0 system is configured with the system
clock (sysclk) running at ~32KHz. The MSI clock (65KHz) is used as the clock
source and this clock will be divided into 2 to get 32KHz. While in low power
sleep mode, all the not connected GPIOs is configured to be in analog mode and
all other components in the system is switched off. To switch off the camera, fpga
and sram, the 2.8V and 1.2V regulators must be disabled. This can be done by
configuring the GPIO pin PC13 in reset mode. Figure 1.0 shows the code to put
the microcontroller in the low power sleep mode. This should make the total
current consumed by the AIM2 system to be in about 6uA.
Figure 1.0
Please note that the GPIO pin 13 should be configure in pull down mode. This is
to make sure that the GPIO is in the same direction with the output.
Configuration in pull-up mode will not achieve lowest current consumption.
The system will be waken up from the low power sleep mode by RTC (Real Time
Clock). The RTC is configured (RTC_Config() function) to be clocked by LSE clock.
The low speed external (LSE) clock is 32 KHz clock and this clock is chosen due
to its stability compared to internal oscillator. The system will be waken up at
every ~4s. To change the wake up interval, the wake up counter can be changed.
In order to get the system to be in the lowest power possible, the
LowPowerSleepMode function have to be called. Figure 1.1 and 1.2 show the
RTC_Config and LowPowerSleepMode functions.
Figure 1.1
Figure 1.2
Figure 1.3