Getting Started with RS08 MCUs


Published on

To introduce RS08 core MCUs and their development tools

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Welcome to the training module on Getting Started with RS08 MCUs.
  • This training module will introduce RS08 core MCUs and their development tools.
  • The RS08 core is a reduced version of the very popular S08 central processing unit (CPU) that has been specifically crafted to be more efficient and cost effective for small memory-size microcontrollers. This is an ideal solution for emerging applications as simple electro-mechanical devices that are migrating to fully solid-state electronic operation, or portable devices that have evolved into smaller or even disposable versions. 30% smaller than the S08 core, the RS08 core has been streamlined by limiting the counter and address bus to 14 bits, replacing the vectored interrupt capability with a global interrupt flag register.
  • The RS08 Family is designed to meet ultra low-end applications. These MCUs are suitable for low end remote control in lighting dimmer, light switches, or electric fan. Other applications include low-end thermal controlled BLDC fans, personal care devices, handheld devices, garage door openers, battery charges and smart batteries. They are also able to replace simple logic devices, analog driver and ASIC.
  • There are 4 families MCUs using RS08 core. RS08KA family is designed for ultra low end market; RS08KB targets for simple precise sensing and control applications. RS08LA and RS08LE are cost-effective MCUs with LCD drivers. The LA and LE families provide design flexibility with a large segment-based (8x mode) driver and an integrated charge pump to provide true system-on-chip functionality.
  • Here we show the block diagram of RS08LA8. The device is composed of standard on-chip modules including a very small and highly efficient RS08 CPU core, on-chip RAM, nonvolatile memory, a 16-bit TPM, an 8-bit modulo timer (MTIM), a 2-channel serial communications interface (SCI), a serial peripheral interface (SPI), a 6-channel 10-bit analog-to-digital converter (ADC), an analog comparator (ACMP), and a liquid crystal display module (LCD). Integrated LCD driver supports both standard 3V and 5V LCD glass. Configurable display is able to use for 8 x 21 or 4 x 25 segment display.
  • The block diagram of RS08KB is similar to the RS08LA family. The biggest difference is the RS08KB does not have LCD driver.
  • In general, TPM channels may be independently configured to operate in input capture, output compare, or edge-aligned PWM modes. It uses one input/output (I/O) pin per channel, TPMCHn where n is the channel number (such as 0–1). The TPM shares its I/O pins with general-purpose I/O port pins. A control bit allows the whole TPM (all channels) to switch to center-aligned PWM mode. When center-aligned PWM mode is selected, input capture, output compare, and edge-aligned PWM functions are not available on any channels of this TPM module.
  • Development support systems in the RS08 Family include the RS08 background debug controller (BDC). The BDC provides a single-wire debug interface to the target MCU. This interface provides a convenient means for programming the on-chip FLASH and other nonvolatile memories. Also, the BDC is the primary debug interface for development and allows non-intrusive access to memory data and traditional debug features such as CPU register modify, breakpoint, and single-instruction trace commands.
  • Freescale offers different demonstration boards for each family to ease your design. Here is the 8-bit DEMO9RS08KB12 demonstration kit soldered with 20SOIC KB12. It comes with everything required to complete an entire entry-level project using the RS08KB. The perfect solution that allows you to develop your next cost-effective application. 
  • The cost effective DEMO9RS08LA8 demonstration kit contains everything a designer needs to develop and evaluate application code. The integrated USB multilink allows a designer to communicate with the board and target device with only a USB cable. DEMO9RS08LA8 contains an on-board display that allows developers to explore software development using the integrated LCD driver.
  • The cost effective DEMO9RS08LE4 demonstration kit contains everything a designer needs to develop and evaluate application code. The integrated USB multilink allows a designer to communicate with the board and target device with only a USB cable. There is a 112-segment LCD glass on the board, which can be used to evaluate the LCD driver module, a key feature on the MC9RS08LE4.
  • Thank you for taking the time to view this presentation on “ Getting Start with RS08 MCUs ” . If you would like to learn more or go on to purchase some of these devices, you may either click on the part list link right beside the play button on the TechCast portal, or simply call our sales hotline. For more technical information you may either visit the Freescale site, or if you would prefer to speak to someone live, please call our hotline number, or even use our ‘live chat’ online facility. You may visit element14 e-community to post your questions.
  • Getting Started with RS08 MCUs

    1. 1. Getting Started with RS08 MCUs <ul><li>Source: Freescale </li></ul>
    2. 2. Introduction <ul><li>Purpose </li></ul><ul><ul><li>To introduce RS08 core MCUs and their development tools </li></ul></ul><ul><li>Outline </li></ul><ul><ul><li>RS08 Core </li></ul></ul><ul><ul><li>Target applications </li></ul></ul><ul><ul><li>Block diagram </li></ul></ul><ul><ul><li>Development tools </li></ul></ul><ul><li>Content </li></ul><ul><ul><li>13 pages </li></ul></ul>
    3. 3. RS08 – Reduced Instruction Set S08 Core <ul><li>Subset of S08 instruction set </li></ul><ul><li>New instructions for shadow program counter (SPC) — SHA and SLA </li></ul><ul><li>New tiny and short addressing modes for code size optimization </li></ul><ul><li>Maximum 16K-byte accessible memory space </li></ul><ul><li>Eliminated vector fetch mechanism for interrupt and reset service </li></ul><ul><li>Eliminated RAM stacking mechanism for subroutine call </li></ul><ul><li>Single level hardware stacking for subroutine call </li></ul><ul><li>Low power mode supported through the execution of STOP and WAIT instructions </li></ul><ul><li>Stop wakeup through internal or external interrupt trigger </li></ul><ul><li>Debug and NVM program/erase support using single pin interface </li></ul>RS08 Core for Ultra-Low-End Applications
    4. 4. Target Applications <ul><li>High-brightness LED </li></ul><ul><li>Lighting system control </li></ul><ul><ul><li>Low-end remote control in light dimmer, light switch or electric fan </li></ul></ul><ul><li>Low-end thermal controlled brushless DC fan </li></ul><ul><li>Small handheld devices </li></ul><ul><li>Toys </li></ul><ul><li>AC line voltage monitoring </li></ul><ul><li>Simple logic, analog driver and ASIC replacement </li></ul>
    5. 5. RS08 Family MCUs Watchdog -- Flash (12KB) RAM (254B) I 2 C, SCI 10 MHz RS08KB Input Capture Output Compare PWM -- Flash (8KB) RAM (640B) I 2 C 10 MHz RS08KA Input Capture Output Compare PWM 8 channels Flash (4KB) RAM (256B) SCI 10 MHz RA08LE -- 6 channels Flash (8KB) RAM (256B) SCI, SPI 10 MHz RS08LA Timer Features ADC Memory (max) Serial IO Max Bus Frequency MCU Family
    6. 6. RS08LA Block Diagram
    7. 7. RS08KB Block Diagram
    8. 8. TPM Block <ul><li>One to eight channels: </li></ul><ul><ul><li>Each channel may be input capture, output compare, or edge-aligned PWM </li></ul></ul><ul><ul><li>Rising-Edge, falling-edge, or any-edge input capture trigger </li></ul></ul><ul><ul><li>Set, clear, or toggle output compare action </li></ul></ul><ul><ul><li>Selectable polarity on PWM outputs </li></ul></ul><ul><li>Module may be configured for buffered, center-aligned pulse-width-modulation (CPWM) on all channels </li></ul><ul><li>Timer clock source selectable as pre-scaled bus clock, fixed system clock, or an external clock pin </li></ul><ul><li>16-bit free-running or modulo up/down count operation </li></ul><ul><li>Timer system enable </li></ul><ul><li>One interrupt per channel plus terminal count interrupt </li></ul>
    9. 9. Development Support <ul><li>Uses a single pin for background debug serial communications </li></ul><ul><li>SYNC command to determine target communications rate </li></ul><ul><li>Non-intrusive commands allow access to memory resources while CPU is running user code without stopping applications </li></ul><ul><li>Active background mode commands for CPU register access </li></ul><ul><li>GO and TRACE1 commands </li></ul><ul><li>BACKGROUND command can wake CPU from wait or stop modes </li></ul><ul><li>One hardware address breakpoint built into BDC mode </li></ul><ul><li>COP watchdog suspended while in active background mode </li></ul>
    10. 10. Development Tools – RS08KB Demo Board <ul><li>MC9RS08KB12CWJ, 20 SOIC </li></ul><ul><li>Power Selector </li></ul><ul><li>External Power Input </li></ul><ul><li>3 LEDs </li></ul><ul><li>POT </li></ul><ul><li>Keyboard </li></ul><ul><li>Light Sensor </li></ul>
    11. 11. Development Tools – RS08LA Demo Board <ul><li>MC9RS08LA8, 48 LQFP </li></ul><ul><li>On-board +5V regulator </li></ul><ul><li>Power Input Selection Jumpers </li></ul><ul><li>5K ohm POT w /LP Filter </li></ul><ul><li>Temperature Sensor </li></ul>
    12. 12. Development Tools – RS08LE Demo Board <ul><li>MC9RS08LE4, 28 SOIC </li></ul><ul><li>Integrated P&E USB-BDM </li></ul><ul><li>On-board +5V regulator </li></ul><ul><li>3 Push Switches; 2 User, 1 Reset </li></ul><ul><li>6 LEDs; 4 User, VDD, USB </li></ul><ul><li>2.3K Hz Buzzer </li></ul><ul><li>NTC Thermistor </li></ul><ul><li>32-pin MCU I/O Connector </li></ul><ul><li>2.0mm Barrel Connector </li></ul><ul><li>USB and DB9 Connectors </li></ul>
    13. 13. Additional Resource <ul><li>For ordering RS08 MCUs and Demo boards, please click the part list or </li></ul><ul><li>Call our sales hotline </li></ul><ul><li>For more product information go to </li></ul><ul><ul><li> </li></ul></ul><ul><li>Visit element14 to post your question </li></ul><ul><ul><li> </li></ul></ul><ul><li>For additional inquires contact our technical service hotline or even use our “Live Technical Chat” online facility </li></ul>