Datasheet BA45F5440 (Holtek) - 7

FabricanteHoltek
Descripción9V High Voltage Smoke Detector Flash MCU
Páginas / Página181 / 7 — BA45F5440. 9V High Voltage Smoke Detector Flash MCU. General Description
Formato / tamaño de archivoPDF / 2.9 Mb
Idioma del documentoInglés

BA45F5440. 9V High Voltage Smoke Detector Flash MCU. General Description

BA45F5440 9V High Voltage Smoke Detector Flash MCU General Description

Línea de modelo para esta hoja de datos

Versión de texto del documento

BA45F5440 BA45F5440 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU General Description
The BA45F5440 is a Flash Memory A/D type 8-bit high performance RISC architecture microcontroller, designed especially 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 and an internal TinyPower LDO which allows input voltages 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 can be flexibly used for different applications. 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 minimize power consumption. The usual Holtek MCU features such as power down and wake-up functions, oscillator options, programmable frequency divider, etc. combine to ensure user applications require a minimum of external components. While the inclusion of flexible I/O programming features, Time-Base functions, Sink Current generator, piezoelectric horn driver along with many other features ensure that the device will find excellent use in the smoke detector alarm applications. Rev. 1.00 6 September 03, 2020 Rev. 1.00 7 September 03, 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 Frequency Accuracy Low Speed Internal Oscillator Characteristics – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVD & LVR Electrical Characteristics A/D Converter Electrical Characteristics Internal Reference Voltage Characteristics Sink Current Generator Electrical Characteristics Operational Amplifier Electrical Characteristics – Smoke Detector AFE 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 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 Source Current Selection 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 Operation Modes Smoke Detector AFE Smoke Detector AFE Registers 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 Universal Serial Interface Module – USIM SPI Interface I2C Interface UART Interface Low Voltage Detector – LVD LVD Register LVD Operation Interrupts Interrupt Registers Interrupt Operation External Interrupt A/D Converter Interrupt Time Base Interrupts USIM 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 20-pin SSOP (150mil) Outline Dimensions