Do you have a question about the ST STM8 and is the answer not in the manual?
Architecture | 8-bit |
---|---|
Core | STM8 |
ADC Resolution | 10-bit |
Max CPU Frequency | 24 MHz |
Flash Memory | Up to 128 KB |
RAM | Up to 6 KB |
EEPROM | Up to 2 KB |
I/O Pins | Up to 68 |
Operating Voltage | 2.95V to 5.5V |
Operating Temperature | -40°C to 85°C |
Communication Interfaces | UART, SPI, I2C |
Package Options | SO, TSSOP, LQFP, UFQFPN |
Describes the different operating modes of the SWIM interface: OFF, I/O, and ACTIVE.
Details the specific sequence required to activate the SWIM interface from the OFF state.
Explains the return-to-zero bit format used for SWIM communication.
Defines the bit encoding for high-speed communication with 10 SWIM clock pulses.
Defines the bit encoding for low-speed communication with 22 SWIM clock pulses.
Outlines the protocol for host-to-target and target-to-host communication.
Details the available commands for controlling the SWIM interface.
Describes the SRST command for generating a system reset.
Explains the ROTF command for reading data from memory while the CPU is running.
Details the WOTF command for writing data to memory while the CPU is running.
Explains how to reset the SWIM communication in case of problems.
Describes how to access CPU registers using SWIM commands.
Explains SWIM operation and limitations when the MCU is in Halt mode.
Details the physical characteristics and timings of the SWIM interface.
Provides information on the SWIM registers used for control and status.
Describes the bits and functionality of the SWIM_CSR register.
Details the CLK_SWIMCCR register for controlling the SWIM clock.
Introduces the Debug Module (DM) for performing debugging tasks without an emulator.
Lists the primary capabilities of the Debug Module.
Covers the debugging functionalities provided by the DM.
Explains how breakpoints are used to initialize the debug session.
Describes how the DM generates stalls when breakpoints are reached.
Details the procedure for using the abort function via the STALL bit.
Explains how to configure watchdogs to stop when the CPU is stalled.
Describes how the DM status is communicated via the SWIM interface.
Provides a table for decoding breakpoint interrupt generation conditions.
Details how to insert breakpoints using software break instructions.
Defines when the debug module stalls the CPU based on breakpoint sources.
Explains how the stall is generated immediately when writing the STALL bit.
Describes when a stall is generated for data breakpoints.
Explains how DM stalls the CPU before instruction execution for instruction breakpoints.
Details how the STM8 CPU stall is activated before instruction execution in step mode.
Provides notes on illegal memory access, forbidden stack access, and DM breaks.
Explains how to detect illegal memory access using breakpoint conditions.
Describes using DM to prevent overwriting critical stack data or instructions.
Explains how to continue program execution after a DM break.
Lists and describes the read/write registers of the Debug Module.
Defines the DM_BKR1E register for breakpoint 1 extended address bits.
Defines the DM_BKR1H register for breakpoint 1 high address bits.
Defines the DM_BKR1L register for breakpoint 1 low address bits.
Defines the DM_BKR2E register for breakpoint 2 extended address bits.
Defines the DM_BKR2H register for breakpoint 2 high address bits.
Defines the DM_BKR2L register for breakpoint 2 low address bits.
Describes the DM_CR1 register for controlling watchdog and breakpoints.
Details the DM_CR2 register for vector table remapping and other controls.
Explains the DM_CSR1 register for step mode and breakpoint flags.
Details the DM_CSR2 register for software breakpoint and stall control.
Describes the DM_ENFCTR register for freezing peripherals during debug.
Provides a summary of STM8 MCU registers including SWIM and DM.