AN1267, Extreme Low-Power (XLP) PIC Microcontrollers
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Programming-8Bit-PIC
Foreword Embedded microcontrollers are everywhere today. In the average household you will find them far beyond the obvious places like cell phones, calculators, and MP3 players. Hardly any new appliance arrives in the home without at least one controller and, most likely, there will be several—one microcontroller for the user interface (buttons and display), another to control the motor, and perhaps even an overall system manager. This applies whether the appliance in question is a washing machine, garage door opener, curling iron, or toothbrush. If the product uses a rechargeable battery, modern high density battery chemistries require intelligent chargers. A decade ago, there were significant barriers to learning how to use microcontrollers. The cheapest programmer was about a hundred dollars and application development required both erasable windowed parts—which cost about ten times the price of the one time programmable (OTP) version—and a UV Eraser to erase the windowed part. Debugging tools were the realm of professionals alone. Now most microcontrollers use Flash-based program memory that is electrically erasable. This means the device can be reprogrammed in the circuit—no UV eraser required and no special packages needed for development. The total cost to get started today is about twenty-five dollars which buys a PICkit™ 2 Starter Kit, providing programming and debugging for many Microchip Technology Inc. MCUs. Microchip Technology has always offered a free Integrated Development Environment (IDE) including an assembler and a simulator. It has never been less expensive to get started with embedded microcontrollers than it is today. While MPLAB® includes the assembler for free, assembly code is more cumbersome to write, in the first place, and also more difficult to maintain. -
Extreme Low Power (XLP) PIC® Microcontrollers
XLP PIC® MCUs eXtreme Low Power (XLP) PIC® Microcontrollers www.microchip.com/xlp Looking Beyond Low-Power MCUs Microchip’s XLP PIC® MCUs As more wearables, wireless sensor networks, and other Internet of Things (IoT) enabled smart devices are getting powered from battery, energy conservation becomes paramount. Today’s connected appli- cations must consume little power and, in extreme cases, last for up to 20+ years while running from a single battery. To enable applica- tions like these, products with Microchip’s eXtreme Low Power (XLP) technology offer the industry’s lowest Run and Sleep currents. Benefits of XLP PIC MCUs Low Sleep Currents Battery-Friendly VBAT Battery Back-Up Large Portfolio of XLP with Flexible Wake-Up Features • Automatic switch-over MCUs Sources • Enable battery lifetime upon loss of VDD • 8–121 pins, • Sleep current down greater than 20 years • Maintains Real-Time 4 KB–1 MB Flash to 9 nA • Low-power supervisors Clock/Calendar (RTCC) • Wide selection of • Brown-Out Reset (BOR) for safer operation and user registers packages down to 45 nA (BOR, WDT) • Powered seperately • Active mode currents as • Real-time clock down to • Core Independent Pe- from 1.8–3.6V source low as 30 µA/MHz with 300 nA ripherals (CIPs) take the (coin cell) efficient instruction set • Watch-Dog Timer (WDT) load off the CPU and per- with over 90% single- down to 200 nA form extremely complex cycle instructions tasks in self-sustaining mode at lowest possible energy requirement XLP PIC MCU Application Examples Internet of Things Smart Energy -
MPLAB XC8 PIC Assembler User's Guide
MPLAB® XC8 PIC® Assembler User's Guide Notice to Customers All documentation becomes dated and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions can differ from those in this document. Please refer to our web site (https://www.microchip.com) to obtain the latest documentation available. Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXA,” where “XXXXX” is the document number and “A” is the revision level of the document. For the most up-to-date information on development tools, see the MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files. © 2020 Microchip Technology Inc. User Guide DS50002974A-page 1 Table of Contents Notice to Customers.......................................................................................................................................1 1. Preface....................................................................................................................................................4 1.1. Conventions Used in This Guide..................................................................................................4 1.2. Recommended Reading...............................................................................................................5 1.3. Document Revision History..........................................................................................................5 -
MPLAB XC8 PIC Assembler User's Guide for Embedded Engineers
MPLAB® XC8 PIC Assembler User's Guide for Embedded Engineers Notice to Customers All documentation becomes dated and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions can differ from those in this document. Please refer to our web site (https://www.microchip.com) to obtain the latest documentation available. Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXA,” where “XXXXX” is the document number and “A” is the revision level of the document. For the most up-to-date information on development tools, see the MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files. © 2020 Microchip Technology Inc. User Guide 50002994A-page 1 Table of Contents 1. Preface....................................................................................................................................................4 Notice to Customers................................................................................................................................1 1.1. Conventions Used in This Guide..................................................................................................4 1.2. Recommended Reading...............................................................................................................5 1.3. Document Revision History..........................................................................................................5 -
IDE Project Management and Building Guide
IDE Project Management and Building Guide for the Renesas RL78 Microcontroller Family UIDERL78_I-6 COPYRIGHT NOTICE © 2015–2019 IAR Systems AB. No part of this document may be reproduced without the prior written consent of IAR Systems AB. The software described in this document is furnished under a license and may only be used or copied in accordance with the terms of such a license. DISCLAIMER The information in this document is subject to change without notice and does not represent a commitment on any part of IAR Systems. While the information contained herein is assumed to be accurate, IAR Systems assumes no responsibility for any errors or omissions. In no event shall IAR Systems, its employees, its contractors, or the authors of this document be liable for special, direct, indirect, or consequential damage, losses, costs, charges, claims, demands, claim for lost profits, fees, or expenses of any nature or kind. TRADEMARKS IAR Systems, IAR Embedded Workbench, Embedded Trust, C-Trust, IAR Connect, C-SPY, C-RUN, C-STAT, IAR Visual State, IAR KickStart Kit, I-jet, I-jet Trace, I-scope, IAR Academy, IAR, and the logotype of IAR Systems are trademarks or registered trademarks owned by IAR Systems AB. Microsoft and Windows are registered trademarks of Microsoft Corporation. Renesas is a registered trademark of Renesas Electronics Corporation. RL78 is a trademark of Renesas Electronics Corporation. Adobe and Acrobat Reader are registered trademarks of Adobe Systems Incorporated. All other product names are trademarks or registered trademarks of their respective owners. EDITION NOTICE Sixth edition: November 2019 Part number: UIDERL78_I-6 This guide applies to version 4.x of IAR Embedded Workbench® for the Renesas RL78 microcontroller family. -
Picmicro Mid-Range MCU Family Reference Manual
M PICmicro™ Mid-Range MCU Family Reference Manual 1997 Microchip Technology Inc. December 1997 /DS33023A M Internationally Recognized Quality System Certifications Microchip’s Quality System embodies the requirements of ISO9001:1994. Our Microchip Chandler and Tempe Design and Manufacturing facilities have been certified to ISO 9001. The Microchip Kaohsiung Test facility, and primary Assembly houses have been certified to ISO 9002. ISO certification plans are in-process for an esti- mated certification grant by year-end 1997. In addition, Microchip has received numerous customer certifica- tions, including a Delco issued certificate of compliance to AEC-A100/QS9000. Microchip received ISO 9001 Quality System certifica- tion for its worldwide headquarters, design, and wafer fabrication facilities in January, 1997. Our field-pro- grammable PICmicro™ 8-bit MCUs, Serial EEPROMs, related specialty memory products and development systems conform to the stringent quality standards of the International Standard Organization (ISO). “All rights reserved. Copyright © 1997, Microchip Technology Trademarks Incorporated, USA. Information contained in this publication regarding device applications and the like is intended through The Microchip name, logo, PIC, KEELOQ, PICMASTER, suggestion only and may be superseded by updates. No rep- PICSTART, PRO MATE, and SEEVAL are registered resentation or warranty is given and no liability is assumed by trademarks of Microchip Technology Incorporated in the Microchip Technology Incorporated with respect to the accu- U.S.A. racy or use of such information, or infringement of patents or other intellectual property rights arising from such use or oth- MPLAB, PICmicro, ICSP and In-Circuit Serial Programming erwise. Use of Microchip’s products as critical components in are trademarks of Microchip Technology Incorporated. -
Onboard LED Flashing Control (Arduino API) for RL78
Application Note RL78/G1P Onboard LED Flashing Control (Arduino API) Introduction This application note describes a method for controlling flashing of LED mounted on an RL78/G1P Fast Prototyping Board (FPB) using a program written in an Arduino language using the FPB. Target Device RL78/G1P Fast Prototyping Board When applying the sample program covered in this application note to another microcomputer, modify the program according to the specifications for the target microcomputer and conduct an extensive evaluation of the modified program. R01AN5514EJ0100 Rev.1.00 Page 1 of 19 2020.9.2 RL78/G1P Onboard LED Flashing Control (Arduino API) Contents 1. Specifications ............................................................................................................................ 3 1.1 Program Execution Environment ............................................................................................................. 4 1.2 Program (Sketch) Configuration .............................................................................................................. 5 1.3 Preparations for Project Startup .............................................................................................................. 5 1.4 Definitions in the Program (sketch) ......................................................................................................... 6 1.5 Initial Setting Processing ......................................................................................................................... 7 1.6 Main Processing -
Experience of Teaching the Pic Microcontrollers
Session 1520 EXPERIENCE OF TEACHING THE PIC MICROCONTROLLERS Han-Way Huang, Shu-Jen Chen Minnesota State University, Mankato, Minnesota/ DeVry University, Tinley Park, Illinois Abstract This paper reports our experience in teaching the Microchip 8-bit PIC microcontrollers. The 8-bit Motorola 68HC11 microcontroller has been taught extensively in our introductory microprocessor courses and used in many student design projects in the last twelve years. However, the microcontroller market place has changed considerably in the recent years. Motorola stopped new development for the 68HC11 and introduced the 8- bit 68HC908 and the 16-bit HCS12 with the hope that customers will migrate their low- end and high-end applications of the 68HC11 to these microcontrollers, respectively. On the other hand, 8-bit microcontrollers from other vendors also gain significant market share in the last few years. The Microchip 8-bit microcontrollers are among the most popular microcontrollers in use today. In addition to the SPI, USART, timer functions, and A/D converter available in the 68HC11 [6], the PIC microcontrollers from Microchip also provide peripheral functions such as CAN, I2C, and PWM. The controller-area- network (CAN) has been widely used in automotive and process control applications. The Inter-Integrated Circuit (I2C) has been widely used in interfacing peripheral chips to the microcontroller whereas the Pulse Width Modulation (PWM) function has been used extensively in motor control. After considering the change in microcontrollers and the technology evolution, we decided to teach the Microchip 8-bit microcontrollers. 1 Several major issues need to be addressed before a new microcontroller can be taught: textbook, demo boards, and development software and hardware tools. -
Mplab C18 C Compiler Getting Started
MPLAB® C18 C COMPILER GETTING STARTED © 2005 Microchip Technology Inc. DS51295F Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, ensure that your application meets with your specifications. -
RL78 the Ultimate Low Power Microcontroller Platform
RL78 The Ultimate Low Power Microcontroller Platform www.renesas.eu 2011.02 RL78 – The Leader In Low Power... Welcome to the RL78, a new platform family of world’s lowest- power microcontrollers from Renesas Electronics. RL78 embeds RL78 Roadmap For Your Success ultimate intelligence with a perfect combination of lowest power Product Category consumption, best in class CPU performance and the highest ASSP RL78/F1x Metering (Auto Body) integration of world leading peripherals. Capacitive Touch RL78/D1x RL78/I1x (Lighting) (Auto Dashboard) PFC, internal 64MHz clock RF4CE RL78/L1x SEG LCD RL78 – The ultimate embedded intelligence RL78/L1xRL78/L1x (High Featured) (LCD Standard) RL78/L1x (Advanced Analog) in your system! RL78/G1x Rl78/L1x (High Function 1) (USB) A complete platform line-up is on offer with ultimate fl exibility of RL78/G1x RL78/G1x (Analog) RL78/Gxx GENERAL RL78/G13 (Standard) 32MHz 20-128 pin, (High Function 1) (Advanced Analog) High Function 2 choice in terms of performance, memory, packages, peripherals 16-512KB RL78/G1x (USB) Host/Peripheral as well as the world’s lowest power consumption in the embedded RL78/G12 RL78/G1x (Low pin count 1) (Low pin count 2) arena. The general purpose range of RL78 family offers multiple 24MHz20-30 pin, 2-16KB Sub 20 pins fl avours to suit every need: CY 2011 2012 ~ RL78/G12: 24Mhz Low-pin count family from ranging from 20-30pin wide variety of packages RL78/G13: 32Mhz General purpose family ranging from 20-128pins in a wide variety of packages RL78 offers the best platform of choice for Industrial, Consumer and Automotive applications. -
RL78/G13 Datasheet
Datasheet R01DS0131EJ0350 RL78/G13 Rev.3.50 RENESAS MCU Jun 30, 2020 True low-power platform (66 μA/MHz, and 0.57 μA for operation with only RTC and LVD) for the general-purpose applications, with 1.6-V to 5.5-V operation, 16- to 512-Kbyte code flash memory, and 41 DMIPS at 32 MHz 1. OUTLINE 1.1 Features Ultra-low power consumption technology DMA (Direct Memory Access) controller VDD = single power supply voltage of 1.6 to 5.5 V 2/4 channels HALT mode Number of clocks during transfer between 8/16-bit STOP mode SFR and internal RAM: 2 clocks SNOOZE mode Multiplier and divider/multiply-accumulator RL78 CPU core 16 bits × 16 bits = 32 bits (Unsigned or signed) CISC architecture with 3-stage pipeline 32 bits ÷ 32 bits = 32 bits (Unsigned) Minimum instruction execution time: Can be changed 16 bits × 16 bits + 32 bits = 32 bits (Unsigned or from high speed (0.03125 μs: @ 32 MHz operation signed) with high-speed on-chip oscillator) to ultra-low speed (30.5 μs: @ 32.768 kHz operation with subsystem Serial interface clock) CSI: 2 to 8 channels Address space: 1 MB UART/UART (LIN-bus supported): 2 to 4 channels I2C/Simplified I2C communication: 3 to 10 channels <R> General-purpose registers: (8-bit register × 8) × 4 banks Timer On-chip RAM: 2 to 32 KB 16-bit timer: 8 to 16 channels Code flash memory 12-bit interval timer: 1 channel Code flash memory: 16 to 512 KB Real-time clock: 1 channel (calendar for 99 years, Block size: 1 KB alarm function, and clock correction function) Prohibition of block erase and rewriting (security function) Watchdog timer: 1 channel (operable with the dedicated low-speed on-chip On-chip debug function oscillator) Self-programming (with boot swap function/flash shield window function) A/D converter 8/10-bit resolution A/D converter (VDD = 1.6 to 5.5 V) Data Flash Memory Analog input: 6 to 26 channels Data flash memory: 4 KB to 8 KB Internal reference voltage (1.45 V) and temperature Back ground operation (BGO): Instructions can be sensor Note 1 executed from the program memory while rewriting the data flash memory. -
Rl78the True Low Power Microcontroller Platform
RL78 MICROCONTROLLERS The True Low Power Microcontroller Platform 2017.02 RL78 THE TRUE LOW POWER MICROCONTROLLER PLATFORM RL78 from Renesas Electronics is an advanced Why RL78? family of general purpose and application ¡ World’s best in class performance for an equivalent specific microcontrollers (MCU‘s) combining MCU family true low power and high performance operation. ¡ Scalability of physical size including smart pin layout ¡ System cost saving features RL78‘s innovative Snooze mode allows serial ¡ Wide voltage operation communication and ADC operation in standby, ¡ Wide temperature operation ¡ On board security features which makes it best in class for battery powered ¡ An extensive ecosystem and more details of RL78 can designs. be found at www.renesas.eu/RL78 CONTENT Why RL78? 02 RL78 with USB 22 RL78 Roadmap – A growing family 03 RL78 Low pin count 24 RL78 Low Power Modes 04 RL78/G1G – Motor Control 26 RL78 Line-Up 06 RL78 smart choice for RL78 Reducing System Cost 07 detector & sensor 28 RL78 Applications 08 Package Line-up 30 Compatibility & Scalability 10 RL78 for Motor Control 32 RL78 General purpose Line-up 11 RL78/G1D Intelligent Bluetooth® High Efficiency & Flexibility 12 Smart MCUs 34 RL78 with advanced peripherals 16 RL78 Development Tools and Kits 36 RL78 with LCD Drive 18 RL78 Part Number Guide 38 RL78 Family Overview 20 Getting started with RL78 Family Peripherals 21 RL78 is easy! 39 02–03 Extensive Ecosystem True Low Power Broad Scalability ¡ Comprehensive development tools ¡ 46 μA/MHz Operation1 ¡ 10 to 128 pins