Datasheet BA45F5420 (Holtek) - 9

FabricanteHoltek
Descripción9V High Voltage Smoke Detector Flash MCU
Páginas / Página112 / 9 — BA45F5420. 9V High Voltage Smoke Detector Flash MCU. Pin Name. Function …
Formato / tamaño de archivoPDF / 2.1 Mb
Idioma del documentoInglés

BA45F5420. 9V High Voltage Smoke Detector Flash MCU. Pin Name. Function OPT. I/T. O/T. Description

BA45F5420 9V High Voltage Smoke Detector Flash MCU Pin Name Function OPT I/T O/T Description

Línea de modelo para esta hoja de datos

Versión de texto del documento

BA45F5420 BA45F5420 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU Pin Name Function OPT I/T O/T Description
PAWU PA2 PAPU ST CMOS General purpose I/O. Register enabled pull-up and PAS0 wake-up. INTEG PA2/INT/PTCK/AN2/ INT INTC0 ST — External interrupt A1PI/ICPCK PAS0 PTCK PAS0 ST — PTM clock input AN2 PAS0 AN — A/D Converter analog input channel A1PI PAS0 AN — OPA1 non-inverting input ICPCK — ST — ICP clock pin PAWU PA3 PAPU ST CMOS General purpose I/O. Register enabled pull-up and PAS0 wake-up. PA3/PTPB/A0PB/ PTPB PAS0 — CMOS PTM inverting output VREF/ENCLK A0PB PAS0 AN — OPA0 non-inverting pin bias input VREF PAS0 AN — A/D Converter external reference input ENCLK — ST — Piezoelectric horn driver enable/clock input ISINK0 ISINK0 — — AN Sink current 0 source ISINK1 ISINK1 — — AN Sink current 1 source A0NI A0NI — AN — OPA0 inverting input A0PI A0PI — AN — OPA0 non-inverting input OCDSCK OCDSCK — ST — OCDS clock, for EV chip only OCDSDA OCDSDA — ST CMOS OCDS data/address, for EV chip only VDD — PWR — Digital positive power supply VDD/AVDD AVDD — PWR — ADC positive power supply VSS — PWR — Digital negative power supply VSS/AVSS/ AVSS — PWR — ADC negative power supply VSS1/VSS2 VSS1 — PWR — Sink Current Generator negative power supply VSS2 — PWR — Sink Current Generator negative power supply FB FB — ST — Feedback input for driving piezoelectric horn VS VS — — CMOS Output for driving piezoelectric horn VB VB — — CMOS Complementary output for driving piezoelectric horn MODE MODE — ST — Piezoelectric horn driver mode select – Feedback/ non-feedback VCC VCC — PWR — Voltage supply for LDO& piezoelectric horn driver LDO output, this pin should be connected to the VREG VREG — — PWR MCU positive power supply, VDD, for smoke detector applications NC — — — — No connected Note: I/T: Input type O/T: Output type OPT: Optional by register option PWR: Power ST: Schmitt Trigger input CMOS: CMOS output AN: Analog signal 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. Electrical Characteristics Operating Voltage Characteristics Standby Current Characteristics Operating Current Characteristics A.C. Electrical Characteristics High Speed Internal Oscillator – HIRC – Frequency Accuracy Low Speed Internal Oscillator Characteristics – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics Internal Reference Voltage Electrical Characteristics LVR Electrical Characteristics Sink Current Generator Electrical Characteristics Operational Amplifier Electrical Characteristics A/D 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 RAM Data Memory Structure General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Register – IAR0, IAR1 Memory Pointers – MP0, MP1 Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, TBLH Status Register – STATUS Emulated EEPROM Data Memory Emulated EEPROM Data Memory Structure Emulated EEPROM Registers Erasing the Emulated EEPROM Writing Data to the Emulated EEPROM Reading Data from the Emulated EEPROM Programming Considerations Oscillators Oscillator Overview System Clock Configurations Internal 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 Sink Current Generator 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 Periodic Type TM – PTM Periodic Type TM Operation Periodic Type TM Register Description Periodic Type TM Operating Modes Smoke Detector AFE Smoke Detector AFE Registers Operational Amplifier Operation Piezoel Horn Driver Analog to Digital Converter A/D Overview Registers Descriptions A/D Converter Reference Voltage A/D Converter Input Signals A/D Converter Operation Conversion Rate and Timing Diagram Summary of A/D Conversion Steps Programming Considerations A/D Transfer Function A/D Programming Examples Interrupts Interrupt Registers Interrupt Operation External Interrupt Timer Module Interrupts A/D Converter Interrupt Time Base 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 Instruction Definition Package Information 16-pin NSOP (150mil) Outline Dimensions 20-pin SOP (300mil) Outline Dimensions