Datasheet BA45F5450 (Holtek) - 8

HerstellerHoltek
Beschreibung9V High Voltage Smoke Detector Flash MCU
Seiten / Seite201 / 8 — BA45F5450. 9V High Voltage Smoke Detector Flash MCU. General Description. …
Dateiformat / GrößePDF / 3.2 Mb
DokumentenspracheEnglisch

BA45F5450. 9V High Voltage Smoke Detector Flash MCU. General Description. Block Diagram

BA45F5450 9V High Voltage Smoke Detector Flash MCU General Description Block Diagram

Modelllinie für dieses Datenblatt

Textversion des Dokuments

BA45F5450 BA45F5450 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU General Description
The BA45F5450 is a Flash Memory A/D type 8-bit high performance RISC architecture microcontroller especially designed for high voltage smoke detector applications which also require a buzzer alarm function. For memory features, the Flash Memory offers users the convenience of multi-programming features. Other memory includes an area of RAM Data Memory as well as an area of true EEPROM memory for storage of non-volatile data such as serial numbers, calibration data etc. Analog features include a multi-channel Analog to Digital converter, two operational amplifiers, a D/A converter and an internal TinyPower LDO which allows input voltage as high as 12V and provides a fixed 3.3V voltage. With regard to internal timers, the device includes multiple and extremely flexible Timer Modules providing functions for timing, pulse generation and PWM output operations. Communication with the outside world is catered for by including fully integrated SPI, I2C and UART interface functions, three popular interfaces which provide designers with a means of easy communication with external peripheral hardware. Protective features such as an internal Watchdog Timer, Low Voltage Reset and Low Voltage Detector coupled with excellent noise immunity and ESD protection ensure that reliable operation is maintained in hostile electrical environments. The device also includes fully integrated high and low speed oscillators which require no external components for their implementation. The ability to operate and switch dynamically between a range of operating modes using different clock sources gives users the ability to optimise microcontroller operation and minimise power consumption. This device contains a programmable I/O port source current function which is used to implement LED driving function. While the inclusion of flexible I/O programming features, Time-Base function, piezoelectric horn driver along with many other features ensure that the device will find excellent use in the smoke detector alarm applications.
Block Diagram
IAP SIM Port A Driver PA0~PA7 UART Reset ROM RAM Circuit 8K × 16 1024 × 8 Pin-Shared Port B PB0~PB7 I/O Function Driver EEPROM Stack INT0~ Interrupt 128 × 8 8-level INT1 Controller Port C Watchdog Timers Driver PC4 Pin-shared LVD/LVR Timer with Port A & B Digital Peripherals HT8 MCU Core Pin-shared with Port B SYSCLK A0PB LIRC OPA0O A0PI Time Bases 32kHz M OPA0 UX A0NI HIRC VDD/AVDD VDD/AVDD 2/4/8MHz OPA1O A0O OPA1 UX VSS/AVSS/VSS1/VSS2 VSS/AVSS/VSS1/VSS2 M Clock System A1PI Bus A1O VCC Smoke Detector AFE LDO VREG Pin-shared 3.3V with Port A VREG VREG ISINK0 Sink Current Generator ENCLK ISINK1 16-bit VREG VREG DACO Voice DAC MODE Pin-shared VDD with Port B VCC Piezoelectric Horn Driver VREF FB VCC AN0~AN6 M Pin-shared VBGREF UX VS 12-bit with Port A & B OPA0O ADC VCC OPA1O VB Analog-to-Digital Converter Analog Peripherals Smoke Detect Alarm Peripheral : Pin-shared Node : SIM including SPI & I2C Rev. 1.00 8 June 15, 2020 Rev. 1.00 9 June 15, 2020 Document Outline Features CPU Features Peripheral Features General Description Block Diagram Pin Assignment Pin Description Absolute Maximum Ratings D.C. Characteristics Operating Voltage Characteristics Operating Current Characteristics Standby Current Characteristics A.C. Characteristics High Speed Internal Oscillator – HIRC – Frequency Accuracy Low Speed Internal Oscillator – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVD & LVR Electrical Characteristics A/D Converter Electrical Characteristics Reference Voltage Characteristics Sink Current Generator Electrical Characteristics Sink Current Generator Characteristic Curves Operational Amplifier Electrical Characteristics – Smoke Detector AFE 16-bit Voice D/A Converter Electrical Characteristics LDO Electrical Characteristics Piezoelectric Horn Driver Characteristics Power-on Reset Characteristics System Architecture Clocking and Pipelining Program Counter Stack Arithmetic and Logic Unit – ALU Flash Program Memory Structure Special Vectors Look-up Table Table Program Example In Circuit Programming – ICP On Chip Debug Support – OCDS In Application Programming – IAP Data Memory Structure Data Memory Addressing General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Registers – IAR0, IAR1, IAR2 Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, TBHP, TBLH Status Register – STATUS EEPROM Data Memory EEPROM Data Memory Structure EEPROM Registers Reading Data from the EEPROM Writing Data to the EEPROM Write Protection EEPROM Interrupt Programming Considerations Oscillators Oscillator Overview System Clock Configurations Internal High Speed RC Oscillator – HIRC Internal 32kHz Oscillator – LIRC Operating Modes and System Clocks System Clocks System Operation Modes Control Registers Operating Mode Switching Standby Current Considerations Wake-up Watchdog Timer Watchdog Timer Clock Source Watchdog Timer Control Register Watchdog Timer Operation Reset and Initialisation Reset Functions Reset Initial Conditions Input/Output Ports Pull-high Resistors Port A Wake-up I/O Port Control Registers I/O Port Source Current Control Pin-shared Functions I/O Pin Structures Programming Considerations Timer Modules – TM Introduction TM Operation TM Clock Source TM Interrupts TM External Pins Programming Considerations Standard Type TM – STM Standard TM Operation Standard Type TM Register Description Standard Type TM Operation Modes Periodic Type TM – PTM Periodic TM Operation Periodic Type TM Register Description Periodic Type TM Operating Modes Smoke Detector AFE Smoke Detector AFE Registers Operational Amplifier Operation Operational Amplifier Input Offset Calibration Piezoelectric Horn Driver Self-driving Mode External-driving Mode Analog to Digital Converter A/D Converter Overview A/D Converter Register Description A/D Converter Operation A/D Converter Reference Voltage A/D Converter Input Signals Conversion Rate and Timing Diagram Summary of A/D Conversion Steps Programming Considerations A/D Conversion Function A/D Conversion Programming Examples Sink Current Generator Sink Current Generator Registers 16-bit Voice D/A Converter D/A Converter Registers Serial Interface Module – SIM SPI Interface I2C Interface UART Interface UART External Pins UART Data Transfer Scheme UART Status and Control Registers Baud Rate Generator UART Setup and Control UART Transmitter UART Receiver Managing Receiver Errors UART Interrupt Structure UART Power Down and Wake-up Low Voltage Detector – LVD LVD Register LVD Operation Interrupts Interrupt Registers Interrupt Operation External Interrupts A/D Converter Interrupt Time Base Interrupts Multi-function Interrupt SIM Interrupt UART Interrupt LVD Interrupt EEPROM Interrupt TM Interrupts Interrupt Wake-up Function Programming Considerations Application Circuits External-Driving Buzzer Application Circuit Self-Driving Buzzer Application Circuit Instruction Set Introduction Instruction Timing Moving and Transferring Data Arithmetic Operations Logical and Rotate Operation Branches and Control Transfer Bit Operations Table Read Operations Other Operations Instruction Set Summary Table Conventions Extended Instruction Set Instruction Definition Extended Instruction Definition Package Information 20-pin SOP (300mil) Outline Dimensions 24-pin SOP (300mil) Outline Dimensions 28-pin SOP (300mil) Outline Dimensions