English
Language : 

STM8AF52AATAY Datasheet, PDF (15/114 Pages) STMicroelectronics – Automotive 8-bit MCU, with up to 128 Kbytes Flash, data EEPROM, 10-bit ADC, timers, LIN, CAN, USART, SPI, I2C, 3 to 5.5 V
STM8AF52/62xx, STM8AF51/61xx
Product overview
5.2
5.2.1
5.2.2
Single wire interface module (SWIM) and debug module (DM)
SWIM
The single wire interface module, SWIM, together with an integrated debug module, permits
non-intrusive, real-time in-circuit debugging and fast memory programming. The interface
can be activated in all device operation modes and can be connected to a running device
(hot plugging).The maximum data transmission speed is 145 bytes/ms.
Debug module
The non-intrusive debugging module features a performance close to a full-flavored
emulator. Besides memory and peripheral operation, CPU operation can also be monitored
in real-time by means of shadow registers.
• R/W of RAM and peripheral registers in real-time
• R/W for all resources when the application is stopped
• Breakpoints on all program-memory instructions (software breakpoints), except the
interrupt vector table
• Two advanced breakpoints and 23 predefined breakpoint configurations
5.3
Interrupt controller
• Nested interrupts with three software priority levels
• 24 interrupt vectors with hardware priority
• Five vectors for external interrupts (up to 37 depending on the package)
• Trap and reset interrupts
5.4
5.4.1
Flash program and data EEPROM
• 32 Kbytes to 128 Kbytes of high density single voltage Flash program memory
• Up to 2 Kbytes true (not emulated) data EEPROM
• Read while write: writing in the data memory is possible while executing code in the
Flash program memory.
The whole Flash program memory and data EEPROM are factory programmed with 0x00.
Architecture
• The memory is organized in blocks of 128 bytes each
• Read granularity: 1 word = 4 bytes
• Write/erase granularity: 1 word (4 bytes) or 1 block (128 bytes) in parallel
• Writing, erasing, word and block management is handled automatically by the memory
interface.
DocID14395 Rev 10
15/114
113