ST72F324BJ STMICROELECTRONICS [STMicroelectronics], ST72F324BJ Datasheet - Page 183

no-image

ST72F324BJ

Manufacturer Part Number
ST72F324BJ
Description
8-bit MCU, 3.8 to 5.5 V operating range with 8 to 32 Kbyte Flash/ROM, 10-bit ADC, 4 timers, SPI, SCI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72F324BJ2B6
Manufacturer:
ST
0
Part Number:
ST72F324BJ2T3
Manufacturer:
ST
0
Part Number:
ST72F324BJ2T6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
ST72F324BJ2T6
Manufacturer:
ST
0
Part Number:
ST72F324BJ2TA
Manufacturer:
ST
Quantity:
470
Part Number:
ST72F324BJ2TA
Manufacturer:
ST
0
Part Number:
ST72F324BJ2TAXS
Manufacturer:
STM
Quantity:
5 081
Part Number:
ST72F324BJ4T6
Manufacturer:
ZETEX
Quantity:
4 300
Part Number:
ST72F324BJ4T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST72F324BJ4TA
Manufacturer:
ST
Quantity:
750
ST72324B
15.1.5
15.1.6
15.1.7
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:
16-bit timer PWM mode
In PWM mode, the first PWM pulse is missed after writing the value FFFCh in the OC1R
register (OC1HR, OC1LR). It leads to either full or no PWM during a period, depending on
the OLVL1 and OLVL2 settings.
TIMD set simultaneously with OC interrupt
If the 16-bit timer is disabled at the same time the output compare event occurs then output
compare flag gets locked and cannot be cleared before the timer is enabled again.
Impact on the application
If 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.
Workaround
Disable the timer interrupt before disabling the timer. Again while enabling, first enable the
timer then the timer interrupts.
SCI wrong break duration
Description
A single break character is sent by setting and resetting the SBK bit in the SCICR2 register.
In some cases, the break character may have a longer duration than expected:
The interrupt flag is cleared within its own interrupt routine
The interrupt flag is cleared within any interrupt routine with higher or identical priority
level
The interrupt flag is cleared in any part of the code while this interrupt is disabled
Perform the following to disable the timer:
Perform the following to enable the timer again:
20 bits instead of 10 bits if M = 0
22 bits instead of 11 bits if M = 1
PUSH CC
SIM
Reset interrupt flag
POP CC
TACR1 or TBCR1 = 0x00h; // Disable the compare interrupt
TACSR I or TBCSR I = 0x40; // Disable the timer
TACSR & or TBCSR & = ~0x40; // Enable the timer
TACR1 or TBCR1 = 0x40; // Enable the compare interrupt
Known limitations
183/188

Related parts for ST72F324BJ