Quick Start Guide
DK-S3A7 v2.0
In the box
The following components are included in the DK-S3A7 Development Kit:
DK-S3A7 Main Board (DK-S3A7M V2.0)
DK-S3A7 Breakout Board (DK-S3A7B V2.0)
DK-S3A7 Segment LCD panel (DK-S3A7LCD V2.0)
One USB Type A to Micro-B cable
Multi-region 5V, 2.0A power supply
Quick Start Guide
Overview
This kit and the associated development tools provide the user with a platform to develop products with the Renesas
Synergy S3 microcontrollers. This Quick Start Guide will walk the user through using the Out-of-Box Demo then give step
by step directions to develop, configure, generate, build, download and execute the “Blinky” SSP project.
DK-S3A7 Kit
NOTE: This Quick Start Guide covers version 2.0 of the DK-S3A7 Development Kit.
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
2
of 11
October 9, 2015
Prerequisites
Required software and tools
Minimum PC Requirements: Microsoft® Windows® 7 with Intel® Core™ family processor running at 2.0 GHz or
higher (or equivalent processor), 8 GB memory, 250 GB hard disk or SSD, USB 2.0, Connection to the Internet
e2 studio Integrated Solution Development Environment (ISDE) from Renesas
Renesas SynergyTM Software Package (SSP)
Installation
Tools are available for download at: https://synergygallery.renesas.com
NOTE:
Version numbers of the tools may change. Below we show the versions that were available when
this document was developed.
1)
Download and install the latest revision of the Development Tool - e2 studio (ISDE) following the below instructions:
(NOTE: Unless informed otherwise below, use the default options.)
a) You must select at least the Renesas Synergy Family when the below dialog box appears.
b) You must select the additional software “GCC ARM Embedded 4.8.2014q3” when the following dialog
box appears.
2)
Download and install the latest revision of the Synergy Software Package using the default options.
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
3
of 11
October 9, 2015
Connecting the board components
To power the boards and connect the boards to the PC, follow these steps:
1)
Set the JTAG DIP switch 7 on S5 to ON (toward the LEDs).
2)
Using the power supply provided with the DK-S3A7 kit, apply power through the 5V barrel connector (J1) on
the Main Board. LED13 will turn on Green with a flashing Red beside it. The solid-Green/flashing-Red
LED13 informs the user that the Kit cannot communicate with the PC on the debug port.
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
4
of 11
October 9, 2015
3)
Connect the USB cable provided with the DK-S3A7 to the J-Link OB (J15) on the Main Board.
4)
Connect the other end of the USB cable to a USB port of the PC. Now LED13 will turn show Green (no flashing-
Red), indicating a good connection.
Out-of-Box Demo
1) The Out-of-Box Demo starts by flashing the Configuration (Light Scale) and USER LEDs for about 6 seconds. It then
turns on and off all segments of the segment LCD. This is actually a configuration test that is verifying performance of
the hardware. If a problem is found then USER LED 1 and 2 will be Red. If no problems exist then USER LED 3 and
4 are Green.
2) After about 12 seconds the S3 MCU starts sensing the amount of light at the Ambient Light Sensor, U105, using the
S3 MCU’s high-precision 14-bit A/D converter. The demo takes the top 8 bits of the A/D reading and uses it to display
a Light Scale on the Configuration LEDs and as a battery level and digital count on the segment LCD. Finally, the
elapsed time of the demo is shown on the segment LCD.
Ambient Light Sensor
Light Scale
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
5
of 11
October 9, 2015
3) Move a light source closer and farther from the Ambient Light Sensor and observe the LEDs and LCD values.
4) When the light sensors output reaches or exceeds its maximum value, the MCU flashes the LCD segments on and off
quickly.
Running Blinky
The Blinky Project is included in the SSP. Before running the project, ensure that the J-Link On-Board is connected to
the PC (see the above Steps 1-4 in Connecting the Components)
To run the Blinky Project, you must first create a Renesas Synergy Project in the e2 studio ISDE. You can then debug
and run the project on the DK-S3A7.
Creating the Blinky Project
To create a project:
1)
Start the e2 studio ISDE. Click <e2 Studio> under Windows Start Menu -> Renesas Electronics e2studio -> e2 studio
NOTES:
a) The e2 studio ISDE confirms the installed tool chain(s) the first time it is started after installing the toolchains.
b) The e2 studio ISDE displays the Welcome to e2 studio screen. Click the [X] and it will not be displayed again.
c) If you do not
have a compatible tool chain installed, see section Prerequisites.
2)
If the Workspace Launcher Dialog box is displayed, click <OK>.
NOTE: Until you select “Use this as the default (workspace) and do not ask again”, the Workspace Launch window
will be displayed when e2 studio is started.
3)
Start a new Synergy Project by clicking on File > New > Synergy Project.
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
6
of 11
October 9, 2015
4)
The ISDE displays the Project Configuration (Synergy Project) dialog box.
5)
Enter “Blinky_DK_S3A7” as the Project name.
6)
The first time you configure a project you need to load a license file. Click on the browse icon of the License
File and if needed browse to C:\Renesas\e2_studio\internal\projectgen\arm\Licenses\ (if you installed to the
default locations).
NOTE: After you have loaded the license file it will be loaded and displayed in License window by default.
7)
Click Next.
The ISDE displays the Project Configuration (Synergy Project) window with the Device Selection options.
8)
Select S3A7 DK and leave all other options in this window at their default settings.
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
7
of 11
October 9, 2015
9)
Click <Next>.
The ISDE displays the Project Configuration (Synergy Project) window with the Project Template Selection options.
10)
Select S3A7-DK Blinky
11)
Click <Finish>.
NOTE:
The e2 studio ISDE has built in Perspectives. Until you inform the tool to remember your selection, it
will ask if it can use the Synergy Configuration Perspective as shown below.
12)
If the Open Associated Perspective dialog box appears click <Yes>.
13)
The ISDE automatically configures the SSP to load and generate the necessary
configuration files for the
microcontroller hardware associated with the selected board.
The ISDE displays the Synergy Project Editor where you can see all generated files and configurations by
selecting the Clocks, Pins, Threads, ICU, and Components tabs.
IMPORTANT NOTE:
Don’t be afraid to look around and check things out. The most important thing to remember is Edit->Undo will
fix most anything you do that you want to take back!
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
8
of 11
October 9, 2015
14)
Generate the project content by clicking on the < > button.
15)
Build the project by selecting Project -> Build Project or clicking on the Build icon .
The Blinky Project
should build with no errors.
Debugging and running the Blinky Project
To debug and run the project, follow these steps:
1)
Configure the debugger by selecting the drop-down menu next to the debug icon and select
<Debug Configurations…>
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
9
of 11
October 9, 2015
2)
Select your Blinky Project <Blinky_DK_S3A7 Debug>
3)
Click Debug.
NOTE:
IF asked to Confirm Perspective Switch, click <Yes>. (If you click the <Remember my decision> check box
before clicking <Yes> you will not see this selection again.)
NOTE:
If the update J-Link firmware dialog box is displayed, we highly recommend that you click <Yes>.
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
10
of 11
October 9, 2015
The ISDE downloads the project onto the board.
4)
Click on the Resume icon, , and the software will run till hal_entry ().
5)
Click on the Resume icon, , and the software will run turning LED1 on and off.
Next steps
You can review the code for the Blinky project in the src directory of your project.
Application Notes and Demonstration Applications are available in the Synergy Software Package page “Demos
and Applications” tab of the Renesas Synergy Gallery https://synergygallery.renesas.com/ssp. Examples of the
categories we are developing are:
Wired Connectivity (CAN, RS232/485, TCP/IP, Web Server, networking services)
Bluetooth Connectivity (Bluetooth Classic and Bluetooth Low Energy connection to mobile devices using
various profiles )
WiFi Connectivity (Access Point Enumeration, Access Point connection using secure protocols, TCP/IP, Web
Server, networking services)
Multi-media (webcam, audio playback & record, audio processing, GUIX tutorials)
MCU Performance & Power Measurement (thread, throughput, and I/O performance, low-power modes & power
measurement)
Security (protected memory and bus access examples, stack security examples, security protocols and services
examples)
DK-S3A7 v2.0 Quick Start Guide
R12QS0003EU0100 Rev1.00 Page
11
of 11
October 9, 2015
Reload the Out-of-Box Demo
Should you desire to reload the original Out-of-Box demonstration application, you can find it and the instructions to reload
it, in the Synergy Software Package page “Demos and Applications” tab of the Renesas Synergy Gallery
https://synergygallery.renesas.com/ssp. NOTE. The Out-of-Box demo on the Synergy Gallery may be an updated and
improved demo. This kit contains version 1.0 of the DK-S3A7 Out-of-Box Demo.
Orderable Part Number
The Part Number for this DK-S3A7 Development Kit is YSDKS3A7E20PWS2
Support
Support https://synergygallery.renesas.com/support
Technical Contact Details
America: https://renesas.zendesk.com/anonymous_requests/new
Europe: http://www.renesas.eu/support/index.jsp
Japan: https://synergybeta.renesas.com/
Notice
1. Descriptions of c ir c uits, s oftware and other relat ed information in this doc um ent are provided only to illustr ate the operation of semiconduct or pr oduc ts and applicat ion ex am ples . You are f ully r es pons ible for
the incor por ation of t hes e c ir c uits, s oftware, and inform ation in the design of your equipm ent. Renesas E lec tronics as s um es no r es pons ibility for any los s es inc ur r ed by y ou or third part ies arising fr om the
use of these circ uits, s oftware, or infor m ation.
2. Renesas Elec tronics has us ed r eas onable c ar e in pr epar ing the inform ation included in this doc um ent, but Renes as E lec tronics does not warrant that suc h informat ion is er r or free. Renes as E lec tronics
assumes no liability whats oev er for any damages inc ur r ed by y ou r es ulting from er r or s in or om is s ions from the inform ation included herein.
3. Renesas Elec tronics does not assume any liability for infringement of patents, c opy r ights, or other intellec tual propert y r ights of third parties by or ar is ing from t he us e of Renesas Elec tronics pr oduc ts or
technic al informat ion des c r ibed in this document. No licens e, express , implied or otherwise, is gr anted hereby under any patents, copyrights or other intellec tual propert y r ights of Renes as E lec tronics or
others.
4. You should not alter, m odify, c opy , or other wis e m is appr opr iate any Renesas E lec tronics pr oduc t, whet her in whole or in par t. Renesas E lec tronics as s um es no r es pons ibility for any los s es inc ur r ed by y ou or
third par ties arising from suc h alteration, modific ation, c opy or otherwise mis appr opr iation of Renesas E lec tronics pr oduc t.
5. Renesas Elec tronics pr oduc ts are clas s ified according to the f ollowing two quality grades: "Standar d" and "High Quality". The recomm ended applic ations for eac h Renes as E lec tronics pr oduc t depends on
the produc t's quality grade, as indic ated below.
"Standard" : Computer s ; off ic e equipm ent; com m unic ations equipment ; tes t and measurem ent equipment; audio and visual equipment; home elec tronic applianc es ; machine t ools ; personal electronic
equipment; and industr ial r obots etc .
"High Q uality" : Trans por tation equipment (autom obiles , trains , ships, etc.); traffic cont r ol s y s tems; anti-disas ter sys tems; anti-crim e s y s tems; and s afety equipm ent etc.
Renesas Elec tronics pr oduc ts are neit her intended nor author iz ed for use in produc ts or s y s tems t hat may pose a dir ec t threat to human life or bodily injur y ( ar tificial life support dev ic es or s y s tems, s ur gic al
implantations etc .), or m ay c aus e s er ious pr oper ty damages ( nuc lear r eac tor control sys tems, m ilitary equipment etc.). You must c hec k the quality gr ade of each Renesas E lec tronics pr oduc t before us ing it
in a partic ular applic ation. You m ay not use any Renesas E lec tronics pr oduc t for any applic ation for whic h it is not intended. Renesas E lec tronics s hall not be in any way liable f or any dam ages or los s es
incurred by y ou or third part ies ar is ing from t he us e of any Renesas E lec tronics pr oduc t for whic h the product is not intended by Renes as E lec tronics.
6. You should use the Renesas Elec tronics pr oduc ts descr ibed in this document within the range specified by Renesas E lec tronics, especially with respect to the maximum r ating, operating supply voltage
range, m ov em ent power volt age r ange, heat radiation characterist ic s , inst allation and other pr oduc t characterist ic s . Renesas Elec tronics s hall hav e no liability f or m alfunctions or dam ages ar is ing out of t he
use of Renes as E lec tronics pr oduc ts beyond suc h s pec ified ranges.
7. Although Renes as E lec tronics endeav or s to improve the quality and r eliability of its produc ts, s em ic onduc tor products have spec ific charac terist ic s s uc h as the occur r enc e of failure at a cert ain r ate and
malfunc tions under cer tain use condit ions . Further, Renes as E lec tronics pr oduc ts are not s ubjec t to radiation resistance design. P leas e be s ur e to implement s afety m eas ur es to guard them agains t the
possibilit y of physical injur y , and injury or dam age c aus ed by fire in the ev ent of t he failure of a Renes as E lec tronics pr oduc t, suc h as s afety des ign for hardware and s oftware inc luding but not lim ited to
redundancy, fire c ontrol and malf unc tion prevent ion, appropriat e treat m ent for aging degr adation or any ot her appr opr iate measures . Because the evaluat ion of microc om puter sof tware alone is ver y difficult,
please evaluat e the safety of the final produc ts or sy s tems m anufactur ed by y ou.
8. Please contact a Renes as E lec tronics s ales office for details as to environm ent al matt er s s uc h as the environmental compat ibility of eac h Renes as E lec tronics pr oduc t. P leas e us e Renes as E lec tronics
product s in c om plianc e with all applicable laws and regulations that regulate the inclusion or us e of cont r olled s ubs tances, inc luding without limitation, the EU RoHS Direc tive. Renes as E lec tronics as s um es
no liability for damages or los s es oc c ur r ing as a r es ult of your nonc om plianc e with applicable laws and regulations.
9. Renesas Elec tronics pr oduc ts and tec hnology m ay not be used for or inc or por ated into any pr oduc ts or s y s tems whose m anufactur e, use, or s ale is pr ohibited under any applicable dom es tic or foreign laws or
regulations . You should not us e Renes as E lec tronics pr oduc ts or t ec hnology des c r ibed in this document for any pur pos e r elating to military applications or use by the militar y , including but not limited t o the
development of weapons of m as s des truct ion. When expor ting the Renesas E lec tronics pr oduc ts or t ec hnology des c r ibed in this document, you s hould c om ply with the applicable ex por t contr ol laws and
regulations and follow the proc edur es r equir ed by s uc h laws and r egulations.
10. It is the responsibility of the buyer or dis tributor of Renesas E lec tronics pr oduc ts, who dis tributes , disposes of, or otherwise plac es the product with a third par ty, to notif y s uc h third part y in adv anc e of the
contents and condit ions s et forth in this doc um ent, Renesas E lec tronics as s um es no responsibilit y for any loss es inc ur r ed by y ou or third part ies as a r es ult of unaut hor iz ed us e of Renesas Elec tronics
products.
11. This doc um ent may not be r epr oduc ed or duplic ated in any for m , in whole or in part , without pr ior writt en c ons ent of Renesas E lec tronics.
12. Please contact a Renes as E lec tronics s ales office if you have any ques tions regar ding t he information contained in this document or Renesas E lec tronics pr oduc ts, or if you have any other inquiries.
(Note 1) "Renesas E lec tronics" as used in this document means Renesas E lec tronics Cor poration and also inc ludes its majority-owned subs idiar ies .
(Note 2) "Renesas E lec tronics pr oduc t(s) " means any pr oduc t developed or manufact ur ed by or for Renesas E lec tronics.
http://www.renesas.com
Refer to "http://www.renesas.com/" for the latest and detailed information.
Renesas Electronics America Inc.
2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A.
Tel: +1-408-588-6000, Fax: +1-408-588-6130
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-585-100, Fax: +44-1628-585-900
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, P. R. China 200333
Tel: +86-21-2226-0888, Fax: +86-21-2226-0999
Renesas E lectroni cs 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, HALII Stage, Indiranagar, Bangalore, India
Tel: +91-80-67208700, Fax: +91-80-67208777
Renesas Electronics Korea Co., Ltd.
12F., 234 Teheran-ro, Gangnam-Gu, Seoul, 135-080, Korea
Tel: +82-2-558-3737, Fax: +82-2-558-5141
SALES O FFICES
© 2015 Renesas Electronics Corporation. All rights reserved.
Colophon 5.0