ST92150CV1Q-Auto STMicroelectronics, ST92150CV1Q-Auto Datasheet - Page 410

no-image

ST92150CV1Q-Auto

Manufacturer Part Number
ST92150CV1Q-Auto
Description
8-bit MCU for automotive
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST92150CV1Q-Auto

Internal Memory
Single Voltage FLASH up to 256 Kbytes, RAM up to 8Kbytes, 1K byte E3 TM (Emulated EEPROM)
Minimum Instruction Time
83 ns (24 MHz int. clock)
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
KNOWN LIMITATIONS (Cont’d)
13.2 FLASH CORRUPTION WHEN EXITING STOP MODE
Description
Under very specific conditions, the first read per-
formed in flash memory by the core when exiting
stop mode may be corrupted.
Impact on application
As this first read is an opcode, this corruption may
lead to an unpredictable behavior of the applica-
tion.
RRx is an unused register in the register file.
Implementation
And replace the actual STOP bit setting sequence
(specified in datasheet):
410/430
1
nop
ldw RRx,0
WU_CTLR = WUm_wuit | WUm_id1s | WUm_stop;
WU_CTLR = WUm_wuit | WUm_id1s;
WU_CTLR = WUm_wuit | WUm_id1s | WUm_stop;
#pragma register_file
volatile unsigned int
spp(WU_PG);
asm("nop");
asm("nop");
asm("nop");
Dummy_16bit_data
Dummy_16bit_data;
Workaround
Description
In ST92124-Auto/150-Auto/250-Auto datasheet,
there is a warning in the WUCTRL register de-
scription:
“In order to avoid to execute register write instruc-
tions after a correct STOP bit setting sequence
and before entering the STOP mode, it is manda-
tory to execute 3 NOP instructions after the STOP
bit setting sequence.”
The workaround is to replace these 3 NOPs by the
following assembly code:
In a C language software, implement the following
code.
Declare a dummy variable in the register file (for
example in RR0 16-bit register)
0

Related parts for ST92150CV1Q-Auto