David Hedley Staff AE, Applications Engineering 13 October 2010

Slides:



Advertisements
Similar presentations
ID 311C:Utilizing JTAG / boundary scan and JTAG emulation for board and system level test and design verification Get the total Coverage ! GOEPEL Electronics.
Advertisements

Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Using a Renesas Code Generation Tool for RL78 Devices.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
ID 020C: Hardware-in-Loop: System Testing Without the System Marcella Haghgooie Sr. Field Applications Engineer Version: 1.2 Applied Dynamics International.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. A13C: Performing Digital Filtering on an MCU Kevin P King.
ID 413C: Can Touch This: Designing Capacitive-Based Touch Solutions Mark F Rodriguez Senior Engineering 13 October 2010 Version: 1.0 Xaplos Inc.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID B32L: Graphical Application Development under Linux/Implementing.
Renesas Electronics America Inc. ID 311L: PIC to R8C Converter David Hedley Staff AE, Applications Engineering 14 Oct 2010 Version: 1.1.
422L:Introduction to the.NET Micro Framework Julie Trygstad Vice President and Principal Engineer Version: 1.1 TrygTech 13 October 2010.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Know your Precise Position with RX600 MCU.
Renesas Electronics America Inc. “© 2010 Renesas Electronics America Inc. All rights reserved.” ID 720L: Software Development with an Open Source Real-Time.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A15C: Application Code Reprogramming Using Different Serial.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 320L: Rapid RX600 System Development Using the RPDL and.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L13B David Hedley, Applications Engineer Advanced.
Renesas Electronics America Inc. “© 2010 Renesas Electronics America Inc. All rights reserved ID 220L: Hands-on Embedded Ethernet Design with an Open Source.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. 431L: Using a Graphics API to Create User Interface Components—Advanced.
An Introduction to OSEK l JRD l ETAS-STV/PRM-E l 2010 © ETAS GmbH All rights reserved. The names and designations used in this document are trademarks.
© 2010 Renesas Electronics America Inc. All rights reserved. ID 411C: Capacitive Touch User Interfaces and Hardware- based Solutions Renesas Electronics.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 115C: Low Pin Count V850: Small but Powerful MCU for portable.
Renesas Electronics America Inc. ID 322C:Using HEW's Many Capabilities to Boost Software Development Productivity Axel Wolf Marketing Manager, Development.
ID 310C:Run-Time Visualization on Renesas MCUs Matt Gordon Sr. Applications Engineer Version: 1.2 Micriµm 12 October 2010.
Renesas Electronics America Inc. Jeremy Brodt
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A12C:Noise Fundamentals and Techniques for Minimizing.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 930L: Board ID Embedded Security Lab Shotaro Saito Application.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 410L: Low cost audio in 8/16 bit applications using ADPCM.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. A11L: 78K0R Low Power MCU Hands-On Lab Bob Proctor Staff.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. A30L: Increase the Dynamic Range and Precision of Digital.
ID A16C: Outfitting Embedded Devices with Low Power Wireless Communications Design considerations for adding wireless communications to low power embedded.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Know your Precise Position with RX600 MCU Huangsheng.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A11C: Hardware Design Fundamentals for MCU-based Embedded.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. 113C: Migration to the RX600 Made Easy Life in the fast lane.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID630L: Becoming Familiar with Sensorless Vector Control.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Virtual EEPROM and Flash API for.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 011C: VELOCITY LAB TM Embedded Development Ecosystem Amrit.
IAR Systems, Inc. ID 323C:A High Performance Compiler Solution for the RX Platform Shawn A. Prestridge Senior Field Applications Engineer 12 October 2010.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 434L: Incorporating a Capacitive Touch Interface into.
ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Audio Solutions on the RX MCU Family Mitch Ferguson,
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This course provides an detailed overview of the many R8C MCU product variations.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced Debugging on the RX600.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced E 2 Studio Topics.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 411L:A Direct Drive LCD Software Solution for Driving.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Low Power Design Michael Thomas, Applications Engineer.
ID 222L: Get Connected with USB on RX62N
ID 024C: Auto Code Generation: The Shortest Distance From Idea to Implementation Christopher Myers Director of Software Development 12 October 2010 Version:
Global Edge Ian Carvalho Architect 14 October 2010 Copyright © 2010, Global Edge Software Ltd., Bangalore, India Version 1.0 ID 730L: Getting Started with.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 230L: Simplify your Networked Application with CAN and.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 416C:SH-2A Graphics for Low- to Mid-level Graphics Applications.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L05I Advanced Debugging on the RX600 Fatih Peksenar.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 5L08I Using the Renesas Graphics API to Create.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 322L:Advanced Debugging on the RX600 Brandon Hussey Applications.
IAR Systems, Inc. ID 324C:Introducing the Embedded Workbench for the Renesas SH Shawn A. Prestridge Senior Field Applications Engineer 12 October 2010.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 421L: R8C Segment-LCD API Lab Bob Proctor Staff Engineer.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A10L:A Flexible Flash Rewrite Application Brandon Hussey.
ID 021L: Model Based Control Design and Auto-Code Generation using the R8C Christopher Myers Director of Software Development 12 October 2010 Version:
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 130L: Optimizing your SH2A Application Kevin P King Senior.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Software Building Blocks for Faster.
Popular Microcontrollers and their Selection by Lachit Dutta
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Microcontrollers & GPIO
David Hedley Staff AE, Applications Engineering 12 Oct 2010
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
ID 023C: Model-Based Control Design
ID 325L: Getting Started with CubeSuite
8051 Micro Controller.
Presentation transcript:

