S1C17W14/S1C17W16 LCD8B Sample Software Copyright(C) SEIKO EPSON CORPORATION 2016. All rights reserved. History - 28 May, 2015 rev1.0 Newly developed. - 06 Jan, 2016 rev1.1 Add GNU17v3 project. -------------------------------------------------------------------- 1. Folder Configuration s1c17w14_w16_lcd8b_sample |_ inc_w14 Header file for S1C17W14 |_ inc_w16 Header file for S1C17W16 |_ s1c17w14_w16_lcd8b_gnu17v2 Sample project for GNU17v2 |_ s1c17w14_w16_lcd8b_gnu17v3 Sample project for GNU17v3 2. Sample Software Specification This sample software executes the processing shown below using the LCD8B driver embedded in the microcontroller. - Turns all LCD segments on and off by way of normal display control - Turns all LCD segments on and off by way of "All on" and "All off" control - Turns all LCD segments off by way of "Display off" control 3. Hardware Requirements See technical manual of the microcontroller on connection between the microcontroller and LCD panel. 4. Behavior 1) All the LCD segments go on by way of normal display control in three seconds after the sample program is executed. 2) All the LCD segments go off by way of normal display control in three seconds. 3) All the LCD segments go on by way of "All on" control in three seconds. 4) All the LCD segments go off by way of "All off" control in three seconds. 5) All the LCD segments go on by way of "All on" control in three seconds. 6) All the LCD segments go off by way of "Display off" control in three seconds. 5. Adjustment This sample software includes GNU17v2.x and GNU17v3.x source code. Before using the sample software, follow instructions below to adjust the sample software either to GNU17v2.x or GNU17v3.x used. 1)Copy the header files for each model to sample software's [inc] folder. For example,if the target is [S1C17W14], copy the [c17w14_reg.h] file and [reg] folder under[inc_w14] subfolder into [inc] subfolder in the sample software's [s1c17w14_w16_lcd8b_gnu17vx] folder. 2)Open Import Wizard to import this sample program into workspace. [File] > [Import] > [General] > [Existing Projects into Workspace] 3)Select the folder containing the sample program. For GNU17v2.x, select "s1c17w14_w16_lcd8b_gnu17v2" project. For GNU17v3.x, select "s1c17w14_w16_lcd8b_gnu17v3" project. 4)Check "Copy projects into workspace" and click "Finish" to import. This sample software includes header files defining peripheral circuit control registers of both S1C17W14 and S1C17W16. Before using the sample software, follow instructions below to adjust the sample software either to S1C17W14 or S1C17W16 used. 1) Select target CPU, which is in one of property when [Properties] is selected from project of the sample software. 2) Set the Debugger Startup Commands for the microcontroller on [GNU17 GDB Commands] dialog box, which is one of the property lists. Click [Create commands from template], select ICDmini for [Debugger], and [Overwrite] the command file for GNU17v2.x. 3) Select microcontroller used at upper portion in init.h. 4) Select stack pointer value in boot.c for GNU17v3.x. As to configurations on GNU17 in detail, refer to S5U1C17001C Manual. EOF