Synergy Software Package Pin Configurator Usage

Similar documents
SEGGER J-Link Lite for Renesas Synergy TM

PK-S5D9 v1.0 Out-of-Box Demonstration Programming Guidelines

Customizing a SSP Module

Out-of-Box Demonstration for S1/S3/S5 Target Boards

e² studio Pin Configurator Usage

Getting Started with NetX Duo Web Server

Renesas Synergy Project Import Guide

Renesas Flash Programmer V

Simple Audio Playback Example for DK-S124

USER S MANUAL. Features. Evaluation System Contents. JESD204B High Speed ADC. Evaluation Kit. AN1809 Rev 0.00 Dec 5, 2012

IAR Embedded Workbench for Renesas Synergy v8.21.1

Synergy Standalone Configurator (SSC) v Release Note. Renesas Synergy Platform Synergy Tools & Kits. Release Note

USER S MANUAL ISL55110_11EVAL1Z, ISL55110_11EVAL2Z. Before Getting Started. BNC Connections. Scope Probe Connections. Power Down Feature

APPLICATION NOTE. Introduction. Copying the SPICE Netlist. Model Editor. From SPICE Netlist to Allegro Design Sub-Circuit. AN1613 Rev.0.

USER S MANUAL ISL2800XEVAL1Z. Introduction. Reference Documents. Evaluation Board Schematic. Power Supplies. Optional Transient Protection

Target Board S1JA (TB-S1JA)

APPLICATION NOTE. Basic SPI Bus Information. Bus Configuration and SPI Protocol of Multiple DCPs. SPI Protocol and Bus Configuration of Multiple DCPs

FIGURE 1. DIGITAL POT POWER TRENDS

e² studio V7.0.1 Linux Host Public Beta for RZ

1. Uses of Breakpoints... 2

Target Board S5D5 (TB-S5D5)

PG-FP6 Gang Programmer V1.00 User s Manual

Debugging Your Application with IAR C-SPY

R-IN, RZ/T1, TPS-1 Groups

USBX CDC ACM (Device) for Target Boards

PB0 25 PB1 26 PB2 27 PB3 28 PB4 29 PB5 30 PB6 31 PB7 32 VCC PC0 9 PC1 10 PC2 11 PC3 12 PC4 13 PC5 14 PC6 15 PC7 16

Block Media RAM Framework Module Guide

USER S MANUAL ISL54206AEVAL1Z. Picture of Evaluation Board (Top View) Description. Board Architecture/Layout. Features.

APPLICATION NOTE. 16-Bit Data Bus Operation. Summary of 16-Bit Data Bus Performance. 80C286/80386 Hardware Comparison. AN112 Rev 1.

USER S MANUAL. Key Board Features. Description. References. Specifications. Ordering Information ISL91110IIN-EVZ, ISL91110II2A-EVZ, ISL91110IIA-EVZ

APPLICATION NOTE. Introduction. Scope. Hardware Connections. Serial Port Operation. The X24C44 NOVRAM Teams up with 8051 Microcontrollers

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

USER S MANUAL. Description. Evaluation Board. Board Architecture/Layout. Features

RL78 Family Flash Self-Programming Library Type01 Ver.2.21 for the CC-RL compiler

USER S MANUAL. Description. Key Features. References. Specifications. Ordering Information ISL9120IIA-EVZ. Evaluation Board User Guide

1. Overview TPS-1 GUI Configuration Tool Procedure of configure TPS Error Code... 9

Getting Started Guide for Heartbeat Kit

R-IN32M3-EC, EC-1, RZ/T1

1. Opening the sample code workspace Loading the selected sample code project Opening Sample Code and Source Files...

Getting Started Guide for LED Toggle Kit

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

1. Overview BACnet Demo Software Architecture Programming and Debugging Building Sample Project... 5

1. Overview Board Specifications S3 Series Board System... 3

Migrating Existing e 2 studio Projects to IAR Embedded Workbench for Renesas Synergy

Development Kit S124 (DK-S124)

USER S MANUAL. ISL54059EVAL1Z Through ISL54064EVAL1Z. Description. Picture of Evaluation Board (Top View) Board Architecture/Layout.

Introduction to Renesas Synergy SSP v.1.2.0

Introduction Serial Programing... 2 Write Cycle... 2 Read Cycle... 2 Shared Timing Requirements Write Timing Diagram...

USBX Device Class Mass Storage Module Guide

AP4 for RH850 V

Development Kit S128 (DK-S128)

