日本黄色一级经典视频|伊人久久精品视频|亚洲黄色色周成人视频九九九|av免费网址黄色小短片|黄色Av无码亚洲成年人|亚洲1区2区3区无码|真人黄片免费观看|无码一级小说欧美日免费三级|日韩中文字幕91在线看|精品久久久无码中文字幕边打电话

當(dāng)前位置:首頁(yè) > 嵌入式 > 嵌入式硬件



Freescale公司的MC9RS08KA2系列微控制器是超低成本低引腳數(shù)器件,特別適合家用電器,玩具和小型設(shè)備的應(yīng)用。創(chuàng)新的高亮LED解決方案在低成本應(yīng)用中迅速增長(zhǎng),但是低端高亮LED解決方案需要高級(jí)的系統(tǒng)控制和大恒流電流來(lái)維持色彩完整性和高的亮度輸出。本文介紹采用MC9RS08KA2的主要性能,以及用MC9RS08KA2控制的高亮LED解決方案的電路圖。

Innovative HBLED solutions are rapidly gaining popularity in low-cost applications
that require an extremely cost-effective bill-of-materials. However, low-end HBLED
applications still require a high level of system control as well as high constant-current to
maintain color integrity and high light output.
Freescale’s general-purpose ultra-low-end KA2 8-bit MCU offers an economical solution for this application. The on-chip analog comparator is designed to provide an accurate current measurement, which allows feedback control to maintain a constant level in the LED forward current.


MC9RS08KA2 Controlled High-Brightness LED



The MC9RS08KA2 Series microcontroller unit (MCU) is an extremely low-cost, small pin count device for home appliances, toys, and small geometry applications. This device is composed of standard on-chip modules including, a very small and highly efficient RS08 CPU core, 63 bytes RAM, 2K bytes Flash, an 8-bit modulo timer, keyboard interrupt, and analog comparator. The device is available in small 6- and 8-pin packages.



圖1。MC9RS08KA2系列方框圖

MC9RS08KA2主要特性:
8-Bit RS08 Central Processor Unit (CPU)
Simplified S08 instruction set with added high-performance instructions
LDA, STA, and CLR instructions support the short addressing mode; address $0000 to $001F can be accessed via a single-byte instruction
ADD, SUB, INC, and DEC instructions support the tiny addressing mode;
address $0000 to $000F can be accessed via a single-byte instruction with reduced instruction cycle
Shadow PC register instructions: SHA and SLA
Pending interrupt indication
Index addressing via D[X] and X register
Direct page access to the entire memory map through paging window
Memory
On-chip Flash EEPROM
MC9RS08KA2: 2048 bytes
MC9RS08KA1: 1024 bytes
63 bytes on-chip RAM
Power-Saving Modes
Wait and stop
Wakeup from power-saving modes using real-time interrupt (RTI), KBI, or ACMP
Clock Source
ICS — Trimmable 20-MHz internal clock source
Up to 10-MHz internal bus operation
0.2% trimmable resolution, 2% deviation over temperature and voltage range
System Protection
Computer operating properly (COP) reset running off bus-independent clock source
Low-voltage detection with reset or stop wakeup
Peripherals
MTIM — 8-bit modulo timer
ACMP — Analog comparator
Full rail-to-rail supply operation
Option to compare to fixed internal bandgap reference voltage
Can operate in stop mode
KBI — Keyboard interrupt ports
Three KBI ports in 6-pin package
Five KBI ports in 8-pin package
Development Support
Background debug system
Breakpoint capability to allow single breakpoint setting during in-circuit debug
Package Options
6-pin dual flat no lead (DFN) package
Two general-purpose input/output (I/O)pins
One general-purpose input pin
One general-purpose output pin
8-pin plastic dual in-line pin (PDIP) package
Four general-purpose input/output (I/O) pins
One general-purpose input pin
One general-purpose output pin
8-pin narrow body SOIC package
Four general-purpose input/output (I/O) pins
One general-purpose input pin
One general-purpose output pin


Innovative HBLED solutions are rapidly gaining popularity in low-cost applications
that require an extremely cost-effective bill-of-materials. However, low-end HBLED
applications still require a high level of system control as well as high constant-current to
maintain color integrity and high light output.
Freescale’s general-purpose ultra-low-end KA2 8-bit MCU offers an economical solution for this application. The on-chip analog comparator is designed to provide an accurate current measurement, which allows feedback control to maintain a constant level in the LED forward current.

KA2 HBLED Demo
Freescale demonstrates its ability to control the HBLED with a KA2 demo unit based on
a buck topology switching power supply.

This maximizes energy transfer between the battery and the HBLED. The KA2 microcontroller is used to measure the current through its on-chip analog comparator, then uses that feedback to control luminosity intensity on the LED. The user can toggle
between two MCU-controlled potential divider settings to vary the LED brightness levels. The demo unit also includes an open-source BDM interface for easy firmware evaluation.

下圖是MC9RS08KA2控制的高亮LED電路圖。


本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實(shí)性等。需要轉(zhuǎn)載請(qǐng)聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請(qǐng)及時(shí)聯(lián)系本站刪除( 郵箱:macysun@21ic.com )。
換一批
延伸閱讀
關(guān)閉