Renesas DK-S124 User Manual

Development Kit DK-S124 v2.0
User’s Manual: Hardware
Renesas SynergyTM Platform
User’s Manual
www.renesas.com
All information contained in these materials, including products and product specifications,
website (http://www.renesas.com).
represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
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 of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information.
2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
3. Renesas Electronics does not assume any liability for infringement of 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. 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 should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
5. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The recommended 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; and industrial robots etc.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; and safety equipment etc.
Renesas Electronics products are neither intended nor 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 damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics.
6. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges.
7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, 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, please evaluate 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. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
9. Renesas Electronics products and technology may 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 should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products.
11. This document may not be 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, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
(2012.4)
Precautions
This Renesas SynergyTM Development Kit is only intended for use in a laboratory environment under ambient temperature and equipment. Its use outside the protection requirements of the
humidity conditions. A safe separation distance should be used between this and any sensitive
laboratory, classroom, study area or similar such area invalidates conformity with the
Electromagnetic Compatibility Directive and could lead to prosecution.
The product generates, uses, and can radiate radio frequency energy and may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment equipment off or on, you
NOTE: It is recommended that wherever possible shielded interface cables are used.
The product is potentially susceptible to certain EMC phenomena. To mitigate against them it is recommended that the
following measures be undertaken:
The Renesas not fulfill
causes harmful interference to radio or television reception, which can be determined by turning the
are encouraged to try to correct the interference by one or more of the following measures:
Ensure attached cables do not lie across the equipment.
Reorient the receiving antenna.
Increase the distance between the equipment and the receiver.
Connect the equipment into an outlet on a circuit different from that which the receiver is connected.
Power down the equipment when not in use.
Consult the dealer or an experienced radio/TV technician for help.
The user is advised that mobile phones should not be used within 10m of the product when in use.
The user is advised to take ESD precautions when handling the equipment.
SynergyTM Development Kit does not represent an ideal reference design for an end product and does
the regulatory standards for an end product.
Table of Contents
Chapter 1 Overview .............................................. 5
1.1 Purpose .................................................. 5
Chapter 5 Board Layout ...................................... 19
Chapter 6 Configuration ...................................... 21
6.1 MCU Boot Configuration Jumper ........ 21
6.2 Battery and 5V Power Source Selection
Jumpers ................................................ 21
1.2 In the box ............................................... 6
1.3 Environmental Characteristics ............... 6
1.4 Physical Characteristics .......................... 7
1.5 Block diagram......................................... 8
1.6 Hardware features ................................. 9
1.6.1 Main Board ............................................ 9
1.6.1.1 MCU and Board Memory ....................... 9
1.6.1.2 Power ..................................................... 9
1.6.1.3 I/O Features ........................................... 9
1.6.1.4 Programming and Debug Features ...... 10
1.6.2 RSK PMOD Display Board ..................... 10
1.7 Usage Models....................................... 10
1.8 Hardware Versions ............................... 10
1.9 Resources ............................................. 10
Chapter 2 Getting Started ................................... 11
6.3 RS-232/485 Transceiver Configuration 22
Chapter 7 Connectivity ....................................... 24
7.1 Connectors ........................................... 24
7.1.1 5-V Power Barrel Jack .......................... 24
7
.1.2 USB Device ........................................... 24
7.1.3 RS-232/485 and CAN ........................... 24
7.1.4 Stereo Headphone Jack ....................... 26
7.1.5 J-Link USB and Power .......................... 26
7.1.6 S124 Programming and Debug ............ 27
7.1.7 J-Link JTAG Programming and Debug .. 27
7.1.8 Shield-Style Header Connection .......... 28
7.1.9 Seeed Grove I2C Interface ................... 30
7.1.10 SPI&I2C Interface ................................. 31
7.1.11 PMOD Interface ................................... 31
7.2 Human-Machine Interface................... 34
2.1 Powering the DK-S124 ......................... 11
2.2 See the Demo ....................................... 12
Chapter 3 Power Supplies ................................... 13
3.1 Power supply........................................ 13
3.2 Power-up behavior .............................. 13
3.3 Battery supply configuration ............... 13
3.4 +5-V Main Voltage Rail ......................... 13
3.5 3.3-V Main Power Subsystem .............. 14
3.6 Power LED ............................................ 14
3.7 Power Budgets ..................................... 15
3.8 Microcontroller Current ....................... 16
3.9 Battery Current .................................... 16
Chapter 4Components ......................................... 17
4.1 RSK PMOD Display Board ..................... 17
4.2 USB Cable ............................................. 17
4.3 Plug, 3.5-mm-Pitch, 8-Position, Screw
Terminals ............................................. 17
7.2.1 User Touch Buttons ............................. 34
7.2.2 User Touch Slider ................................. 34
7.2.3 User Push-Button Switches ................. 35
7.2.4 User LEDs (3) ........................................ 35
7.2.5 User Potentiometer ............................. 36
7.2.6 Reset Push-Button Switch ................... 36
7.3 Main Board Devices ............................. 36
7.3.1 Serial Flash Memory ............................ 36
7.3.2 C-Max CMM-9301-V4.4 ....................... 37
7.3.3 Maxim MAX9814 with MEMS
microphone ......................................... 37
7.3.4 Avago ADPS-9005 ................................ 37
7.3.5 Analog Devices TMP35 ........................ 37
7.3.6 Bosch BMA250E ................................... 37
Chapter 8 Glossary .............................................. 39
8.1 Abbreviations and Acronyms ............... 39
8.2 Port Numbering ................................... 40
4.4 Peripheral Devices ............................... 17
4.5 CR2032 Lithium Battery ....................... 18
4.6 External Power Supply ......................... 18
DK-S124 User’s Manual
Overview

Chapter 1 Overview

1.1 Purpose

The DK-S124 is a development kit for the Renesas SynergyTM S124 microcontroller in a LQFP64 package. The DK-S124 is primarily intended for software and hardware developers to develop firmware, experiment, and evaluate the I/O features of the S124 on the DK-S124 prior to development of their own customized hardware.
The DK-S124 contains several communications ports, including Bluetooth Low Energy, CAN, RS-232/RS-485, SPI, I2C, and USB Device. The board includes a PMOD™ connector and a Grove I2C connector (connector for easy-to­use Seeed Grove modules), for external prototyping modules from Digilent and other vendors.
For HMI interface examples, the DK-S124 include stereo headphone output, microphone input, touch buttons and a touch bar, two user-programmable push-buttons, three user programmable LEDs, a thumb-wheel potentiometer, light sensor, temperature sensor, and 3-axis accelerometer.
Several test points are located around the board, and jumpers are provided for measurements and configuration.
The DK-S124 is supported by both the e
2
studio from Renesas and the IAR embedded workbench for Synergy.
For more information on the Synergy DK-S124, visit the Synergy website: http://renesassynergy.com/.
Figure 1: DK-S124 main board and LCD board
R12UM0006EU0100 Rev.1.00 Page 5 of 40 Jun 8, 2016
DK-S124 User’s Manual
Overview

1.2 In the box

The following components are included in the DK-S124:
DK-S124 Main Board with installed acrylic overlay for the touch buttons and touch slider, and installed
bumper feet
8 shunt-jumpers for 0.1” headers on the DK-S124
One RSK PMOD Display Board
One three-foot USB cable Type-A connector to Micro-B connector
One plug, 3.5mm pitch, 8 position, screw-terminals wire connection, for mating with J4, the RS-232/485
and CAN connector
Quick Start Guide for DK-S124
The following components are not included in the DK-S124, but may be useful for test, demonstration, or design evaluations:
AC to 5 VDC power adapter, 6 W or greater output, center positive, barrel plug 2.1 mmID 5.5 mmOD >9
mm insertion, for testing or use of the DK-S124 main board without USB connected
CR2032 lithium battery for battery life testing and current measurements
Bluetooth capable modules, PC, tablet, smart phone, or other device for testing and demonstrating the
Bluetooth standard or low-energy interface
3-mm (1/8”) stereo headphone jack ear buds for demonstrating audio output
Second USB Type-A to Micro-B cable for debugging while the S124 is talking to an external USB host
Seeed Grove I2C interface modules to demonstrate operation of this interface
SPI and/or I2C external communications interface devices for demonstrating operation of these interfaces

1.3 Environmental Characteristics

The DKS124 is not designed as a production unit to be used direction in OEM equipment. Contact Renesas for a list of hardware design partners who can develop and deliver -productionready- platforms based on the ingredients used in the DK-S124 kit.
The environmental characteristics are separated into two components: the PCB with circuitry and the Liquid Crystal Display with Touch Panel; the PCB will continue to operate in its full operational range even if the LCD is outside its operational range.
R12UM0006EU0100 Rev.1.00 Page 6 of 40 Jun 8, 2016
DK-S124 User’s Manual
Specification
Permissible
Minimum
Typical
Maximum
Unit
Storage Temperature
-40
25
85 C Operating Temperature
-40
25
80 C Humidity (Non-condensing)
5% 95%
RH
Overview
Table 1: Environmental Temperature and Humidity Limits

1.4 Physical Characteristics

The outer dimensions of the DK-S124 are approximately 133.3 x 133.2 x 15.3 mm. Weight of the unit is approximately
86 grams.
R12UM0006EU0100 Rev.1.00 Page 7 of 40 Jun 8, 2016
DK-S124 User’s Manual
Renesas Synergy
TM
S124 MCU
Development Board
J-Link
USB
USB
FS
Device
DC-DC
Conv.
Stereo
Out,
Mic In
Bluetooth
Battery
RS-232 RS-485
CAN
Ambient
Light
Sensor
Power
Meas.
Headers
JTAG
Ports
Reset
Switch
MCU
Port
Headers
PMOD,
SPI/I2C,
Grove I2C
3-Axis
Accel.
Sensor
Tem p .
Sensor
User I/O
3x LED
2x Switch
1x Pot.
Tou c h
Bar
Tou c h
Buttons
(2)
USB
FS
Device
Head­phones or Amp
Ambient
Sounds
RS-232 RS-485
CAN
Bluetooth
Device
or
PC
Programing
or
Debugging
PC
5-V
Power
Jack
Config./ Monitor Jumpers
Voltage/
Current
Probes
User
Modules
Port Monitoring Instrumentation
or
Development Daughter Card
Overview

1.5 Block diagram

Figure 2: Block Diagram: Main Board
R12UM0006EU0100 Rev.1.00 Page 8 of 40 Jun 8, 2016
DK-S124 User’s Manual
Overview

1.6 Hardware features

1.6.1 Main Board

1.6.1.1 MCU and Board Memory
Synergy S1 MCU
o 32-MHz ARM Cortex™-M0+ core o 16 kB on-chip SRAM o 64 or 128-KB on-chip code flash memory o 4-KB on-chip data flash memory o For additional peripherals, features, and configurations availability, see the
S124 User’s Manual: Microcontrollers
32 MBytes SPI serial flash memory
32.768-kHz RTCC crystal and 16MHz MCU clock crystal
MCU reset push-button switch
1.6.1.2 Power
Main power input of 5 V to a barrel jack or USB Device input of 5 V
High efficiency 5-V to 3.3-V system power DC-DC converter
Low noise 5-V to 3.3-V power regulator for MCU analog functions
Coin cell holder for lithium CR2032 for low-power operations testing
Several jumper-configurable headers to allow selection of regulated or battery power source, and
monitoring currents and voltages
1.6.1.3 I/O Features
CAN transceiver (1 Mbit/s)
Configurable RS-232/RS-485 port on an industrial-style 3.5-mm screw terminal plug connector
Stereo audio output with headphone jack and single microphone input
Full-Speed USB 2.0 Device port (micro-B)
PMOD 12-pin multi-type expanded interface (firmware configured)
SEED Grove I2C interface
8-pin header SPI&I2C interface
Two 22-position headers allowing access to power busses and to many MCU signal ports
Two capacitive touch buttons and one capacitive touch-slider
Three user configurable LEDs (red, yellow, and green)
Two user configurable momentary button switches
R12UM0006EU0100 Rev.1.00 Page 9 of 40 Jun 8, 2016
DK-S124 User’s Manual
Overview
User-adjustable manual thumb-wheel potentiometer
Ambient light sensor, circuit-board temperature sensor, board-mounted 3-axis accelerometer
Bluetooth dual mode module (Classic and BLE)
1.6.1.4 Programming and Debug Features
10-pin 0.05” pitch SWD programming connector (J13) included for direct programming/debug access
J-Link USB Micro-B connection provided with separate supporting microcontroller to allow SWD
programming and debug of the S124 microcontroller using a USB interface
Separate Tag-Connect interface pin-pattern provided for programming the J-Link microcontroller, if needed

1.6.2 RSK PMOD Display Board

Powered by the Main Board
Provides all support circuitry to convert serial data to displayed data

1.7 Usage Models

The DK-S124 is designed as a hardware design kit platform as well as software development platform for OEM applications requiring some Human Machine Interface (HMI) and communications capabilities. The platform has some direct machine-control-support GPIO available through the PMOD and Seeed Grove ports, although the platform may also be used in conjunction with an OEM’s intelligent I/O and power subsystem, possibly communicating with that subsystem over RS-232, RS-485, CAN, Bluetooth, or UART/I2C/SPI.

1.8 Hardware Versions

There is one version of the DK-S124 currently in circulation, v2.0.

1.9 Resources

The following documents are related to S124 and DK-S124 hardware:
DK-S124 Quick Start Guide (printed copy in DK-S124)
DK-S124 Schematics
S124 User’s Manual
S124 Datasheet
You can find all Renesas Synergy documents here: http://renesassynergy.com/docs.
For programming the DK-S124, refer to the DK-S124 User’s Manual (this document) and the S124 User’s Manual. You are likely to be programming using the Renesas e notes and manuals, and the example applications delivered with the DK-S124.
2
studio tool. We recommend reviewing the e2 studio release
R12UM0006EU0100 Rev.1.00 Page 10 of 40 Jun 8, 2016
DK-S124 User’s Manual
Getting Started

Chapter 2 Getting Started

The DK-S124 includes the Main Board assembled with bumper feet and an acrylic cover over the touch region, a PMOD serial LCD daughter card, a 3-foot (91-cm) USB Type A to Micro-B adapter cable, and a Quick Start Guide. To start working with the DK-S124, see the included Quick Start Guide.
Figure 3: DK-S124

2.1 Powering the DK-S124

Prior to providing power with one of the three power options, make sure that the power jumpers in the BATTERY labeled region of the DK-S124 main board are properly installed. For non-battery operation, and without an ammeter installation, J3, J19, and J20 should all have jumpers installed across their two pins. Also, the two SOURCE SELECT header jumpers, J2 and J18, should have a total of three jumpers installed from their center terminal to their left-most terminal for each row of terminals.
The DK-S124 can be powered via three different methods:
5-V power source at the -5V external power connection, J1, on the DK-S124 main board. Note that the
outer sleeve of the barrel connector must be negative, and the center of the connector must be positive.
External USB host to the J-Link USB connector, J14, on the DK-S124 main board.
CR2032 coin cell battery in the BAT1 holder on the DK-S124 main board. Note that this option may
require one of the other two listed power sources also be installed for proper operation of the J-Link interface, which may affect reboot of the S124 processor. For proper operation and use of the coin cell battery, jumpers on J2 and J18 may need be changed to jump the center terminal to the right-most terminal, and J19 and J20 may or may have jumpers installed between their terminals (removal of the jumper unpowers the circuitry served by J19 or J20).
R12UM0006EU0100 Rev.1.00 Page 11 of 40 Jun 8, 2016
DK-S124 User’s Manual
barrel plug power source may permanently damage the unit.
Getting Started
If power is supplied from the 5-V barrel connector, a green LED should be lit in LED4 making that LED green. If power is from the USB port, both LED4 LEDs are lit on J-Link MCU commands making LED4 appear orange. LED4 is located in the box labeled “POWER” on the DK-S124. LED4 is not powered by the coin cell with jumpers properly installed.
If both the barrel connector is powered, and the J-Link USB port is powered, LED4 will change to orange on J-Link MCU commands and power from the DK-S124 will be taken from the source with the higher voltage, or shared if the loaded higher-voltage source voltage droops to the open-circuit voltage of the other source.
There is limited voltage protection on the 5-V direct power input. Using a reverse-polarity

2.2 See the Demo

A demo (pre-installed on the DK-S124) will start up when the unit is first powered. If during the course of software development this demo is erased from the flash memory you can download this demo from the renesas.com website and re-install it using the e Micro-B cable, and the Segger J-Link On-Board debugger USB interface.
2
studio software development tools, the USB Type A to USB
R12UM0006EU0100 Rev.1.00 Page 12 of 40 Jun 8, 2016
DK-S124 User’s Manual
Power Supplies

Chapter 3 Power Supplies

3.1 Power supply

Power may be supplied to the DK-S124 from three sources:
The barrel jack J1 in the upper left corner of the circuit board, with +5 V to the center of the
mating plug and 0 V to the outer sleeve of the mating plug
The USB Micro-B J-Link jack J14 adjacent to the battery holder
A CR2032 lithium coin cell installed in BAT1 holder near the right edge of the circuit board
When power to the S124 MCU is supplied from the lithium coin cell, power from one of the other two sources should be available to power the J-Link and related support circuitry. This will allow proper restarting of the S124 MCU.

3.2 Power-up behavior

The DK-S124 is delivered preloaded with a demonstration program. The demonstration program shows several features of the DK-S124 and source code is available as a programming example for developers. See the Quick Start Guide delivered with the DK-S124 for details of use of and expected board behavior when running the demonstration program.
When powered from J-Link USB or the barrel jack, the green LED in LED4 adjacent to the barrel jack will be lit. The red LED in LED4 will be controlled by the J-Link microcontroller in accordance with J-Link specifications. When both LEDs are lit, LED4 will appear orange.

3.3 Battery supply configuration

See Chapter 6 for configuration details.

3.4 +5-V Main Voltage Rail

Dual low-drop Schottky diodes merge the two power inputs (barrel connector input and J-Link USB supply) so that whichever is available and higher is delivered downstream as the power rail circuitry on the DK-S124.
Figure 4: Power Section of Main Board
+5V to power supplies for the
R12UM0006EU0100 Rev.1.00 Page 13 of 40 Jun 8, 2016
DK-S124 User’s Manual
Power Supplies
Figure 5: +5V Main Rail Schematic Extract

3.5 3.3-V Main Power Subsystem

Almost all the circuits on the board require 3.3 volts, including MCU, memory, and logic. The +5-V Main Voltage Rail power is delivered to the ISL91107 buck-boost switcher. This switcher, using a tiny inductor, creates 3.3 V at up to 2 A to the DK-S124. It can operate with +5-V rail voltage between about 5.8 V and about 2 V. The variant of the switcher shown is internally set for FB pin voltage of 3.3 V.
Figure 6: 3.3V Regulator Schematic Extract

3.6 Power LED

LED4 on the DK-S124 indicates the currently used source of power on the system. LED4 has two LEDs in one package (red, green) so three colors can be visible: red, green, and orange (when both are lit).
When the green portion of LED4 is lit, the 3.3-V Main Power Subsystem is currently under power. The J-Link MCU controls when the red portion of LED4 is lit.
R12UM0006EU0100 Rev.1.00 Page 14 of 40 Jun 8, 2016
Loading...
+ 31 hidden pages