EX 6 XT 5 RESET 2 3 INT VCC FIGURE 1. TYPICAL HARDWARE CONNECTION FOR INTERFACING AN X24C44 TO A 6805 MICROCONTROLLER.

1. Installation Creating the Project Workspace Adding Sample Code into DS Adding GNU Toolchain Support for DS-5...

APPLICATION NOTE. Hardware Implementation. Power-On-Reset (POR) Software Implementation. Low Voltage Reset (LVR) Watchdog Timer

1. Overview of RX DSP Library System Requirements for the Sample Project... 2

I²C Slave HAL Module Guide

COMMON INFORMATION. AC Power Faults. Introduction. Overview of Telecom and ESD Standards. Transients. Electrostatic Discharge (ESD) Lightning

I/O Port HAL Module Guide

1. RTC HAL Module Features RTC APIs Overview RTC HAL Module Operational Overview... 3

Mutual Capacitive Touch Software Application Design with Synergy S124 and S3A7 MCUs

PA3 PA4 PA5 PA6 PA7 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 VCC PD0 PD1 PD2 PD3 PD4 PD5 MODA MODB 27 AS 26 R/W 28

Checking Analog Inputs in Sleep State in S3A7

Renesas Starter Kit Sample Code for Cubesuite + Toolchain

QE for USB: A Dedicated Tool for USB

USBX Mass Storage Class (Device)

1. Overview Hardware Hardware Configuration Clock Settings Pin Settings... 6

1. Kit Contents Features Device Components Programming to the SK-S7G2 Starter Kit... 15

Renesas Synergy Project Import Guide

GUIX "Hello World" for PE-HMI1

GUIX "Hello World" for PE-HMI1

R-IN32M3 Series APPLICATION NOTE. EtherNet/IP Transfer Procedure Startup Manual. Outline. Target Devices. Sample Program. R01AN4281EJ0100 Rev.1.

1. DTC HAL Module Features DTC HAL Module APIs Overview DTC HAL Module Operational Overview... 3

USBX Device Class HID Module Guide

R20AN0311EJ0106 Rev.1.06 Interface conversion module for Ethernet Driver and Embedded system M3S-T4-Tiny Nov 30, 2016

USER S MANUAL ISL54200EVAL1Z. Features. Description. Picture of Evaluation Board (Top View) Evaluation Board User s Manual

Renesas Flash Programmer V

JPEG Decode Framework Module Guide

Key Matrix HAL Module Guide

APPLICATION NOTE. Introduction. RTC Device Power Connections. Addressing Power Issues in Real Time Clock Applications. AN1549 Rev 0.

Old Company Name in Catalogs and Other Documents

External IRQ HAL Module Guide

USER S MANUAL ISL59481EVAL1Z. Introduction. Getting Started. Evaluation Board Jumper, Cable Header, and Switch Descriptions.

Bluetooth Low Energy on DK-S7G2 and DK S3A7

Self-Capacitive Touch Software Application Design with Synergy S124 and S3A7 MCUs

