st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 362

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
Known limitations
15.3
15.3.1
362/371
Concurrent interrupt context
The symptom does not occur when the interrupts are handled normally, that is, when:
If these conditions are not met, the symptom can be avoided by implementing the following
sequence:
Perform SIM and RIM operation before and after resetting an active interrupt request
Nested interrupt context
The symptom does not occur when the interrupts are handled normally, that is, when:
If these conditions are not met, the symptom can be avoided by implementing the following
sequence:
TIMD set simultaneously with OC interrupt
If the 16-bit timer is disabled at the same time as the output compare event occurs then the
output compare flag gets locked and cannot be cleared before the timer is enabled again.
Impact on the application
If the output compare interrupt is enabled, then the output compare flag cannot be cleared
in the timer interrupt routine. Consequently the interrupt service routine is called repeatedly
and the application gets stuck which causes the watchdog reset if enabled by the
application.
Example:
The interrupt request is cleared (flag reset or interrupt mask) within its own interrupt
routine
The interrupt request is cleared (flag reset or interrupt mask) within any interrupt
routine
The interrupt request is cleared (flag reset or interrupt mask) in any part of the code
while this interrupt is disabled
SIM
Reset flag or interrupt mask
RIM
The interrupt request is cleared (flag reset or interrupt mask) within its own interrupt
routine.
The interrupt request is cleared (flag reset or interrupt mask) within any interrupt
routine with higher or identical priority level.
The interrupt request is cleared (flag reset or interrupt mask) in any part of the code
while this interrupt is disabled.
Push CC
SIM
Reset flag or interrupt mask
Pop CC
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto

Related parts for st7pmc2s6