ST92F150-EMU2 STMicroelectronics, ST92F150-EMU2 Datasheet - Page 409

no-image

ST92F150-EMU2

Manufacturer Part Number
ST92F150-EMU2
Description
BOARD EMULATOR FOR ST9 SERIES
Manufacturer
STMicroelectronics
Series
ST9-EMU2r
Type
Microcontrollerr
Datasheets

Specifications of ST92F150-EMU2

Contents
ST9 Visual Debug IDE, ST9 HDS2V2 Mainboard, Probe, Sockets, Adapters, Power Supply,Cables & Documentation
For Use With/related Products
ST9 MCUs
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
497-3101
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):
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;
ST92F124/F150/F250 - KNOWN LIMITATIONS
Workaround
Description
In ST92F124/F150/F250 datasheet, there is a
warning in the WUCTRL register description:
“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
409/429
1

Related parts for ST92F150-EMU2