S1C17W03/S1C17W04 REMC2 Sample Software Copyright(C) SEIKO EPSON CORPORATION 2016. All rights reserved. History - 29 May, 2015 rev1.0.0 Newly developed. - 16 Dec, 2015 rev1.1.0 Add GNU17v3 project. - 19 Jan, 2016 rev1.1.1 Change GNU17v3 project file. ----------------------------------------------------------------------------- 1. Folder Configuration s1c17w03_w04_remc2_sample |_ inc_w03 Header file for S1C17W03 |_ inc_w04 Header file for S1C17W04 |_ s1c17w03_w04_remc2_gnu17v2 Sample project for GNU17v2 |_ s1c17w03_w04_remc2_gnu17v3 Sample project for GNU17v3 2. Sample Software Specification This sample software executes the processing shown below using the REMC2 circuit embedded in the microcontroller. - Transmit data in NEC format 3. Hardware Requirements This sample software use P00 for REMO, as IR remote controller transmit data output. See technical manual of the microcontroller on connection between the microcontroller and an external infrared module. 4. Behavior 1) Transmit Frame data, which consists of Leader, Customer Code, Data, inverted Data, and Stop. 2) Transmit Repeat data approx 108ms after transmission of the Frame data. 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 [S1C17W03], copy the [c17w03_reg.h] file and [reg] folder under[inc_w03] subfolder into [inc] subfolder in the sample software's [s1c17w03_w04_remc2_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 "s1c17w03_w04_remc2_gnu17v2" project. For GNU17v3.x, select "s1c17w03_w04_remc2_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 S1C17W03 and S1C17W04. Before using the sample software, follow instructions below to adjust the sample software either to S1C17W03 or S1C17W04 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. As to configurations on GNU17 in detail, refer to S5U1C17001C Manual. EOF