Holtek 公司的HT45FM03B是无刷DC马达闪存型8位高性能
RISC架构MCU,具有低功耗,I/O灵活性,可编频率除法器,定时器功能,多路ADC,PWM功能,降功耗和叫醒功能,工作电压4.5V-5.5V,26条双向I/O线,特别适合无刷DC马达应用.本文介绍HT45FM03B主要特性, 方框图和PWM方框图, PWMCM = 0 和1的PWM输出控制框图以及应用电路图.
HT45FM03B: Brushless DC Motor Flash Type 8-Bit MCU
The HT45FM03B is 8-bit, high performance,
RISC architecture microcontroller device which includes a host of fully integrated special features specifically designed for brushless DC motor applications.
The advantages of low power consumption, I/O flexibility, programmable frequency divider, timer functions, oscillator options, multi-channel A/D Converter, Pulse Width Modulation function, power-down and wake-up functions, although especially directed at brushless DC motor applications, the enhanced versatility of this device also makes it applicable for use in a wide range of A/D application possibilities such as sensor signal processing, motor driving, industrial control, consumer products, subsystem controllers, etc.
HT45FM03B主要特性:
_ Operating voltage: fSYS= 0.4~20MHz: 4.5V~5.5V
_ 26 bidirectional I/O lines
_ External interrupt inputs shared with 4 I/O lines
_ 8-bit programmable Timer/Event Counter with overflow interrupt and 7-stage prescaler
_ 16-bit programmable Timer/Event Counter with overflow interrupt and 7-stage prescaler
_ 4096_15 Flash Program Memory
_ 192_8 Data Memory RAM
_ On-chip crystal, internal RC and external RC oscillator
_ Fully integrated internal RC oscillator with three fixed frequencies: 12MHz, 16MHz or 20MHz
_ Watchdog Timer function
_ PFD for audio frequency generation
_ Power down and wake-up functions to reduce power consumption
_ Up to 0.2_s instruction cycle with 20MHz system clock at VDD=5V
_ 8-level subroutine nesting
_ 8 channel 12-bit resolution A/D converter
_ 3 pairs of 10-bit PWM with complementary outputs shared with six I/O lines and with 3 PWM duty control registers
_ Bit manipulation instruction
_ Table read instructions
_ 63 powerful instructions
_ All instructions in one or two machine cycles
_ Low voltage reset function
_ Low voltage detect function
_ Integrated operational Amplifier
_ Integrated Analog Comparator with interrupt function
_ 28-pin SOP package

图1.HT45FM03B方框图

图2.HT45FM03B PWM方框图

图3.HT45FM03B PWMCM = 0 PWM输出控制框图

图4.HT45FM03B PWMCM = 1 PWM输出控制框图

图5.HT45FM03B 应用电路图