ST72344xx, ST72345xx 8-bit MCU with up to 16 Kbytes Flash memory, 10-bit ADC, two 16-bit timers, two I2C, SPI, SCI Datasheet production data Features Memories up to 16 Kbytes Program memory: single voltage extended Flash (XFlash) with read- LQFP48 LQFP32 LQFP44 7 x 7 mm 7 7 mm 10 10 mm out and write protection, in-circuit and in- application programming (ICP and IAP). 10,000 write/erase cycles guaranteed, data 16-bit timer B with: 2 input captures, 2 retention: 20 years at 55 C. output compares, PWM and pulse generator modes up to 1 Kbyte RAM 256 bytes data EEPROM with readout 3 communication interfaces 2 protection. 300,000 write/erase cycles I C multimaster / slave guaranteed, data retention: 20 years at 2 I C slave 3 addresses, no stretch, with 55 C. DMA access and byte pair coherency on Clock, reset and supply management IC read Power on / power off safe reset with SCI asynchronous serial interface (LIN 3 programmable threshold levels (LVD) compatible) Auxiliary voltage detector (AVD) SPI synchronous serial interface Clock sources: crystal/ceramic resonator 1 analog peripheral oscillators, high-accuracy internal RC 10-bit ADC with 12 input channels (8 on 32- oscillator or external clock pin devices) PLL for 4x or 8x frequency multiplication Instruction set 5 power-saving modes: Slow, Wait, Halt, 8-bit data manipulation Auto-wakeup from Halt and Active-halt 63 basic instructions with illegal opcode Clock output capability (f ) CPU detection Interrupt management 17 main addressing modes Nested interrupt controller 8 x 8 unsigned multiply instruction 10 interrupt vectors plus TRAP and RESET Development tools 9 external interrupt lines on 4 vectors Full hardware/software development Up to 34 I/O ports package up to 34 multifunctional bidirectional I/O On-chip debug module lines up to 12 high sink outputs (10 on 32-pin Table 1. Device summary devices) References Part numbers 4 timers ST72344K2, ST72344K4, Configurable window watchdog timer ST72344xx ST72344S2, ST72344S4 Real-time base ST72345xx ST72345C4 16-bit timer A with: 1 input capture, 1 output compare, external clock input, PWM and pulse generator modes July 2012 Doc ID 12321 Rev 6 1/247 This is information on a product in full production. www.st.com 1Contents ST72344xx, ST2345xx Contents 1 Description 15 2 Pin description 17 3 Register and memory map . 23 4 Flash program memory . 27 4.1 Introduction . 27 4.2 Main features 27 4.3 Programming modes 27 4.3.1 In-circuit programming (ICP) . 28 4.3.2 In-application programming (IAP) . 28 4.4 ICC interface 28 4.5 Memory protection 29 4.5.1 Readout protection 29 4.5.2 Flash write/erase protection 30 4.6 Register description . 30 4.6.1 Flash control/status register (FCSR) . 30 5 Data EEPROM . 31 5.1 Introduction . 31 5.2 Main features 31 5.3 Memory access 31 5.4 Power saving modes 33 5.4.1 Wait mode . 33 5.4.2 Active-halt mode 33 5.4.3 Halt mode . 33 5.5 Access error handling 33 5.6 Data EEPROM readout protection 34 5.7 Register description . 35 5.7.1 EEPROM control/status register (EECSR) 35 6 Central processing unit . 36 2/247 Doc ID 12321 Rev 6