ID 310L: Rapid Configuration of On-chip Peripherals using the I/O Wizard David Hedley Staff AE, Applications Engineering 13 October 2010 Version: 1.1

David Hedley Staff Applications Engineer EXPERIENCE: Primary Technical Support Engineer Americas Technical Tools Support Lead EXPERIENCE: 12 years with major semiconductor manufacturers Microchip, ZiLOG, Renesas, Renesas Holds a BEng.(Honors) from Leeds in the UK 2 Patents in MCU Applications and Tools North Carolina Youth Soccer Certified Coach © 2010 Renesas Electronics America Inc. All rights reserved.

Renesas Technology and Solution Portfolio Microcontrollers & Microprocessors #1 Market share worldwide * Solutions for Innovation Analog and Power Devices #1 Market share in low-voltage MOSFET** ASIC, ASSP & Memory Advanced and proven technologies In the session 110C, Renesas Next Generation Microcontroller and Microprocessor Technology Roadmap, Ritesh Tyagi introduces this high level image of where the Renesas Products fit. The big picture. * MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010 ** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis). © 2010 Renesas Electronics America Inc. All rights reserved.

Renesas Technology and Solution Portfolio Microcontrollers & Microprocessors #1 Market share worldwide * Solutions for Innovation ASIC, ASSP & Memory Advanced and proven technologies Analog and Power Devices #1 Market share in low-voltage MOSFET** This is where our session, ID 310L: ‘Rapid Configuration of On-chip Peripherals using the I/O Wizard’, is focused within the ‘Big picture of Renesas Products’ * MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010 ** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis). © 2010 Renesas Electronics America Inc. All rights reserved. 4

Microcontroller and Microprocessor Line-up Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive Superscalar, MMU, Multimedia Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial High Performance CPU, Low Power Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display High Performance CPU, FPU, DSC Legacy Cores Next-generation migration to RX H8S H8SX M16C R32C Here are the MCU and MPU Product Lines, I am not going to cover any specific information on these families, but rather I want to show you where this session is focused General Purpose Ultra Low Power Embedded Security Up to 10 DMIPS, 130nm process 350 uA/MHz, 1uA standby Capacitive touch Up to 25 DMIPS, 150nm process 190 uA/MHz, 0.3uA standby Application-specific integration Up to 25 DMIPS, 180, 90nm process 1mA/MHz, 100uA standby Crypto engine, Hardware security © 2010 Renesas Electronics America Inc. All rights reserved. 5

