MC9RS08KA8/4 Introduction


Published on

To introduce the Freescale MC9RS08KA8/4 microcontroller unit

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 this module on Freescale’s MC9RS08KA8/4 microcontrollers. This training module gives an overview on the key features and different devices of the MC9RS08KA family.
  • The MC9RS08KA8 is the latest addition to the KA family. It is an extremely cost-effective, highly integrated, feature rich device with a highly efficient RS08 CPU core, timers, ADC, comparator, I2C and I/O’s. The KA8 not only provides a superset to the KA2, but is also pin-compatible with the HCS08, SH and QG families. The device is available in 16- and 20-pin packages. The features and integration allow the KA8 to be used in a variety of general purpose applications. Freescale also provide a complete suite of development tools including hardware, IDE, debuggers and programmers, to enable and accelerate development.
  • Here is a quick overview of the block diagram of the MC9RS08KA8. As mentioned, the KA8 has many more features than the KA2. This device is composed of standard on-chip modules including a very small and highly efficient RS08 CPU core with a CPU clock of upto 20MHz, 254 bytes RAM, 8K bytes flash, two 8-bit modulo timers,12-channel 10-bit ADC, 2-channel 16-bit timer/PWM, inter-integrated circuit bus module, keyboard interrupt and analog comparator. The Internal clock source (ICS) module contains a frequency-locked loop (FLL) controlled by an internal or external reference.
  • To understand how the KA8 fits into this KA family of devices, we now give here a comparison between the KA8 and the KA2. We have highlighted the major differences in the table. The first difference is in the memory – Flash and RAM size; The next are the rich set of peripherals added to the device including 12-channel 10-bit ADC, a 2-channel 16-bit Timer/PWM, and additional 8-bit modulo timer and I2C and additional I/O. The KA8 device also has the capability of running off a crystal. The rest of the table shows some of the similarities in terms of the comparator, real-time interrupt and COP. And so this is going to provide a migration path for someone moving from an eight-pin device to a 16-pin device in the RS08 family.
  • The MC9RS08KA8 is offered in a 16 and 20 pin package pin-compatible with the MC9S08QG device. Here shows how the KA8 compares against the QG8. The KA has an additional modulo timer, more ADC channels than the QG device. The QG however has more RAM, serial communication and peripheral interfaces – SCI / SPI, providing users with a good migration path from the KA8.
  • The next two pages focus on the functionality provided by the addition of peripherals in the KA8 with respect to the KA2. In addition to the internal clock source (which is an internal reference that’s generated and can be boosted up by the frequency lock loop), the KA8 has the provision to be connected to an external crystal or ceramic resonator. So, for applications that require an accurate time / date, a crystal can be used. It has the same crystal configurations that are used on the QG with the KA8. This opens up more application opportunities for this KA family addition in the RS08 space.
  • Another addition to the KA8 is the ADC module. This 12-channel ADC is fully functional from 2.7 to 5.5 volts. Inputs can be fe into one or more of these 12 channels, and the ADC can be internally set to either eight- or ten-bit conversion modes. It also supports most of the same features that are already available on parts like the QG8. The Real Time Interrupt can be used to hardware-trigger an ADC conversion. For low noise operation the ADC supports a STOP mode. The ADC module is able to do 2.5-microsecond conversions. Thus the ADC allows the KA8 device to be interface with sensors, peripherals to be used to take analogue readings on many multiple channels and provide more applications opportunities in that way.
  • Another feature on the KA8 is the I2C module. Inter-integrated circuit bus module capable of operation up to 100 kbps. This provides a communication interface and the ability to add on more peripherals. This module is the same as is used on the HCS08 QG devices, which enables code reuse on the KA8.
  • The TPM module is another addition to the KA8 that wasn’t on the RS08KA2. It is a standard TPM module, used on the other FreeScale HCS08 devices. It has two channels and each one can be configured as input capture, output compare, or buffered edge-aligned PWM.
  • With the introduction of more memory, I/O and additional peripherals, the KA8 can be used in a host of new applications ranging from consumer, home appliances, industrial control to sensing systems.
  • This overview shows differences in the KA8 and KA4 devices in 16- and 20-pin packages. The 20-pin devices support more I/O channels as can be seen.
  • FreeScale has introduced a low cost demo bard – DEMO9RS08KA8, to support development for the MC9RS08KA8 devices. It integrates the BDM interface, eliminating the need for an external one. The board provides a DIP socket so that multiple parts can be programmed and tested in engineering prototypes.
  • Thank you for taking the time to view this presentation on “ MC9RS08KA8/4 Introduction” . 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, or simply call our sales hotline. For more technical information and support you may either visit the Freescale site, or contact us via phone, email or live chat on the web.
  • MC9RS08KA8/4 Introduction

    1. 1. MC9RS08KA8/4 Introduction <ul><li>Source: Freescale </li></ul>
    2. 2. Introduction <ul><li>Purpose </li></ul><ul><ul><li>To introduce the Freescale MC9RS08KA8/4 microcontroller unit. </li></ul></ul><ul><li>Outline </li></ul><ul><ul><li>Overview of the MC9RS08KA8/4 MCU </li></ul></ul><ul><ul><li>MC9RS08KA Family Devices Comparison </li></ul></ul><ul><ul><li>Key features </li></ul></ul><ul><ul><li>Demo board </li></ul></ul><ul><li>Content </li></ul><ul><ul><li>14 pages </li></ul></ul>
    3. 3. MC9RS08KA8 Key Messages KA8 can be used in more applications due to additional I/Os and better performance. Cost-effective part, Integrate 18 I/Os. 2ch 16bit Timer, 12ch 10bit ADC, 2*8bit MTIM, 8K flash, 256byte RAM, supports both internal or external clock source Standard CodeWarrior Tools for RS08 with multilink, highly effective development tool and easy to design for customers Provide demonstration DVD with training documentation. The MC9RS08KA8 microcontroller unit (MCU) is an extremely low-cost, small pin count device with 12 channel 10bit ADC and 18I/O, high performance with optimized RS08 core. Intended for home appliances, medical equipment, and as a general purpose microcontroller. KA8 is a RS08 core MCU, provide 18I/O, 12ch 10bit ADC in 20pin package for general purpose market. High integration Easy to use Expanding KA family Pin compatible part with SH/QG family, providing a low cost solution. Providing free software with high performance. KA8 is expanding Freesclae’s RS08 core family, which is optimized low cost and high performance. <ul><ul><li>KA8 expands the KA family and entry level MCU portfolio, offer higher performance for consumer and industrial applications. </li></ul></ul>
    4. 4. MC9RS08KA8 Features Overview <ul><li>RS08 Core </li></ul><ul><ul><li>Up to 20MHz, 1.8V-5.5V, -40~85 º C </li></ul></ul><ul><ul><li>Subset of HC08 instruction set </li></ul></ul><ul><li>Memory </li></ul><ul><ul><li>8K Flash, 254 Bytes RAM </li></ul></ul><ul><li>Clock </li></ul><ul><ul><li>XOSC </li></ul></ul><ul><ul><li>ICS </li></ul></ul><ul><li>Peripherals </li></ul><ul><ul><li>ADC (12-ch, 10 bit, 2.5us convert time) </li></ul></ul><ul><ul><li>TPM (2-ch, input capture, output compare, EPWM. CPWM) </li></ul></ul><ul><ul><li>IIC (up to 100Kbps) </li></ul></ul><ul><ul><li>MTIM 1&2 (8-bit modulo timers) </li></ul></ul><ul><ul><li>KBI (8 ports) </li></ul></ul><ul><ul><li>ACMP </li></ul></ul><ul><li>Input/Output </li></ul><ul><ul><li>14/18 GPIO (1 Output only + 1 Input only) </li></ul></ul><ul><li>Development Support </li></ul><ul><ul><li>Single wire BDM </li></ul></ul><ul><ul><li>Breakpoint (1) </li></ul></ul><ul><li>Power Saving Mode </li></ul><ul><ul><li>Wait mode + Stop mode </li></ul></ul><ul><ul><li>RTI,KBI or ACMP wakeup </li></ul></ul>ICS ICE + BDM COP 10 bit ADC 12ch 16 bit Timer ACMP MTIM2 Flash 8K Bytes 254 Bytes RAM RS08 Core KBI RTI IIC MC9RS08KA8 Debugging/ Interface Peripherals RAM Core plus features MTIM1 Flash Clock
    5. 5. MC9RS08KA Family Devices Comparison <ul><li>Family Member: </li></ul><ul><ul><li>KA8, KA4, KA2,KA1 </li></ul></ul>KA8/4 KA8/4 KA2/1 6-DFN, 8-PDIP,8-SOIC 16,20pin SOIC or PDIP Package No No SCI No No SPI 2 (6-pin),4(8-pin) 14(16-pin), 18(20-pin) I/O pins Yes Yes RTI Yes Yes COP 1 2 MTIM ICS ICS+XOSC Clock Module No Yes (2ch) TPM 5 (8pin), 3 (6pin) 8 KBI No Yes IIC No 12ch, 10bit ADC Yes Yes ACMP 63bytes 254bytes/ 126bytes RAM 2K/1K 8K/4K Flash MC9RS08KA2/1 MC9RS08KA8/4 Feature Device  
    6. 6. Pin Compatible with QG8 RS08KA8 20-PDIP S08QG8 16-PDIP 24 QFN, 16PDIP,QFN,TSSOP, 8-DFN,PDIP,SOIC 16,20pin SOIC or PDIP Package Yes No SCI Yes No SPI 14(16-pin),6(8-pin) 14(16-pin), 18(20-pin) I/O pins Yes Yes RTI Yes Yes COP 1 2 MTIM ICS+XOSC ICS+XOSC Clock Module Yes(2ch) Yes (2ch) TPM 8 8 KBI Yes Yes IIC 8ch,10bit 12ch, 10bit ADC Yes Yes ACMP 512bytes/256bytes 254bytes/ 126bytes RAM 8K/4K 8K/4K Flash MC9S08QG8/4 MC9RS08KA8/4 Feature
    7. 7. ICS-OSC Module <ul><li>XOSC </li></ul><ul><ul><li>Crystal or Ceramic Resonator </li></ul></ul><ul><ul><li>31.25kHz ~ 39.0625kHz or 1MHz~5MHz </li></ul></ul><ul><li>ICS </li></ul><ul><ul><li>Internal clock source 32KHz </li></ul></ul><ul><ul><ul><li>0.2% resolution internal reference </li></ul></ul></ul><ul><ul><ul><li>2% deviation over voltage or temperature </li></ul></ul></ul><ul><ul><li>FLL is 512 times </li></ul></ul>
    8. 8. ADC Module <ul><li>12 channels </li></ul><ul><li>Fully functional from 2.7V to 5.5V </li></ul><ul><li>8 or 10 bits resolution (output: right-justified unsigned format) </li></ul><ul><li>Single or continuous conversion </li></ul><ul><li>Configurable sample time and speed/power </li></ul><ul><li>Conversion complete flag and interrupt </li></ul><ul><li>Automatic compare with interrupt (< or >=), programmable compare value </li></ul><ul><li>Input clock source selection (Bus CLK, ½ Bus CLK, ADACK, ALTCLK) </li></ul><ul><ul><li>0.4-8MHz working frequency </li></ul></ul><ul><li>Selectable hardware trigger (RTI output) </li></ul><ul><li>Operation in Stop mode for low noise operation (ATCLK) </li></ul><ul><ul><li>Decrease the error caused by internal circuit of silicon </li></ul></ul><ul><li>2.5us conversion time (with 8MHz clock and 10bit resolution) </li></ul><ul><ul><li>Maximum sample rate : 400Ksps </li></ul></ul>
    9. 9. IIC Module <ul><li>Compatible with IIC bus standard </li></ul><ul><li>Multi-master operation </li></ul><ul><li>Programmable serial clock frequency (64 selections) </li></ul><ul><li>Interrupt driven byte-by-byte data transfer </li></ul><ul><li>Arbitration lost interrupt with automatic mode switching from master to slave </li></ul><ul><li>Calling address identification interrupt </li></ul><ul><li>Start and stop signal generation/detection </li></ul><ul><li>Repeated start signal generation </li></ul><ul><li>Acknowledge bit generation/detection </li></ul><ul><li>Bus busy detection </li></ul><ul><li>General call recognition </li></ul><ul><li>10-bit address extension </li></ul><ul><li>Operation in wait mode </li></ul>
    10. 10. TPM Module <ul><li>Clock source : bus clock, fixed clock, external pin </li></ul><ul><ul><ul><li>Prescaler: 1,2, 4, 8, 16, 32, 64, 128 </li></ul></ul></ul><ul><li>Main Timer </li></ul><ul><ul><ul><li>16-bit free-running or up-down (CPWM) count operation </li></ul></ul></ul><ul><ul><ul><li>16-bit modulus register to control counter range </li></ul></ul></ul><ul><ul><ul><li>1 interrupts </li></ul></ul></ul><ul><li>Total 2 channels </li></ul><ul><ul><ul><li>Each channel may be input capture, output compare, or buffered edge-aligned PWM </li></ul></ul></ul><ul><ul><ul><ul><li>Rising-edge, falling-edge, or any-edge input capture trigger </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Set, clear, or toggle output compare action </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Selectable polarity on PWM outputs </li></ul></ul></ul></ul><ul><ul><ul><li>Configurable CPWM on all channels </li></ul></ul></ul><ul><ul><ul><li>One interrupt per channel </li></ul></ul></ul>
    11. 11. KA8 Applications <ul><li>Home appliance </li></ul><ul><li>Industrial control </li></ul><ul><li>Handheld devices </li></ul><ul><li>Sensing systems </li></ul><ul><li>Wireless communications </li></ul><ul><li>Security and alarm systems </li></ul><ul><li>Human input devices </li></ul><ul><li>Lighting Systems Control </li></ul><ul><li>Toys </li></ul><ul><li>Low End Microwave Oven </li></ul><ul><li>Low End Remote control </li></ul><ul><li>Low End Thermal Controlled BLDC Fan </li></ul><ul><li>Personal Care Appliances </li></ul><ul><li>Space Constrained Applications </li></ul><ul><li>Handheld Devices </li></ul><ul><li>Small Appliance </li></ul><ul><li>Wireless sensor applications </li></ul><ul><li>Smoke and CO detection </li></ul><ul><li>Electric Fan </li></ul><ul><li>Toast Oven </li></ul><ul><li>Electronic power meters </li></ul><ul><li>Smart batteries </li></ul><ul><li>Battery Charger </li></ul>
    12. 12. High performance KA8 Family At a glance SOIC/PDIP Two 8bit MTIM 8 18 GPIO 12ch 10bit 254 B 8K 20PIN SOIC/PDIP Two 8bit MTIM 8 14 GPIO 12ch 10bit 254 B 8K 16PIN MC9RS08KA8 8 8 KBI 18 GPIO 14 GPIO I/O SOIC/PDIP SOIC/PDIP Package Types Two 8bit MTIM Two 8bit MTIM Timer Channels 12ch 10bit 12ch 10bit ADC 126 B 126 B RAM 4K 4K Flash 20PIN 16PIN MC9RS08KA4
    13. 13. Demo Board <ul><li>DEMO9RS08KA8 </li></ul><ul><ul><li>Integrated USB-to-BDM interface </li></ul></ul><ul><ul><ul><li>No USBMULTILINKBDM required </li></ul></ul></ul><ul><ul><ul><li>In-circuit debugging & Flash programming </li></ul></ul></ul><ul><ul><ul><li>Without emulation requirements of serial monitors or other debugging techniques in the industry </li></ul></ul></ul><ul><ul><li>Demo board can be powered by the USB circuit </li></ul></ul><ul><ul><ul><li>No need for external power supply </li></ul></ul></ul><ul><ul><li>DIP socket </li></ul></ul><ul><ul><ul><li>Allows programming of multiple parts for engineering prototypes </li></ul></ul></ul><ul><li>USBMULTILINKBDME </li></ul><ul><ul><li>Use Revision “C” for RS08 support </li></ul></ul>
    14. 14. Additional Resource <ul><li>For ordering the MC9RS08KA8/4 MCUs, please click the part list or </li></ul><ul><li>Call our sales hotline at 1-800-4-NEWARK </li></ul><ul><li>For additional inquires contact our technical service hotline </li></ul><ul><li>For more product information go to </li></ul><ul><ul><li> </li></ul></ul>