USER S MANUAL. Description. Initial Set-Up ISL59605-SPI-EVALZ. Power Connections. Evaluation Board (with Serial Interface) Operation (Rev 1.0 to 4.

Self-Capacitive Touch Software Application Design with Synergy S124 and S3A7 MCUs

GUIX Studio v Release Note. Renesas Synergy Platform Synergy Software Express Logic GUIX Studio v

USER S MANUAL ISL6236EVAL2. Quick Setup Guide. Description. What s Inside. Summary. What s Needed. Evaluation Kit Chipset Application

RZ/T1 Group APPLICATION NOTE. EtherNet/IP Transfer Procedure Startup Manual. Outline. Target Devices. Sample Program

USER S MANUAL ISL54214EVAL1Z/ISL54217EVAL1Z. Features. Picture of Evaluation Board (Top View) Board Architecture/Layout.

Renesas Synergy APPLICATION NOTE. Project Migration Guide: SSP v1.0.0 to SSP v Introduction. Goals and Objectives.

Old Company Name in Catalogs and Other Documents

USER S MANUAL. Description. Features. ISL54224IRTZEVAL1Z Evaluation Board ISL54224IRTZEVAL1Z. Evaluation Board. AN1571 Rev 0.

Old Company Name in Catalogs and Other Documents

e 2 studio ISDE v6.2.0

GUIX "Hello World" for SK-S7G2 and PK-S5D9

GUIX "Hello World" for DK-S7G2

Renesas Synergy S124 APPLICATION NOTE. Cloud Sensor Demo Kit Quick Start Guide. Introduction. Target Device. Related documents

Tools used Renesas R32C/100 Standard Toolchain version (compiler, assembler, linker): E8a in-circuit debugger.

Using ADC to Wake Up the MCU from Low Power Modes

Transcription:

Application Note Renesas Synergy Platform Synergy Software Package Pin Configurator Usage R20AN0512EU0100 Rev.1.00 Introduction This application note describes how to use the pin configurator for Renesas Synergy Platform in e 2 studio or the IAR Embedded Workbench for Renesas Synergy (IAR EW for Synergy). Objectives The objective of this application note is to help users to be familiar with the procedure of configuring Pins of the Synergy project by using the Pin Configurator of e 2 studio or IAR EW for Synergy. Required Resources The procedure in this application note applies to all Renesas Synergy devices and development boards. Before following the procedure in this application note, make sure the following resources are available: A PC running Microsoft Windows 7 or 10 with the following Renesas software installed: IAR EW for Synergy v8.21.1 or greater or e 2 studio ISDE v6.2.0 or greater Synergy Software Package (SSP) v1.4.0 or greater Renesas Synergy Standalone Configurator (SSC) v6.2.0 or greater (only for IAR EW for Synergy). You can download the required Renesas software and view the installation instruction from the Renesas Synergy Platform (renesas.com/synergy). R20AN0512EU0100 Rev.1.00 Page 1 of 35

Contents 1. Generating a Synergy Project... 3 1.1 Generating a Synergy Project using e 2 studio... 3 1.2 Generating a Synergy Project using IAR EW for Synergy... 6 2. Launching Pin Configuration... 10 2.1 Launching Pin Configuration using e 2 studio... 10 2.2 Launching Pin Configuration using IAR EW for Synergy... 11 3. Pin Configuration GUI... 12 4. How to use the Select pin configuration pane... 12 4.1 GUI Introduction... 12 4.2 Using Single Pin Configuration file (default)... 13 4.3 Using Multiple Pin Configuration files... 14 4.4 Importing a Pin Configuration... 15 4.5 Changing the selected device of Pin Configuration file... 17 5. How to use the Pin Selection pane... 18 6. How to use the Pin Configuration pane... 21 7. How to use the Package View... 24 8. Generating Pin Configuration source code... 28 8.1 Generating source code in e 2 studio... 28 8.2 Generating source code in IAR EW for Synergy... 30 9. Additional Information... 32 Revision History... 35 R20AN0512EU0100 Rev.1.00 Page 2 of 35

1. Generating a Synergy Project This chapter describes how to create a Synergy C project used for demonstrating the operation of the pin configurator. If you already have a Synergy project, skip to chapter 2. 1.1 Generating a Synergy Project using e 2 studio 1. Open e 2 studio and launch a workspace. Select File New Synergy C Project to open the project creation wizard. Figure 1 New Synergy C Project 2. Select the Renesas Synergy C Executable Project and click Next. R20AN0512EU0100 Rev.1.00 Page 3 of 35

3. In project creation wizard, input project information: Project name: enter a name, for example, Pin_Configurator_Example Use default location: Checked Toolchain: GCC ARM Embedded. License: In case license file is not input, click Change license file to open the Synergy License dialogue box. Click button and browse to this location for license: {e2 studio installed folder} \ internal\projectgen\arm\licenses and select license file in XML format. This license file is available only when SSP is installed. Click Next button to continue. Figure 2 Synergy Project Creation Wizard 4. In Device Selection dialog, input device and tool information: Board: S7G2 DK Toolchain version: Latest GNU compiler approved for use with Renesas Synergy. Currently 4.9.3.20150529 Other fields are kept as default as shown in the following figure. Click Next button to continue. R20AN0512EU0100 Rev.1.00 Page 4 of 35

Figure 3 Device Selection 5. In project templates dialog, select project type: Blinky and then click Finish to create project. Figure 4 Project Templates 6. You may be prompted to open the Synergy Configuration perspective. Click Yes to open the perspective. Figure 5 Open Synergy Configuration Perspective R20AN0512EU0100 Rev.1.00 Page 5 of 35

7. New Synergy Project is successfully created and launched in Synergy Configuration perspective. There are 3 panes in this perspective: Project Explorer, Synergy Configuration, and Package. Figure 6 New project opened in Synergy Configuration Perspective 1.2 Generating a Synergy Project using IAR EW for Synergy 1. In the IAR EW for Synergy menu, choose Renesas Synergy New Synergy Project. Figure 7 Create New Project R20AN0512EU0100 Rev.1.00 Page 6 of 35

2. In the Save Workspace As dialog box that appears, choose a workspace location, and enter the workspace name, for example, MyWorkspace and click Save. Figure 8 Save Workspace 3. In the Renesas Synergy Settings dialog box that appears, specify: Location where Renesas Synergy SSC/SSP is installed is C:\Renesas\Synergy\SSC_SSC version (default installation folder). License file is C:\Renesas\Synergy\SSC_SSC version\internal\projectgen\arm\licenses Note 1: The SSP license MUST be installed under the SSC_SSC version folder. Note 2: If the license is installed in e 2 studio, user may copy the internal folder of e 2 studio (C:\Renesas\e2studio \internal\projectgen\arm\licenses) to SSC_SSC version folder. Replace encrypted files with decrypted files: unchecked. Figure 9 Renesas Synergy Settings R20AN0512EU0100 Rev.1.00 Page 7 of 35

4. In the Save As dialog box that appears, choose the folder location to save the project and enter the project name, for example, Pin_Configurator_Example, and click Save. Figure 10 Save project 5. When the Synergy Standalone Configurator opens, specify: SSP version: 1.4.0 Board: S7G2 DK Device: R7FS7G27H2A01CBD Click Next. Figure 11 Device Selection R20AN0512EU0100 Rev.1.00 Page 8 of 35

6. In the Project Template Selection, select Blinky. Click Finish. Figure 12 Select project template 7. The Synergy Standalone configurator window will be launched. Figure 13 Synergy Configurator R20AN0512EU0100 Rev.1.00 Page 9 of 35

8. We will work with the above configurator later. For now, switch back to IAR EW for Synergy window. The Synergy project is generated successfully. 2. Launching Pin Configuration Figure 14 Project is created This section describes how to launch the Pin Configurator using e 2 studio or IAR EW for Synergy. 2.1 Launching Pin Configuration using e 2 studio In e 2 studio, double click the file Configuration.xml in Project Explorer to open the Synergy Configuration Editor. When launching the Synergy Configuration Editor, the first page displayed is the Summary page. Click the Pins tab to open the Pin Configurator page. Figure 15 Launch Synergy Configuration Editor in e 2 studio R20AN0512EU0100 Rev.1.00 Page 10 of 35

2.2 Launching Pin Configuration using IAR EW for Synergy The Synergy Standalone configurator has been opened in step 8 of section 1.2. If the configurator is closed, in the IAR EW for Synergy menu, choose Renesas Synergy Configurator to open it again. User can also click on the icon on the toolbar to open the configurator. Figure 16 Launch Synergy Configuration Editor in IAR EW for Synergy When launching the Synergy Configuration Editor, the page displayed is the Summary page. Click the Pins tab to launch the Pin Configurator page. Figure 17 Launch Pin page R20AN0512EU0100 Rev.1.00 Page 11 of 35

3. Pin Configuration GUI The Pins Configurator allows you to configure the pins in the Synergy project. The GUI of the Pins Configurator in e 2 studio and IAR EW for Synergy are the same. The main parts are as follows: Select pin configuration Pin Selection Pin Configuration Package Figure 18 Pins Configurator GUI The details on how to use each part of the Pins Configurator will be described in the following sections. 4. How to use the Select pin configuration pane The Select pin configuration pane is used to select pin configuration file. A pin configuration file represents the setting for a specific Synergy device. When modifying pin settings, the changes will be saved to the pin configuration file. 4.1 GUI Introduction The Select pin configuration pane consists of the following components: Pin configuration drop-down list: allows user to select an existing pin-configuration file or create a new configuration file. Generate data Checkbox: checked by default. Generate pin configuration to source code. Text box: contains the name of the data structure to be generated for the pin-configuration. The default name is g_bsp_pin_cfg. User can use the default name or rename it. Pins Tutorial link: opens a tutorial video on web browser. Select device button: changes the device of the pin configuration. Import button: imports an existing (compatible) pin configuration into Synergy project. Figure 19 Select pin configuration R20AN0512EU0100 Rev.1.00 Page 12 of 35

4.2 Using Single Pin Configuration file (default) When a new Synergy project is created, two Pin-configuration files with extension.pincfg will be generated by default. These Pin configuration files are named after the device name, R7FS7G27H2A01CBD.pincfg and board name, S7G2- DK.pincfg. In e 2 studio, they are displayed in the Project Explorer window. Figure 20 Pin configuration files in e 2 studio In IAR EW for Synergy, the pin configuration files are not displayed in the Workspace window. To view it, you should open Windows Explorer and go to the project folder. Figure 21 Pin configuration files in IAR EW for Synergy Two pin configuration files are created by default, however, only the file S7G2-DK.pincfg (named after the board name) is used, and R7FS7G27H2A01CBD.pincfg is not used. Normally, you can ignore the R7FS7G27H2A01CBD.pincfg and perform all pin configurations with S7G2-DK.pincfg. R20AN0512EU0100 Rev.1.00 Page 13 of 35

Figure 22 Only the S7G2-DK.pincfg is used 4.3 Using Multiple Pin Configuration files A Synergy project usually only needs to use one pin configuration file. However, in some applications, multiple pinconfiguration files are needed. It allows dynamic switching of pin configurations during run time, such as for setting of different power modes. The multiple pin configurations will be created in different data structures. The following steps describe how to use multiple pin configuration files: 1. If only one more pin configuration is needed, user can make use of the other unused pin-configuration file. Select the R7FS7G27H2A01CBD.pincfg in the drop-down list, check the check box and input a unique name in the text box. Figure 23 Use the R7FS7G27H2A01CBD.pincfg 2. After step 1, if more pin configurations are needed, you must manually create a new pin configuration file. Select <New default configuration > in the configuration drop-down list to create a new configuration file. Rename the newly created configuration file as you like. Figure 24 Create a new pin configuration file R20AN0512EU0100 Rev.1.00 Page 14 of 35

3. The new configuration file is automatically added to the Select pin configuration drop-down list. Figure 25 New configuration file is added to the drop-down list 4. Select NewName.pincfg in the drop-down list and enter a unique name for it in the text box, for example NewConfig. 4.4 Importing a Pin Configuration Figure 26 Unique name for the new pin configuration User can import an existing, compatible Pin Configuration into Synergy project. This is a partial import, which means that the new setting will be merged to the current settings. The following steps describe how to use the import function. 1. Select a pin configuration file to import to. In this case, select the NewName.pincfg created in section 4.3. Figure 27 Select NewName.pincfg 2. Click on the button to open the Import Pin Configurations from File dialog. Figure 28 Click the Import button 3. In e 2 studio, click on Workspace..., to select the file from your workspace, or click on File System... to select file from file system. In IAR EW for Synergy, click on File System... to select file from file system. In this example, click File System, go to the Project Folder and select S7G2-DK.pincfg file to import. R20AN0512EU0100 Rev.1.00 Page 15 of 35

Figure 29 Import Setting from S7G2-DK.pincfg 4. Click OK. If there is no conflict, the setting of S7G2-DK.pincfg will be imported to NewName.pincfg. 5. If conflicts exist, the import function points out conflicts and provides the following options: A. Cancel the import operation. B. Ignore the conflicts and import the conflicting settings anyway. C. Continue the import operation without importing the conflicting settings. Figure 30 Conflicts found during the import process R20AN0512EU0100 Rev.1.00 Page 16 of 35

4.5 Changing the selected device of Pin Configuration file You can change the device in a pin configuration file. The following steps describe how to use this function. 1. Select a pin configuration file to change the device. In this case, select the NewName.pincfg created in section 4.3. Figure 31 Select pin configuration file 2. Click the button to open the drop-down list and select the desired device to change to. In this example, we change the device from renesas.s7g2_bd to renesas.s7g2_fc. Figure 32 Change the selected device R20AN0512EU0100 Rev.1.00 Page 17 of 35

3. The MCU package of the new device selected will be displayed in the Package view. Note: This change only affects the current selected pin configuration. The device of other pin configurations remains unchanged. In e 2 studio, the Package view is opened by default in the Synergy Configuration perspective. If it is closed, select Window Show View Pin Configurator Package to open it. Figure 33 Package view is updated after changing device 4. If conflicts exist, the device changing function points out conflicts and provides the following options: A. Cancel the device changing operation. B. Ignore the conflicts and continue to change the device; conflicting settings will be imported. C. OK to continue changing device; conflict settings will not be imported. Figure 34 Conflicts found during changing device 5. To continue the procedure in chapter 5, change the pin configuration from NewName.pincfg back to S7G2- DK.pincfg. 5. How to use the Pin Selection pane The Pin Selection pane shows all the Pins that are available for the device. The pins are categorized into groups - Ports, Peripherals, and Other Pins. Note: The usage of Pin Selection is the same for IAR EW for Synergy and e 2 studio. R20AN0512EU0100 Rev.1.00 Page 18 of 35

1. The Pin Selection pane contains: A. A filter text box. B. A Clear button. C. An Expand All button. D. A Collapse All button. E. A Pins tree that contains the categorized Pins. Clear Filter text box Pins tree Collapse All Expand All Figure 35 Pin Selection Pane 2. Typing text in the filter text box will list out the Pins that contain the text. Clicking on the Clear button will clear the text box and the filter results. Figure 36 Use the filter text box R20AN0512EU0100 Rev.1.00 Page 19 of 35

3. The Expand All button and the Collapse All button will expand and collapse the Pins tree respectively. Figure 37 Use the Expand All and Collapse All button 4. Selecting a port or peripheral in the Pin Selection pane will show its settings in the Pin Configuration area. It can then be modified and set up as necessary. The icon of the selected pin will also be marked with blue border in the Package view. Figure 38 Select a Port in Pin Selection pane R20AN0512EU0100 Rev.1.00 Page 20 of 35

6. How to use the Pin Configuration pane The Pin Configuration pane allows user to change the setting of Ports and Peripherals that are selected in the Pin Selection pane. Note: The usage of Pin Configuration is the same for IAR EW for Synergy and e 2 studio. 1. The Pin Configuration pane contains: A Lock/Unlock Settings button A Setting Area Setting Area Lock/Unlock Settings Figure 39 Pin Selection Pane 2. Click on the Lock/Unlock Setting button will disable/enable the modification of the selected item in the Pin Configuration pane. Figure 40 Lock a selected Pin R20AN0512EU0100 Rev.1.00 Page 21 of 35

3. Click on the (follow connection) button in the setting area of a connected pin will take user to the setting area of the corresponding Peripheral and vice versa. Figure 41 Switching between Pin and Peripheral setting R20AN0512EU0100 Rev.1.00 Page 22 of 35

4. If a module setting is configured incorrectly, that module will be marked with the error symbol in Pin Selection pane and Pins Configuration pane. The details of the conflicts will be shown in the Pin Conflicts or Problems window. All conflicts need be resolved before generating the source code. For example, in DEBUG0 module, change the TCK to None to make a wrong setting. After finishing, change it back to P300. Figure 42 Error in Pin Configuration 5. After the Pins are configured correctly, press Ctrl+S to save the changes. An asterisk (*) indicates that the changes in setting is not saved. Press [Ctrl+S] to save it Figure 43 Unsaved setting R20AN0512EU0100 Rev.1.00 Page 23 of 35

7. How to use the Package View The Package view displays all available Pins in the device along with their attributes. Note: The usage of Package view is the same for IAR EW for Synergy and e 2 studio. In e 2 studio, the Package view is opened by default in the Synergy Configuration perspective. If it is closed, select Window Show View Pin Configurator Package to open it. 1. The Package view contains the following items, as shown in Figure 44: A Pins table Display all the pins along with their attribute. The Pins attribute are shown as background color and label. Zoom In, Zoom Out buttons Zoom in and zoom out the Pins table. A Select Attribute for Background Color button Change the background colors of the pin according to the Pin attributes selected. A Select Attribute for Labels button Switch between the module name and symbolic name of the Pins. Description Text Describe the color being used in the Pins table. Select Attribute for Labels Select Attribute for Background Color Zoom In, Zoom Out Pins table Description Text Figure 44 Package View GUI R20AN0512EU0100 Rev.1.00 Page 24 of 35

2. When an item in the Pin Selection is selected, all the corresponding pins will be bordered with a blue line. In this example, PB04, PB05, PB02 and PB03 are used by the Serial Communications Interface (SCI8), so they are marked by a blue line in the Package view. Figure 45 Pins of SCI8 are marked with blue line in Package view 3. Selecting a Pin in the Package view will show its setting in the Pin Configuration pane. Figure 46 Select a Pin in Package view R20AN0512EU0100 Rev.1.00 Page 25 of 35

4. When a pin is configured correctly, it is marked with an (OK) symbol. If it is incorrectly configured, it is marked with (Error) symbol. Error pin setting Correct pin setting Figure 47 Correct and error symbol in Package view R20AN0512EU0100 Rev.1.00 Page 26 of 35

5. You can change the background color of the Pins based on the selected attribute. Click on the button on the top right corner of the Package view to show the drop-down list: Connection Status (default): Error, Warning, OK Drive Capacity: High, Medium, Low Mode: Analog Mode, Disable, IRQ Mode, Input Mode, Output mode (Initial High), Output mode (Initial Low), Peripheral mode. Output Type: CMOS, n-ch open drain Pull Up: None, input pull-up Selecting one item from the list will change the background color of the Pins table. The colors will be described in the Description Text area. Figure 48 List of Pins attributes R20AN0512EU0100 Rev.1.00 Page 27 of 35

6. You can also switch between the module name and symbolic name of the Pins by clicking on the button on the top right corner of Package view: Figure 49 Module name and Symbolic name in Package view 8. Generating Pin Configuration source code 8.1 Generating source code in e 2 studio 1. After configuring the Pins, user can click on the Generate Project Content button to generate the necessary pin configuration source files for a project. Figure 50 Generate Project Content button R20AN0512EU0100 Rev.1.00 Page 28 of 35

2. The source code for Pin Configuration is generated at synergy_cfg/ssp_cfg/bsp/bsp_pin_cfg.h and src/synergy_gen/pin_data.c. Note: Do not edit these files as they are overwritten whenever the Generate Project Content button is pressed. Figure 51 Source code for Pin Configuration 3. In case of using multiple Pin Configurations, different data structures can be created in pin_data.c. This allows dynamic switching of pin configurations during run time (such as for different power modes). In this example, we use two Pin Configuration files to generate two data structures. Figure 52 Different data structures for different Configurations R20AN0512EU0100 Rev.1.00 Page 29 of 35

4. Each Pin Configuration will have its own CSV file which contains all pin configurations. The CSV files can be found at synergy_cfg/ssp_cfg/bsp/*.csv. Figure 53 CSV files 8.2 Generating source code in IAR EW for Synergy 1. After configuring the Pins, you can click on the Generate Project Content button to generate the necessary pin configuration source files for project. Figure 54 Generate Project Content button R20AN0512EU0100 Rev.1.00 Page 30 of 35

2. The source code is generated at <ProjectDir>\Synergy\Source Files\src\synergy_gen\pin_data.c. Figure 55 Source code for Pin Configuration 3. In case of using multiple Pin Configurations, different data structures can be created in pin_data.c. This allows dynamic switching of pin configurations during run time (for example, for different power modes). In this example, we will use S7G2-DK.pincfg and NewName.pincfg to generate two data structures. The data structures are named after the unique names that were entered in the text box in previous steps: g_bsp_pin_cfg and NewConfig. Figure 56 Different data structures for different Configurations R20AN0512EU0100 Rev.1.00 Page 31 of 35

4. Each Pin Configuration will have its own CSV file which contains all pin configurations. However, the CSV files are not shown on the Workspace window, user can open Windows Explorer and locate the file at <ProjectDir>\synergy_cfg\ssp_cfg\bsp\. 9. Additional Information Figure 57 CSV files For more information on Pin Configurator or other sections of Synergy Configurator, please refer to e 2 studio Help Contents. Select Help Help Contents, go to Synergy Contents Synergy configuration editor to open the topic related to Synergy Configurator. Figure 58 Synergy Topic in e 2 studio Help Contents R20AN0512EU0100 Rev.1.00 Page 32 of 35

For introduction and installation guide of IAR EW for Synergy, refer to IAR EW for Synergy Help Contents. Select Help Contents, go to IAR Embedded Workbench for Renesas Synergy. Figure 59 Synergy Topic in IAR EW for Synergy Help Contents R20AN0512EU0100 Rev.1.00 Page 33 of 35

Website and Support Visit the following vanity URLs to learn about key elements of the Synergy Platform, download components and related documentation, and get support. Synergy Software Synergy Software Package Software add-ons Software glossary Development tools Synergy Hardware Microcontrollers MCU glossary Parametric search Kits Synergy Solutions Gallery Partner projects Application projects Self-service support resources: Documentation Knowledgebase Forums Training Videos Chat and web ticket renesas.com/synergy/software renesas.com/synergy/ssp renesas.com/synergy/addons renesas.com/synergy/softwareglossary renesas.com/synergy/tools renesas.com/synergy/hardware renesas.com/synergy/mcus renesas.com/synergy/mcuglossary renesas.com/synergy/parametric renesas.com/synergy/kits renesas.com/synergy/solutionsgallery renesas.com/synergy/partnerprojects renesas.com/synergy/applicationprojects renesas.com/synergy/docs renesas.com/synergy/knowledgebase renesas.com/synergy/forum renesas.com/synergy/training renesas.com/synergy/videos renesas.com/synergy/resourcelibrary R20AN0512EU0100 Rev.1.00 Page 34 of 35

Revision History Rev. Date Description Page Summary 1.00 - Initial release All trademarks and registered trademarks are the property of their respective owners. R20AN0512EU0100 Rev.1.00 Page 35 of 35

Notice 1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation or any other use of the circuits, software, and information in the design of your product or system. Renesas Electronics disclaims any and all liability for any losses and damages incurred by you or third parties arising from the use of these circuits, software, or information. 2. Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving patents, copyrights, or other intellectual property rights of third parties, by or arising from the use of Renesas Electronics products or technical information described in this document, including but not limited to, the product data, drawings, charts, programs, algorithms, and application examples. 3. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 4. You shall not alter, modify, copy, or reverse engineer any Renesas Electronics product, whether in whole or in part. Renesas Electronics disclaims any and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification, copying or reverse engineering. 5. Renesas Electronics products are classified according to the following two quality grades: Standard and High Quality. The intended applications for each Renesas Electronics product depends on the product s quality grade, as indicated below. "Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; industrial robots; etc. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication equipment; key financial terminal systems; safety control equipment; etc. Unless expressly designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products are not intended or authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems; surgical implantations; etc.), or may cause serious property damage (space system; undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user s manual or other Renesas Electronics document. 6. When using Renesas Electronics products, refer to the latest product information (data sheets, user s manuals, application notes, General Notes for Handling and Using Semiconductor Devices in the reliability handbook, etc.), and ensure that usage conditions are within the ranges specified by Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation characteristics, installation, etc. Renesas Electronics disclaims any and all liability for any malfunctions, failure or accident arising out of the use of Renesas Electronics products outside of such specified ranges. 7. Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products have specific characteristics, such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Unless designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the possibility of bodily injury, injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics products, such as safety design for hardware and software, including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult and impractical, you are responsible for evaluating the safety of the final products or systems manufactured by you. 8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. You are responsible for carefully and sufficiently investigating applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics products in compliance with all these applicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 9. Renesas Electronics products and technologies shall not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You shall comply with any applicable export control laws and regulations promulgated and administered by the governments of any countries asserting jurisdiction over the parties or transactions. 10. It is the responsibility of the buyer or distributor of Renesas Electronics products, or any other party who distributes, disposes of, or otherwise sells or transfers the product to a third party, to notify such third party in advance of the contents and conditions set forth in this document. 11. This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products. (Note 1) Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its directly or indirectly controlled subsidiaries. (Note 2) Renesas Electronics product(s) means any product developed or manufactured by or for Renesas Electronics. (Rev.4.0-1 November 2017) SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics Corporation TOYOSU FORESIA, 3-2-24 Toyosu, Koto-ku, Tokyo 135-0061, Japan Renesas Electronics America Inc. 1001 Murphy Ranch Road, Milpitas, CA 95035, U.S.A. Tel: +1-408-432-8888, Fax: +1-408-434-5351 Renesas Electronics Canada Limited 9251 Yonge Street, Suite 8309 Richmond Hill, Ontario Canada L4C 9T3 Tel: +1-905-237-2004 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-651-700 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Düsseldorf, Germany Tel: +49-211-6503-0, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. Room 1709 Quantum Plaza, No.27 ZhichunLu, Haidian District, Beijing, 100191 P. R. China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 301, Tower A, Central Towers, 555 Langao Road, Putuo District, Shanghai, 200333 P. R. China Tel: +86-21-2226-0888, Fax: +86-21-2226-0999 Renesas Electronics Hong Kong Limited Unit 1601-1611, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2265-6688, Fax: +852 2886-9022 Renesas Electronics Taiwan Co., Ltd. 13F, No. 363, Fu Shing North Road, Taipei 10543, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 80 Bendemeer Road, Unit #06-02 Hyflux Innovation Centre, Singapore 339949 Tel: +65-6213-0200, Fax: +65-6213-0300 Renesas Electronics Malaysia Sdn.Bhd. Unit 1207, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics India Pvt. Ltd. No.777C, 100 Feet Road, HAL 2nd Stage, Indiranagar, Bangalore 560 038, India Tel: +91-80-67208700, Fax: +91-80-67208777 Renesas Electronics Korea Co., Ltd. 17F, KAMCO Yangjae Tower, 262, Gangnam-daero, Gangnam-gu, Seoul, 06265 Korea Tel: +82-2-558-3737, Fax: +82-2-558-5338 http://www.renesas.com 2018 Renesas Electronics Corporation. All rights reserved. Colophon 7.2