Microcontroller and Microprocessor Line-up Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive Superscalar, MMU, Multimedia R8C 16 Bit CISC Superb Noise Performance Low Power Consumption Higher Functionality ASSP Lineup Low Pin Count Lineup Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial High Performance CPU, Low Power Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display High Performance CPU, FPU, DSC Legacy Cores Next-generation migration to RX H8S H8SX M16C R32C These are the products where this presentation applies General Purpose Ultra Low Power Embedded Security Up to 10 DMIPS, 130nm process 350 uA/MHz, 1uA standby Capacitive touch Up to 25 DMIPS, 150nm process 190 uA/MHz, 0.3uA standby Application-specific integration Up to 25 DMIPS, 180, 90nm process 1mA/MHz, 100uA standby Crypto engine, Hardware security © 2010 Renesas Electronics America Inc. All rights reserved. 6

Innovation Modern Fast Design Cycle © 2010 Renesas Electronics America Inc. All rights reserved.

Agenda Overview of I/O Wizard Q&A Labs Roadmap and Device Support Peripheral Support Demo Q&A Labs © 2010 Renesas Electronics America Inc. All rights reserved.

IO Wizard Roadmap IO Wizard V.1.34.00 V.1.33.00 V.1.02.00 V.1.30.00 R8C/L35C,L36C,L38C,L3AC * GSCE Code Compliant IO Wizard V.1.33.00 R8C/36A,38A V.1.02.00 H8/38347 V.1.30.00 Save & Load 32-bit Vista V.1.01.00 R8C/22,23,24,25 V.1.32.01 Bug Fix for R8C/LxA,LxB V.1.21.00 R8C/2E,2F,2G, 2H,2J,2K,2L V.1.00.02 M16C/26A,28,29 V.1.36.00 R8C/MX V.1.32.00 R8C/L35A,L36A,L38A,L3AA R8C/L35B,L36B,L38B,L3AB V.1.20.00 Invoke HEW V.1.00.01 R8C/1A,1B V.1.35.00 R8C/LA8A, LA6A LA5A, LA3A V.1.10.00 R8C/26,27,28,29 R8C/2A,2B,2C,2D V.1.31.00 R8C/32A,33A,35A V.1.00.00 R8C/10,11,12,13 Year < 08S 09K 09S 10K 10S 11K © 2010 Renesas Electronics America Inc. All rights reserved.

Where to get IO Wizard © 2010 Renesas Electronics America Inc. All rights reserved.

Supported Devices Supported Devices Supported Peripherals R8C/10 R8C/11 R8C/12 R8C/13 I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O and ADC. R8C/1A R8C/1B I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, SSU and ADC. R8C/22 R8C/23 R8C/24 R8C/25 I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, SSU, CAN and ADC. R8C/26 R8C/27 R8C/28 R8C/29 I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, SSU and ADC. R8C/2A R8C/2B R8C/2C R8C/2D I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, SSU, ADC and DAC. R8C/2E R8C/2F I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, ADC, DAC and Comparator. R8C/2G R8C/2H R8C/2L I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN and Comparator. R8C/2K R8C/2L I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN and ADC. R8C/32A R8C/33A R8C/35A I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, SSU, ADC, DAC, Comparators and DTC R8C/L35A R8C/L36A R8C/L38A R8C/L3AA I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, SSU, ADC, DAC, Comparators, DTC and LCD (with Data Flash) R8C/L35B R8C/L36B R8C/L38B R8C/L3AB I/O Ports, INT (external interrupt), Key input interrupt, Timers, Serial I/O, LIN, SSU, ADC, DAC, Comparators, DTC and LCD (without Data Flash) M16C/26A M16C/28 M16C/29 I/O Ports, INT (external interrupt), Key input interrupt, Timers, Timer S (M16C/28,M16C/29), DMAC, Serial I/O, Multi-master I2C, A/D and CAN (M16C/29). H8/38347 I/O Ports, INT (external interrupt), Timers, AEC, PWM, Serial I/O, ADC and LCD. © 2010 Renesas Electronics America Inc. All rights reserved.

We want to generate code for a R8C/23 to do the following: Example Description We want to generate code for a R8C/23 to do the following: Setup UART0 to be in asynchronous mode where it sends 8 bits at a time, has 1 stop bit, no parity, 19200 baud, MSB first, interrupt on receive, and can transmit and receive © 2010 Renesas Electronics America Inc. All rights reserved.

