DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 206|回复: 0
打印 上一主题 下一主题

基于MC9RS08KB12设计的8位MCU入门开发方案

[复制链接]
跳转到指定楼层
楼主
发表于 2011-4-29 00:15:04 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
基于MC9RS08KB12设计的8位MCU入门开发方案
MC9RS08KB12/8/4/2(RS08KB)是Freescale 公司的超低成本的入门级8位MCU,具有容易使用,设计灵活性和性能.RS08KB集成了多种外设和高效的RS08内核,支持中断,改善系统性能和节省其它元件成本. RS08KB有多达12KB闪存,256B RAM,高分辨率12路10位ADC,TPM,模块定时器和ACMP,以提供块速精密的检测和控制.目标应用在小家电,照明控制,低档热控制BLDC风扇,手持设备,电池充电器和玩具.本文介绍了MC9RS08KB12主要特性,方框图,以及DEMO9RS08KB12演示板主要特性和电路图.

The MC9RS08KB12/8/4/2 (RS08KB) family includes ultra-low-cost, entry-level 8-bit MCUs that balance ease of use with design flexibility and performance. The RS08KB family has an integrated peripheral set which includes a highly efficient RS08 core that supports interrupt capability, helping to improve system performance and save additional components costs. The RS08KB family eases migration by offering multiple package and flash size options, along with pin compatibility with other 5V families as well as the CodeWarrior development tool to support other 8-bit families. The family is available in 20, 16 or 8-pin packages, and features up to 12 KB flash and 254B RAM, high-resolution 12-ch., 10-bit ADC, TPM, modulo timers and ACMP to provide fast, precise sensing and control.

MC9RS08KB12主要特性:

? 8-Bit RS08 Central Processor Unit (CPU)

– Up to 20 MHz CPU at 1.8 V to 5.5 V across temperature range of –40℃ to 85℃

– Subset of HC08 instruction set with added BGND instruction

– Single Global interrupt vector

? On-Chip Memory

– Up to 12 KB flash read/program/erase over full operating voltage and temperature,12 KB/8 KB/4 KB/2 KB flash are optional

– Up to 254-byte random-access memory (RAM), 254-byte/126-byte RAM are optional

– Security circuitry to prevent unauthorized access to flash contents

? Power-Saving Modes

– Wait mode — CPU shuts down; system clocks continue to run; full voltage regulation

– Stop mode — CPU shuts down; system clocks are stopped; voltage regulator in standby

– Wakeup from power-saving modes using RTI, KBI, ADC, ACMP, SCI and LVD

? Clock Source Options

– Oscillator (XOSC) — Loop-control Pierce oscillator; crystal or ceramic resonator range of 31.25 kHz to 39.0625 kHz or 1 MHz to 16 MHz

– Internal Clock Source (ICS) — Internal clock source module containing a frequency-locked-loop (FLL) controlled by internal or external reference; precision trimming of internal reference allows 0.2% resolution and 2% deviation over temperature and voltage; supporting bus frequencies up to 10 MHz

? System Protection

– Watchdog computer operating properly (COP) reset with option to run from dedicated 1 kHz internal low power oscillator

– Low-voltage detection with reset or interrupt

– Illegal opcode detection with reset

– Illegal address detection with reset

– Flash-block protection

? Development Support

– Single-wire background debug interface

– Breakpoint capability to allow single breakpoint setting during in-circuit debugging

? Peripherals

– ADC — 12-channel, 10-bit resolution; 2.5 μs conversion time; automatic compare function; 1.7 mV/℃ temperature sensor; internal bandgap reference channel; operation in stop; hardware trigger; fully functional from 2.7 V to 5.5 V

– ACMP — Analog comparator; full rail-to-rail supply operation; option to compare to fixed internal bandgap reference voltage; can operate in stop mode

– TPM — One 2-channel timer/pulse-width modulator module; selectable input capture, output compare, or buffered edge- or center-aligned PWM on each channel

– IIC — Inter-integrated circuit bus module capable of operation up to 100 kbps with maximum bus loading; capable of higher baud rates with reduced loading

– SCI — One serial communications interface module with optional 13-bit break; LIN extensions

– MTIM — Two 8-bit modulo timers; optional clock sources

– RTI — One real-time clock with optional clock sources

– KBI — Keyboard interrupts; up to 8 ports

? Input/Output

– 18 GPIOs in 20-pin package; 14 GPIOs in 16-pin package; 6 GPIOs in 8-pin package; including one output-only pin and one input-only pin

– Hysteresis and configurable pullup device on all input pins; configurable slew rate and drive strength on all output pins

? Package Options

– MC9RS08KB12/MC9RS08KB8/MC9RS08KB4

— 20-pin SOIC, 16-pin SOIC NB or TSSOP

– MC9RS08KB2

— 8-pin SOIC or DFN

MC9RS08KB12目标应用:

Small appliances

Lighting control

Simple logic replacements

Low-end thermal controlled BLDC fans

Hand-held devices

Battery chargers

Toys





图1.MC9RS08KB12系列方框图

DEMO9RS08KB12演示板

The 8-bit DEMO9RS08KB12 demonstration kit soldered with 20SOIC KB12, 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.

DEMO9RS08KB12演示板主要特性:
?
MC9S08KB12, 20 SOIC
?
12K Bytes Flash
?
256 Bytes RAM
?
12Ch, 10-bit ADC
?
2-Ch, Timer/PWM
?
Internal Clock Source
?
18 GPIO
?
Optional 32 kHz XTAL (not installed)
?
Integrated USB-BDM
?
BDM_PORT header for BDM cable support (not installed)
?
MCU_PORT socket header for access to MCU IO signals
?
On-board +5V regulator
?
Power Input Selection Jumpers
?
Power input from USB-BDM
?
Power input from Barrel connector and on-board regulator
?
Power Input from connector J1
?
Optional Power output through Connector J1
?
User Components Provided

Push Switches; 2 User, 1 Reset

LED Indicators; 2 User, VDD, D300

5K ohm POT w /LP Filter

Light Sensor w/ Amplifier

Jumpers

Power Select

VSEL

VX_EN

USER_EN

COM_EN

VPPE

Connectors

40-pin MCU I/O Connector

2.0mm Barrel Connector

BDM_PORT (not installed)

USB Connectors

DB9 Connector



图2.DEMO9RS08KB12演示板外形图



图3.DEMO9RS08KB12演示板电路图
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|文字版|手机版|DIY编程器网 ( 桂ICP备14005565号-1 )

GMT+8, 2026-5-10 17:19 , 耗时 0.120946 秒, 19 个查询请求 , Gzip 开启.

各位嘉宾言论仅代表个人观点,非属DIY编程器网立场。

桂公网安备 45031202000115号

DIY编程器群(超员):41210778 DIY编程器

DIY编程器群1(满员):3044634 DIY编程器1

diy编程器群2:551025008 diy编程器群2

QQ:28000622;Email:libyoufer@sina.com

本站由桂林市临桂区技兴电子商务经营部独家赞助。旨在技术交流,请自觉遵守国家法律法规,一旦发现将做封号删号处理。

快速回复 返回顶部 返回列表