The ST92124-Auto/150-Auto/250-Auto microcontroller is developed and manufactured by STMicroelectronics using a proprietary n-well HCMOS
process. Its performance derives from the use of a
flexible 256-register programming model for ultrafast context switching and real-time event response. The intelligent on-chip peripherals offload
the ST9 core from I/O and data management
processing tasks allowing critical application tasks
to get the maximum use of core resources. The
new-generation ST9 MCU devices now also support low power consumption and low voltage operation for power-efficient and low-cost embedded
systems.
1.1.1 ST9+ Core
The advanced Core consists of the Central
Processing Unit (CPU), the Register File, the Interrupt and DMA controller, and the Memory Management Unit. The MMU allows a single linear address space of up to 4 Mbytes.
Four independent buses are controlled by the
Core: a 22-bit memory bus, an 8-bit register data
bus, an 8-bit register address bus and a 6-bit interrupt/DMA bus which connects the interrupt and
DMA controllers in the on-chip peripherals with the
core.
This multiple bus architecture makes the ST9 family devices highly efficient for accessing on and offchip memory and fast exchange of data with the
on-chip peripherals.
The general-purpose registers can be used as accumulators, index registers, or address pointers.
Adjacent register pairs make up 16-bit registers for
addressing or 16-bit processing. Although the ST9
has an 8-bit ALU, the chip handles 16-bit operations, including arithmetic, loads/stores, and memory/register and memory/memory exchanges.
The powerful I/O capabilities demanded by microcontroller applications are fulfilled by the
ST92150-Auto/124-Auto with 48 (64-pin devices)
or 77 (100-pin devices) I/O lines dedicated to digital Input/Output and with 80 I/O lines by the
ST92250-Auto. These lines are grouped into up to
ten 8-bit I/O Ports and can be configured on a bit
basis under software control to provide timing, status signals, an address/data bus for interfacing to
the external memory, timer inputs and outputs, analog inputs, external interrupts and serial or parallel I/O. Two memory spaces are available to support this wide range of configurations: a combined
Program/Data Memory Space and the internal
Register File, which includes the control and status registers of the on-chip peripherals.
1.1.2 External Memory Interface
100-pin devices have a 22-bit external address
bus allowing them to address up to 4M bytes of external memory.
1.1.3 On-chip Peripherals
Two 16-bit Multifunction Timers, each with an 8 bit
Prescaler and 12 operating modes allow simple
use for complex waveform generation and measurement, PWM functions and many other system
timing functions by the usage of the two associated DMA channels for each timer.
Two Extended Function Timers provide further
timing and signal generation capabilities.
A Standard Timer can be used to generate a stable time base independent from the PLL.
2
C interface (two in the ST92250-Auto device)
An I
provides fast I
2
C and Access Bus support.
The SPI is a synchronous serial interface for Master and Slave device communication. It supports
single master and multimaster systems.
A J1850 Byte Level Protocol Decoder is available
(ST92150JDV1-Auto device only) for communicating with a J1850 network.
The bxCAN (basic extended) interface (two in the
ST92150JDV1-Auto device) supports 2.0B Active
protocol. It has 3 transmit mailboxes, 2 independent receive FIFOs and 8 filters.
In addition, there is an 16 channel Analog to Digital
Converter with integral sample and hold, fast conversion time and 10-bit resolution.
There is one Multiprotocol Serial Communications
Interface with an integral generator, asynchronous
and synchronous capability (fully programmable
format) and associated address/wake-up option,
plus two DMA channels.
On 100-pin devices, there is an additional asynchronous Serial Communications interface with
13-bit LIN Synch Break generation capability.
Finally, a programmable PLL Clock Generator allows the usage of standard 3 to 5 MHz crystals to
obtain a large range of internal frequencies up to
24 MHz. Low power Run (SLOW), Wait For Interrupt, low power Wait For Interrupt, STOP and
HALT modes are also available.
The alternate functions (Italic characters) are mapped on Port0, Port1, Port2, Port3, Port4, Port5, Port6, Port7,
Port8 and Port9.
10/430
1
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
1.2 PIN DESCRIPTION
AS
. Address Strobe (output, active low, 3-state).
Address Strobe is pulsed low once at the beginning of each memory cycle. The rising edge of AS
indicates that address, Read/Write (RW), and
Data signals are valid for memory transfers.
. Data Strobe (output, active low, 3-state). Data
DS
Strobe provides the timing for data movement to or
from Port 0 for each memory transfer. During a
write cycle, data out is valid at the leading edge of
. During a read cycle, Data In must be valid pri-
DS
or to the trailing edge of DS
cesses on-chip memory, DS
the whole memory cycle.
RESET
. Reset (input, active low). The ST9 is ini-
tialised by the Reset signal. With the deactivation
of RESET
, program execution begins from the
Program memory location pointed to by the vector
contained in program memory locations 00h and
01h.
. Read/Write (output, 3-state). Read/Write de-
RW
termines the direction of data transfer for external
memory transactions. RW
external memory, and high for all other transactions.
OSCIN, OSCOUT. Oscillator (input and output).
These pins connect a parallel-resonant crystal, or
an external source to the on-chip clock oscillator
and buffer. OSCIN is the input of the oscillator inverter; OSCOUT is the output of the oscillator inverter.
HW0SW1. When connected to V
pull-up resistor, the software watchdog option is
selected. When connected to V
pull-down resistor, the hardware watchdog option
is selected.
VPWO. This pin is the output line of the J1850 peripheral (JBLPD). It is available only on some devices.
RX1/WKUP6. Receive Data input of CAN1 and
Wake-up line 6. Available only on some devices.
When the CAN1 peripheral is disabled, a pull-up
resistor is connected internally to this pin.
TX1. Transmit Data output of CAN1. Available on
some devices.
P0[7:0], P1[7:0] or P9[7:2] (Input/Output, TTL or
CMOS compatible). 11 lines (64-pin devices) or 22
. When the ST9 ac is held high during
is low when writing to
through a 1K
DD
through a 1K
SS
lines (100-pin devices) providing the external
memory interface for addressing 2K or 4M bytes of
external memory.
Output, TTL or CMOS compatible). I/O lines
grouped into I/O ports of 8 bits, bit programmable
under software control as general purpose I/O or
as alternate functions.
P1[7:3], P3[3:1], P4[3:0], P6.1, P8[7:0], P9[7:0]
Additional I/O Port Lines available on 100-pin versions only.
P3.0, P6[7:6] Additional I/O Port Lines available
on ST92250-Auto version only.
. Analog VDD of the Analog to Digital Con-
AV
DD
verter (common for ADC 0 and ADC 1).
AVDD can be switched off when the ADC is not in
use.
. Analog VSS of the Analog to Digital Con-
AV
SS
verter (common for ADC 0 and ADC 1).
. Main Power Supply Voltage. Four pins are
V
DD
available on 100-pin versions, two on 64-pin versions. The pins are internally connected.
. Digital Circuit Ground. Four pins are availa-
V
SS
ble on 100-pin versions, two on 64-pin versions.
The pins are internally connected.
Power Supply Voltage for Flash test pur-
V
TEST
poses. This pin must be kept to 0 in user mode.
. Stabilization capacitors for the internal volt-
V
REG
age regulator. The user must connect external stabilization capacitors to these pins. Refer to
Figure
16.
1.2.1 I/O Port Alternate Functions
Each pin of the I/O ports of the ST92124-Auto/
150-Auto/250-Auto may assume software programmable Alternate Functions as shown in Sec-
tion 1.4.
1.2.2 Termination of Unused Pins
For unused pins, input mode is not recommended.
These pins must be kept at a fixed voltage using
the output push pull mode of the I/O or an external
pull-up or pull-down resistor.
* Reserved for ST tests, must be left unconnected
** V
*** The ST92F150-EMU2 emulator does not emulate ADC channels from AIN0 to AIN7 and extended function timers because they are not implemented on the emulator chip. See also Section 13.8 on page 424
Table 1. ST92124-Auto/150-Auto/250-Auto Power Supply Pins
NameFunctionLQFP64PQFP100 LQFP100
-1815
Main Power Supply Voltage
(Pins internally connected)
Digital Circuit Ground
(Pins internally connected)
Analog Circuit Supply Voltage498279
Analog Circuit Ground508380
AV
AV
V
V
V
DD
V
SS
DD
TEST
REG
SS
Must be kept low in standard operating mode294441
Stabilization capacitor(s) for internal voltage regulator28
Table 2. ST92124-Auto/150-Auto/250-Auto Primary Function Pins
NameFunctionLQFP64 PQFP100 LQFP100
AS
DS
RW
OSCINCrystal Oscillator Input619491
OSCOUTCrystal Oscillator Output629592
RESET
Reset to initialize the Microcontroller639693
HW0SW1Watchdog HW/SW enabling selection649794
1)
VPWO
RX1/WKUP6
TX1
1)
1)
CAN1 Receive Data / Wake-up Line 6-4946
Address Strobe-5653
Data Strobe-5552
Read/Write-3229
J1850 JBLPD Output-7370
CAN1 Transmit Data.-5047
274239
-6562
609390
-1714
264138
-6461
599289
31
43
28
40
Note 1: ST92150JDV1-Auto only
22/430
9
1.3 VOLTAGE REGULATOR
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
The internal Voltage Regulator (VR) is used to
power the microcontroller starting from the external power supply. The VR comprises a Main voltage regulator and a Low-power regulator.
– The Main voltage regulator generates sufficient
current for the microcontroller to operate in any
mode. It has a static power consumption (300
µA typ.).
– The separate Low-Power regulator consumes
less power is used only when the microcontrol-
non-stabilized and non-thermally-compensated
voltage sufficient for maintaining the data in
RAM and the Register File.
For both the Main VR and the Low-Power VR, stabilization is achieved by an external capacitor,
connected to one of the V
recommended value is 300 nF, and care must be
taken to minimize distance between the chip and
the capacitor. Care should also be taken to limit
the serial inductance to less than 60nH.
ler is in Low Power mode. It has a different design from the main VR and generates a lower,
Figure 16. Recommended Connections for V
PQFP100
Pin 31
Pin 43
C
L
REG
LQFP100
Pin 28
Pin 40
C
L
C = 300 to 600nF
L = Ferrite bead for EMI protection.
Suggested type: Murata BLM18BE601FH1: (Imp. 600 Ω at 100 MHz).
IMPORTANT: The V
pin cannot be used to drive external devices.
REG
QFP64
Pin 28
pins. The minimum
REG
C
L
Figure 17. Minimum Required Connections for V
PQFP100QFP64
Pin 43Pin 31Pin 28
C
REG
LQFP100
Pin 40Pin 28
C
C
C = 300 to 600nF
Note: Pin 31 of PQFP100 or pin 28 of LQFP100 can be left unconnnected. A secondary stabilization network can also be connected to these pins.
23/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
1.4 I/O PORTS
Port 0, Port 1 and Port 9[7:2] provide the external
memory interface. All the ports of the device can
be programmed as Input/Output or in Input mode,
compatible with TTL or CMOS levels (except
where Schmitt Trigger is present). Each bit can be
programmed individually (Refer to the I/O ports
chapter).
Internal Weak Pull-up
As shown in Table 3, not all input sections implement a Weak Pull-up. This means that the pull-up
must be connected externally when the pin is not
used or programmed as bidirectional.
TTL/CMOS Input
For all those port bits where no input schmitt trigger is implemented, it is always possible to program the input level as TTL or CMOS compatible
by programming the relevant PxC2.n control bit.
Refer I/O Ports Chapter to the section titled “Input/
Output Bit Configuration”.
Schmitt Trigger Input
Two different kinds of Schmitt Trigger circuitries
are implemented: Standard and High Hysteresis.
Standard Schmitt Trigger is widely used (see Ta-
ble 3), while the High Hysteresis Schmitt Trigger is
present on ports P4[7:6] and P6[5:4].
All inputs which can be used for detecting interrupt
events have been configured with a “Standard”
Schmitt Trigger, apart from the NMI pin which implements the “High Hysteresis” version. In this
way, all interrupt lines are guaranteed as “edge
sensitive”.
Push-Pull/OD Output
The output buffer can be programmed as pushpull or open-drain: attention must be paid to the
fact that the open-drain option corresponds only to
a disabling of P-channel MOS transistor of the
buffer itself: it is still present and physically connected to the pin. Consequently it is not possible to
increase the output voltage on the pin over
+0.3 Volt, to avoid direct junction biasing.
V
DD
Pure Open-Drain Output
The user can increase the voltage on an I/O pin
over V
+0.3 Volt where the P-channel MOS tran-
DD
sistor is physically absent: this is allowed on all
“Pure Open Drain” pins. In this case, the push-pull
option is not available and any weak pull-up must
be implemented externally.
Table 3. I/O Port Characteristics
InputOutputWeak Pull-UpReset State
Port 0[7:0]TTL/CMOSPush-Pull/ODNoBidirectional
Port 1[7:3]
Port 1[2:0]
Port 2[1:0]
Port 2[3:2]
Port 2[5:4]
Port 2[7:6]
Port 3[2:0]
Port 3.3
Port 3[7:4]
Port 4.0, Port 4.4
Port 4.1
Port 4.2, Port 4.5
Port 4.3
Port 4[7:6]
Port 5[2:0], Port 5[7:4]
Port 5.3
Port 6[3:0]
Port 6[5:4]
Port 6[7:6]
Port 7[7:0]Schmitt triggerPush-Pull/ODYesInput
Port 8[1:0]
Port 8[7:2]
Port 9[7:0]Schmitt triggerPush-Pull/ODYesBidirectional WPU
Schmitt trigger
High hysteresis Schmitt trigger
Schmitt trigger
Schmitt trigger
Schmitt trigger
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Pure OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Pure OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Push-Pull/OD
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Bidirectional WPU
Bidirectional
Input
Input CMOS
Input
Input CMOS
Input
Input CMOS
Input
Input
Bidirectional WPU
Input CMOS
Input
Input
Input
Input CMOS
Input
Input
Input
Input
Bidirectional WPU
Legend:WPU = Weak Pull-Up, OD = Open Drain.
24/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
Note 1: Port 3.0 and Port6 [7:6] present on ST92250-Auto version only.
How to Configure the I/O Ports
To configure the I/O ports, use the information in
Table 3, Table 4 and the Port Bit Configuration Ta-
ble in the I/O Ports Chapter (See page 153).
Input Note = the hardware characteristics fixed for
each port line in Table 3.
– If Input note = TTL/CMOS, either TTL or CMOS
input level can be selected by software.
– If Input note = Schmitt trigger, selecting CMOS
or TTL input by software has no effect, the input
will always be Schmitt Trigger.
Alternate Functions (AF) = More than one AF
cannot be assigned to an I/O pin at the same time:
An alternate function can be selected as follows.
AF Inputs:
– AF is selected implicitly by enabling the corre-
sponding peripheral. Exception to this are ADC
inputs which must be explicitly selected as AF in-
put by software.
AF Outputs or Bidirectional Lines:
– In the case of Outputs or I/Os, AF is selected ex-
plicitly by software.
Example 1: SCI-M input
AF: SIN, Port: P5.2. Schmitt Trigger input.
Write the port configuration bits:
P5C2.2=1
P5C1.2=0
P5C0.2 =1
Enable the SCI peripheral by software as described in the SCI chapter.
Example 2: SCI-M output
AF: SOUT, Port: P5.3, Push-Pull/OD output.
Write the port configuration bits (for AF OUT PP):
P5C2.3=0
P5C1.3=1
P5C0.3 =1
Example 3:External Memory I/O
AF: A0/D0, Port : P0.0, Input Note: TTL/CMOS in-
put.
Write the port configuration bits:
P0C2.0=1
P0C1.0=1
P0C0.0 =1
Example 4:Analog input
AF: AIN8, Port : 7.0, Analog input.
Write the port configuration bits:
P7C2.0=1
P7C1.0=1
P7C0.0 =1
25/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
1.5 Alternate Functions for I/O Ports
All the ports in the following table are useable for general purpose I/O (input, output or bidirectional).
Table 4. I/O Port Alternate Functions
Port
Name
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
LQFP64 PQFP100 LQFP100
-5754A0/D0I/O Address/Data bit 0
35--AIN0
-5855A1/D1I/O Address/Data bit 1
36--AIN1
-5956A2/D2I/O Address/Data bit 2
37--AIN2
-6057A3/D3I/O Address/Data bit 3
38--AIN3
-6158A4/D4I/O Address/Data bit 4
39--AIN4
-6259A5/D5I/O Address/Data bit 5
40--AIN5
-6360A6/D6I/O Address/Data bit 6
41--AIN6
-6663A7/D7I/O Address/Data bit 7
42--AIN7
Pin No.
Alternate Functions
1)
1)
1)
1)
1)
1)
1)
1)
IAnalog Data Input 0
IAnalog Data Input 1
IAnalog Data Input 2
IAnalog Data Input 3
IAnalog Data Input 4
IAnalog Data Input 5
IAnalog Data Input 6
IAnalog Data Input 7
-4542A8I/O Address bit 8
1)
P1.0
30--
ICAPA0
OCMPA0
IExt. Timer 0 - Input Capture A
1)
O Ext. Timer 0 - Output Compare A
-4643A9I/O Address bit 9
1)
P1.1
31--
ICAPA1
OCMPA1
IExt. Timer 1- Input Capture A
1)
O Ext. Timer 1- Output Compare A
-4744A10I/O Address bit 10
1)
P1.2
32--
ICAPB1
ICAPB0
IExt. Timer 1- Input Capture B
1)
IExt. Timer 0- Input Capture B
P1.3-4845A11I/O Address bit 11
P1.4-5148A12I/O Address bit 12
P1.5-5249A13I/O Address bit 13
P1.6-5350A14I/O Address bit 14
P1.7-5451A15I/O Address bit 15
P2.0183330TINPA0IMultifunction Timer 0 - Input A
P2.1193431TINPB0IMultifunction Timer 0 - Input B
P2.2203532TOUTA0O Multifunction Timer 0 - Output A
P2.3213633TOUTB0O Multifunction Timer 0 - Output B
P2.4223734TINPA1IMultifunction Timer 1 - Input A
26/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
Port
Name
LQFP64 PQFP100 LQFP100
Pin No.
Alternate Functions
P2.5233835TINPB1IMultifunction Timer 1 - Input B
P2.6243936TOUTA1O Multifunction Timer 1 - Output A
P2.7254037TOUTB1O Multifunction Timer 1 - Output B
P3.0
2)
-7370
P3.1-2421ICAPB0IExt. Timer 0 - Input Capture B
P3.2-2522
ICAPA0IExt. Timer 0 - Input Capture A
OCMPA0O Ext. Timer 0 - Output Compare A
P3.3-2623OCMPB0O Ext. Timer 0 - Output Compare B
P3.4-2724
EXTCLK0IExt. Timer 0 - Input Clock
SSISPI - Slave Select
P3.5142825MISOI/O SPI - Master Input/Slave Output Data
P3.6152926MOSII/O SPI - Master Output/Slave Input Data
SCKISPI - Serial Input Clock
P3.7163027
WKUP0IWake-up Line 0
SCKO SPI - Serial Output Clock
P4.0-1411ICAPA1IExt. Timer 1 - Input Capture A
P4.1-1512CLOCK2O CLOCK2 internal signal
P4.2-1613OCMPA1O Ext. Timer 1 - Output Compare A
P4.3-1916
P4.4-2017
P4.5102118
P4.6112219SDA0I/O I
P4.7122320
P5.0163
ICAPB1IExt. Timer 1 - Input Capture B
OCMPB1O Ext. Timer 1 - Output Compare B
EXTCLK1IExt. Timer 1 - Input Clock
WKUP4IWake-up Line 4
EXTRGIADC Ext. Trigger
STOUTO Standard Timer Output
2
C 0 Data
WKUP1IWake-up Line 1
SCL0I/O I
WAIT
2
C 0 Clock
IExternal Wait Request
WKUP5IWake-up Line 5
2)
TX0
O CAN 0 output
WKUP6IWake-up Line 6
P5.1274
RX0
2)
ICAN 0 input
WDOUTO Watchdog Timer Output
P5.2385
P5.3496
SIN0ISCI-M - Serial Data Input
WKUP2IWake-up Line 2
WDINIWatchdog Timer Input
SOUTO SCI-M - Serial Data Output
27/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
Port
Name
LQFP64 PQFP100 LQFP100
P5.45107
P5.56118
P5.67129
P5.781310
Pin No.
Alternate Functions
TXCLKISCI-M - Transmit Clock Input
CLKOUTO SCI-M - Clock Output
RXCLKISCI-M - Receive Clock Input
WKUP7IWake-up Line 7
DCDISCI-M - Data Carrier Detect
WKUP8IWake-up Line 8
WKUP9IWake-up Line 9
RTSO SCI-M - Request To Send
INT0IExternal Interrupt 0
P6.0436764
INT1IExternal Interrupt 1
CLOCK2/8 O CLOCK2 divided by 8
P6.1-6865
INT6IExternal Interrupt 6
RW
O Read/Write
INT2IExternal Interrupt 2
P6.2446966
INT4IExternal Interrupt 4
DS2O Data Strobe 2
P6.3457067
INT3IExternal Interrupt 3
INT5IExternal Interrupt 5
P6.4467168NMIINon Maskable Interrupt
WKUP10IWake-up Line 10
P6.5477269
VPWI
2)
IJBLPD input
INTCLKO Internal Main Clock
2)
P6.6
2)
P6.7
P7.0518481
-4946
-5047
AIN8 IAnalog Data Input 8
CK_AFIClock Alternative Source
P7.1528582AIN9IAnalog Data Input 9
P7.2538683AIN10 IAnalog Data Input 10
P7.3548784AIN11 IAnalog Data Input 11
P7.4558885
P7.5568986
P7.6579087
P7.7589188
WKUP3IWake-up Line 3
AIN12IAnalog Data Input 12
AIN13 IAnalog Data Input 13
WKUP11IWake-up Line 11
AIN14IAnalog Data Input14
WKUP12IWake-up Line 12
AIN15 IAnalog Data Input 15
WKUP13IWake-up Line 13
28/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
Port
Name
P8.0-7471
P8.1-7572
P8.2-7673AIN2 IAnalog Data Input 2
P8.3-7774AIN3 IAnalog Data Input 3
P8.4-7875AIN4 IAnalog Data Input 4
P8.5-7976AIN5 IAnalog Data Input 5
P8.6-8077AIN6 IAnalog Data Input 6
P8.7-8178AIN7 IAnalog Data Input 7
P9.0-9895RDI
P9.1-9996TDO
P9.2-10097A16O Address bit 16
P9.3-198
P9.4-299
P9.5-3100A19O Address bit 19
P9.6-41A20O Address bit 20
P9.7-52A21O Address bit 21
LQFP64 PQFP100 LQFP100
Pin No.
Alternate Functions
AIN0 IAnalog Data Input 0
WKUP14IWake-up Line 14
AIN1 IAnalog Data Input 1
WKUP15IWake-up Line 15
A17
SDA1
A18
SCL1
2)
2)
3)
3)
2)
ISCI-A Receive Data Input
O SCI-A Transmit Data Output
O Address bit 17
2)
I/O I²C 1 Data
O Address bit 18
I/O I²C 1 Clock
Note1: The ST92F150-EMU2 emulator does not
emulate ADC channels from AIN0 to AIN7 and extended function timers because they are not implemented on the emulator chip. See also Section
13.8 on page 424.
Note 2: Available on some devices only
Note 3: For the ST92250-Auto device, since
A[18:17] share the same pins as SDA1 and SCL1
of I²C_1, these address bits are not available when
the I²C_1 is in use (when I2CCR.PE bit is set).
29/430
9
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
1.6 OPERATING MODES
To optimize the performance versus the power
consumption of the device, the ST92124-Auto/
150-Auto/250-Auto supports different operating
modes that can be dynamically selected depending on the performance and functionality requirements of the application at a given moment.
RUN MODE: This is the full speed execution mode
with CPU and peripherals running at the maximum
clock speed delivered by the Phase Locked Loop
(PLL) of the Clock Control Unit (CCU).
SLOW MODE: Power consumption can be significantly reduced by running the CPU and the peripherals at reduced clock speed using the CPU
Prescaler and CCU Clock Divider.
WAIT FOR INTERRUPT MODE: The Wait For Interrupt (WFI) instruction suspends program execution until an interrupt request is acknowledged.
During WFI, the CPU clock is halted while the peripheral and interrupt controller keep running at a
frequency depending on the CCU programming.
LOW POWER WAIT FOR INTERRUPT MODE:
Combining SLOW mode and Wait For Interrupt
mode it is possible to reduce the power consumption by more than 80%.
STOP MODE: When the STOP is requested by
executing the STOP bit writing sequence (see
dedicated section on Wake-up Management Unit
paragraph), and if NMI is kept low, the CPU and
the peripherals stop operating. Operations resume
after a wake-up line is activated (16 wake-up lines
plus NMI pin). See the RCCU and Wake-up Man-
agement Unit paragraphs in the following for the
details. The difference with the HALT mode consists in the way the CPU exits this state: when the
STOP is executed, the status of the registers is recorded, and when the system exits from the STOP
mode the CPU continues the execution with the
same status, without a system reset.
When the MCU enters STOP mode the Watchdog
stops counting. After the MCU exits from STOP
mode, the Watchdog resumes counting from
where it left off.
When the MCU exits from STOP mode, the oscillator, which was sleeping too, requires about 5 ms
to restart working properly (at a 4 MHz oscillator
frequency). An internal counter is present to guarantee that all operations after exiting STOP Mode,
take place with the clock stabilised.
The counter is active only when the oscillation has
already taken place. This means that 1-2 ms must
be added to take into account the first phase of the
oscillator restart.
In STOP mode, the oscillator is stopped. Therefore, if the PLL is used to provide the CPU clock
before entering STOP mode, it will have to be selected again when the MCU exits STOP mode.
HALT MODE: When executing the HALT instruction, and if the Watchdog is not enabled, the CPU
and its peripherals stop operating and the status of
the machine remains frozen (the clock is also
stopped). A reset is necessary to exit from Halt
mode.
30/430
9
Loading...
+ 400 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.