This project demonstrates the LCD peripheral on FG23 (BRD2600A) and PG28 (BRD2506A). The LCD peripheral is configured for low power consumption with all segments enabled.
GSDK v4.4.3
Connect the board via a micro-USB cable to your PC to flash the example.
To take current measurements:
-
Disconnect the board from the PC.
-
Connect the board to the current sensing supply to VMCU and GND.
To test this application, you can either create a project based on an example project or start with an empty example project.
-
Make sure that this repository is added to Preferences > Simplicity Studio > External Repos.
-
From the Launcher Home, add your board to My Products, click on it, and click on the EXAMPLE PROJECTS & DEMOS tab. Find the example project filtering by 'low power'.
-
Click the Create button on the Platform - SegmentLCD Low Power example. Example project creation dialog pops up -> click Finish and Project should be generated.
-
Build and flash this example to the board.
-
Create an Empty C Project project for your hardware using Simplicity Studio 5.
-
Replace the
app.c
file in the project root folder with the providedapp.c
(located in the src folder) according to your board. -
Open the .slcp file. Select the SOFTWARE COMPONENTS tab and install the software components:
- [Platform] → [Peripheral] → [LCD]
- [Services] → [Power Manager] → [Power Manager: Deepsleep]
-
Build and flash the project to your device.
This example enables all LCD segments with no animation or interrupts. The LCD settings have been selected for low power consumption. The contrast and frame rate are readable indoors or outdoors and the display does not flicker.
The typical current consumption for the FG23 BRD2600A board in this configuration is 3.8 uA.
The typical current consumption for the PG28 BRD2506A in this configuration is 6.5 uA.
- Build and flash the hex image onto the board.
- Disconnect the USB.
- Connect a current sensing power supply to VMCU and GND pin on the board.
- (Optional) In the
app.c
file, set ALL_SEGMENTS to 0 to see power consumption with only one segment enabled.