ST92T163R4T1 STMicroelectronics, ST92T163R4T1 Datasheet - Page 64

Microcontrollers (MCU) OTP EPROM 20K USB/I2

ST92T163R4T1

Manufacturer Part Number
ST92T163R4T1
Description
Microcontrollers (MCU) OTP EPROM 20K USB/I2
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST92T163R4T1

Data Bus Width
8 bit, 16 bit
Program Memory Type
EPROM
Program Memory Size
20 KB
Data Ram Size
2 KB
Interface Type
I2C, SCI, USB
Maximum Clock Frequency
24 MHz
Number Of Programmable I/os
64
Number Of Timers
2
Operating Supply Voltage
4 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
Package / Case
TQFP-64
Minimum Operating Temperature
0 C
On-chip Adc
8 bit
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92T163R4T1
Manufacturer:
ST
0
Part Number:
ST92T163R4T1E
Manufacturer:
ST
0
Part Number:
ST92T163R4T1E-HAG1
Manufacturer:
ST
0
Part Number:
ST92T163R4T1L
Manufacturer:
ST
Quantity:
444
Part Number:
ST92T163R4T1L
Manufacturer:
ST
0
Part Number:
ST92T163R4T1L
Manufacturer:
ST
Quantity:
20 000
ST92163 - INTERRUPTS
WAKE-UP / INTERRUPT LINES MANAGEMENT UNIT (Cont’d)
3.12.3 Functional Description
3.12.3.1 Interrupt Mode
To configure the 16 wake-up lines as interrupt
sources, use the following procedure:
1. Configure the mask bits of the 16 wake-up lines
2. Configure the triggering edge registers of the
3. Set bit 7 of EIMR (R244 Page 0) and EITR
4. Reset the WKUP-INT bit in the WUCTRL regis-
5. Set the ID1S bit in the WUCTRL register to dis-
To return to standard mode (INT7 external inter-
rupt source enabled and 16 wake-up lines disa-
bled) it is sufficient to reset the ID1S bit.
3.12.3.2 Wake-up Mode Selection
To configure the 16 lines as wake-up sources, use
the following procedure:
1. Configure the mask bits of the 16 wake-up lines
2. Configure the triggering edge registers of the
3. Set, as for Interrupt Mode selection, bit 7 of
4. Since the RCCU can generate an interrupt
64/224
(WUMRL, WUMRH).
wake-up lines (WUTRL, WUTRH).
(R242 Page 0) registers of the CPU: so an
interrupt coming from one of the 16 lines can be
correctly acknowledged.
ter to disable Wake-up Mode.
able the INT7 external interrupt source and
enable the 16 wake-up lines as external inter-
rupt source lines.
(WUMRL, WUMRH).
wake-up lines (WUTRL, WUTRH).
EIMR and EITR registers only if an interrupt
routine is to be executed after a wake-up event.
Otherwise, if the wake-up event only restarts
the execution of the code from where it was
stopped, the INTD1 interrupt channel must be
masked or the external source must be
selected by resetting the ID1S bit.
request when exiting from STOP mode, take
care to mask it even if the wake-up event is
5. Set the WKUP-INT bit in the WUCTRL register
6. Set the ID1S bit in the WUCTRL register to dis-
7. Write the sequence 1,0,1 to the STOP bit of the
To detect if STOP Mode was entered or not, im-
mediately after the STOP bit setting sequence,
poll the RCCU EX_STP bit (R242.7, Page 55) and
the STOP bit itself.
3.12.3.3 STOP Mode Entry Conditions
Assuming the ST9 is in Run mode: during the
STOP bit setting sequence the following cases
may occur:
Case 1: Wrong STOP bit setting sequence
This can happen if an Interrupt/DMA request is ac-
knowledged during the STOP bit setting se-
quence. In this case polling the STOP and
EX_STP bits will give:
STOP = 0, EX_STP = 0
This means that the ST9 did not enter STOP mode
due to a bad STOP bit setting sequence: the user
must retry the sequence.
Case 2: Correct STOP bit setting sequence
In this case the ST9 enters STOP mode.
To exit STOP mode, a wake-up interrupt must be
acknowledged. That implies:
This means that the ST9 entered and exited STOP
mode due to an external wake-up line event.
only to restart code execution.
to select Wake-up Mode.
able the INT7 external interrupt source and
enable the 16 wake-up lines as external inter-
rupt source lines. This is not mandatory if the
wake-up event does not require an interrupt
response.
WUCTRL register with three consecutive write
operations. This is the STOP bit setting
sequence.
STOP = 0, EX_STP = 1

Related parts for ST92T163R4T1