12. High performance KA8 Family At a glance MC9RS08KA8 MC9RS08KA4 16PIN 20PIN 16PIN 20PIN Flash 8K 8K 4K 4K RAM 254 B 254 B 126 B 126 B ADC 12ch 10bit 12ch 10bit 12ch 10bit 12ch 10bit I/O 14 GPIO 18 GPIO 14 GPIO 18 GPIO KBI 8 8 8 8 Timer Channels Two 8bit MTIM Two 8bit MTIM Two 8bit MTIM Two 8bit MTIM Package Types SOIC/PDIP SOIC/PDIP SOIC/PDIP SOIC/PDIP
13.
14.
Hinweis der Redaktion
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.