Example Step 1 Start IO Wizard The first thing we will do is start IO Wizard. The picture shown is what you will see once the application is running. As you can see from the picture, the interface is simple and easy to use while giving you all the information you need. © 2010 Renesas Electronics America Inc. All rights reserved.

Select part and choose which clock the MCU is going to use Example Step 2 Select part and choose which clock the MCU is going to use The first thing that we will do with IO Wizard is set the MCU that we want to use. This is done by changing the settings in the top-left pane. I have enlarged this part of the window on the left. You start from the top by first selecting which series you want to use. In this case we are going to use a R8C/23 so we select the R8C series. Under group we select R8C/23 and finally under Part number we select the specific 23 part we are using. As you change these settings the information at the bottom of this pane will change. From this information you can see that we are using a part with 48KB of flash, 2.5K of RAM, and 2KB of data flash. After setting which part we are using we will proceed to choose the clock the MCU will use. For this example we are going to assume that we want to use an external 20MHZ crystal that is connected to XIN on the MCU. To do this we select the Main clock option under CPU clock and set the frequency value to 20MHZ. We also have the option to choose if the clock is divided or not. For this demonstration we will say no division so the MCU will be running at the full 20MHz. Notice that as these changes are made, the registers that are changing are shown in the bottom half of the window. As you select different options, the register values are instantaneously changed to reflect the new settings. © 2010 Renesas Electronics America Inc. All rights reserved.

Example Step 3 Configure UART0 After selecting the clock we click next and are now able to configure individual peripherals. Blah blah blah. © 2010 Renesas Electronics America Inc. All rights reserved.

Find UART0 pins in hardware manual Example Step 4 Find UART0 pins in hardware manual © 2010 Renesas Electronics America Inc. All rights reserved.

Set TxD0 pin as output, RxD0 as input Example Step 5 Set TxD0 pin as output, RxD0 as input Since all IO ports are by default set as inputs, we also need to set the transmit pin for UART0 as an output pin. From the hardware manual we can see that transmit pin for UART0 is pin 1_4. To set this pin as an output we simply click on Port1 in the left pane, or on the tabs in the middle, and then select the Ouput radio option beside Pin4. © 2010 Renesas Electronics America Inc. All rights reserved.

Example Step 6 Generate Code © 2010 Renesas Electronics America Inc. All rights reserved.

Integrate Code into HEW Project Add files to project © 2010 Renesas Electronics America Inc. All rights reserved.

Change the main() function name in the generated code Notes with Adding Code The generated code will have a main() function in it, so if you already have an application with a main() then you will have to do the following: Change the main() function name in the generated code Remove the infinite loop at the bottom of the main() function © 2010 Renesas Electronics America Inc. All rights reserved.

Notes with Adding Code Cont’d If you generated code that utilizes interrupts then you will have to add the ISR to the interrupt vector table. How to do this depends on what kind of project you have. If using C-startup application then find interrupt vector number in intprg.c Is using application with sect30 file then you will specify function in there © 2010 Renesas Electronics America Inc. All rights reserved.

The Benefits By accelerating peripheral code development using IO Wizard a programmer unfamiliar with Renesas parts can quickly develop an application using the MCUs without having to delve through the hardware manual © 2010 Renesas Electronics America Inc. All rights reserved.

IO Wizard Summary Available free from Renesas website Supports certain R8C, M16C, H8 Tiny Has simple easy to use GUI interface Makes generating peripheral code easy Decreases time previously required to search through hardware manual Generates code that is easy to import into any HEW project © 2010 Renesas Electronics America Inc. All rights reserved.

Questions? © 2010 Renesas Electronics America Inc. All rights reserved.

Checking Progress We are using the die to keep track of where everyone is in the lab. Make sure to update it as you change sections. When done with the lab, your die will have the 6 pointing up as shown here. © 2010 Renesas Electronics America Inc. All rights reserved.

Start the Lab Keep your dice turned to the section of the lab you are on. (Instructions are provided in the lab handout) Please refer to the Lab Handout and let’s get started! © 2010 Renesas Electronics America Inc. All rights reserved.

Questions? © 2010 Renesas Electronics America Inc. All rights reserved.

Thank You! © 2010 Renesas Electronics America Inc. All rights reserved.