Silicon limitations STM8AL3xxx STM8L052R8 STM8L1xxx6/8
4/18 DocID17922 Rev 6
1 Silicon limitations
Table 3 gives a summary of the fix status.
Legend for Table 3: A = workaround available; N = no workaround available; P = partial
workaround available; N/A: not applicable; ‘-’ and grayed = fixed.
Table 3. Summary of STM8AL3xxx, STM8L052R8, STM8L15xx6/8 and STM8L162x8 silicon
limitations
Section Limitation
STM8L15xM8/R8/C8/R6
STM8L162x8,
STM8AL318x,
STM8AL3L8x,
STM8AL3xE8x
rev. Z
STM8L052R8
rev. Z
Section 1.1: Core
limitations
Section 1.1.1: Interrupt service routine (ISR)
executed with priority of main process
NN
Section 1.1.2: Main CPU execution is not resumed
after an ISR resets the AL bit
AA
Section 1.1.3: Unexpected DIV/DIVW instruction
result in ISR
AA
Section 1.1.4: Incorrect code execution when WFE
execution is interrupted by ISR or event
AA
Section 1.1.5: Core kept in stall mode when DMA
transfer occurs during program/ erase operation to
EEPROM
AA
Section 1.1.6: Incorrect code execution when
FLASH/EEPROM memory wakes up from power
down mode
AA
Section 1.2:
System
limitations
Section 1.2.1: Default DAC output level when output
buffer is enabled
NN/A
Section 1.2.2: 32.768 kHz LSE crystal accuracy may
be disturbed by the use of adjacent I/Os
NN
Section 1.2.3: RTC LSE failure can be detected just
once after power-on reset
NN
DocID17922 Rev 6 5/18
STM8AL3xxx STM8L052R8 STM8L1xxx6/8 Silicon limitations
17
Section 1.3:
Peripheral
limitations
Section 1.3.1:
SPI2 peripheral
limitations
SPI2_MOSI cannot be configured
as pseudo open-drain on 48-pin
packages
NN
Section 1.3.2:
I2C peripheral
limitations
I2C event management AA
Corrupted last received data in I2C
Master Receiver mode
AA
Wrong behavior of the I2C
peripheral in Master mode after
misplaced STOP
AA
Violation of I2C “setup time for
repeated START condition”
parameter
AA
In I2C slave “NOSTRETCH” mode,
underrun errors may not be
detected and may generate bus
errors
AA
SMBus standard not fully
supported in I2C peripherals
AA
Section 1.3.3:
USART
peripheral
limitations
USART IDLE frame detection not
supported in the case of a clock
deviation
NN
PE flag can be cleared in USART
Duplex mode by writing to the data
register
AA
PE flag is not set in USART Mute
mode using address mark
detection
NN
IDLE flag is not set using address
mark detection in the USART
peripheral
NN
Section 1.3.4:
Timer limitations
TIM1 advanced timer: Bad
regulation for 100% PWM
NN
Table 3. Summary of STM8AL3xxx, STM8L052R8, STM8L15xx6/8 and STM8L162x8 silicon
limitations (continued)
Section Limitation
STM8L15xM8/R8/C8/R6
STM8L162x8,
STM8AL318x,
STM8AL3L8x,
STM8AL3xE8x
rev. Z
STM8L052R8
rev. Z
Silicon limitations STM8AL3xxx STM8L052R8 STM8L1xxx6/8
6/18 DocID17922 Rev 6
1.1 Core limitations
1.1.1 Interrupt service routine (ISR) executed with priority of main process
Description
If an interrupt is cleared or masked when the context saving has already started, the
corresponding ISR is executed with the priority of the main process.
Workaround
None.
No fix is planned for this limitation.
1.1.2 Main CPU execution is not resumed after an ISR resets the AL bit
Description
If the CPU is in wait for interrupt state and the AL bit is set, the CPU returns to wait for
interrupt state after executing an ISR. To continue executing the main program, the AL bit
must be reset by the ISR. When AL is reset just before exiting the ISR, the CPU may remain
stalled.
Workaround
Reset the AL bit at least two instructions before the IRET instruction.
No fix is planned for this limitation.
1.1.3 Unexpected DIV/DIVW instruction result in ISR
Description
In very specific conditions, a DIV/DIVW instruction may return a false result when executed
inside an interrupt service routine (ISR). This error occurs when the DIV/DIVW instruction is
interrupted and a second interrupt is generated during the execution of the IRET instruction
of the first ISR. Under these conditions, the DIV/DIVW instruction executed inside the
second ISR, including function calls, may return an unexpected result.
The applications that do not use the DIV/DIVW instruction within ISRs are not impacted.
Workaround 1
If an ISR or a function called by this routine contains a division operation, the following
assembly code should be added inside the ISR before the DIV/DIVW instruction:
push cc
pop a
and a,#$BF
push a
pop cc
This sequence should be placed by C compilers at the beginning of the ISR using
DIV/DIVW. Refer to your compiler documentation for details on the implementation and
control of automatic or manual code insertion.

STM8AL3LE88TCX

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
8-bit Microcontrollers - MCU 8 BITS MICROCONTR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet