參數(shù)資料
型號(hào): ST92163R4
英文描述: 8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS. 20K ROM. 2K RAM. I 2 C. SCI. & MFT
中文描述: 16位產(chǎn)品全速USB微控制器,16終點(diǎn)復(fù)合設(shè)備。 20,000光盤。 2K的RAM。余2長脊髓損傷。
文件頁數(shù): 139/230頁
文件大?。?/td> 2743K
代理商: ST92163R4
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁當(dāng)前第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁
139/230
ST92163 - USB PERIPHERAL (USB)
USB INTERFACE (
Cont’d
)
Procedure for entering Suspend Mode
1. Set the TIM_SUSP bit in the USBCTLR register
(bit 6 of R252 in page 15) to suspend the digital
part of the USB cell.
2. Clear both the Wake-up Pending Registers
WUPRH & WUPRL (R254 & R255 in page 57)
to flush all pending wakeup events.
3. Set the LP_SUSP bit in the USBCTLR register
(bit 1 of R252 in page 15) to put the USB cell in
Low Power Suspend mode.
4. Set the ID1S and WKUP-INT bits in the WUC-
TRL register (bit 0 & 1 of R249 in page 57) to
enable the interrupt from the wakeup lines.
5. Write the stop sequence 1, 0, 1 to the STOP bit
of the WUCTRL (bit 2 of R249 in page 57) to
enter stop mode. This stop sequence has to be
executed as continuous sequence of write
instructions without any other register read/
write instructions within the sequence.
6. Insert at least 3 NOP instructions after the stop
sequence in step 5 to allow the MCU clock to
stop.
7. Read the WKCTRL register.
If the STOP bit (bit 2) is 0, it means that the
MCU was stopped and is being woken up by an
external event.
If the STOP bit (bit 2) is 1, it means that the
stop sequence in step 5 was broken by an inter-
rupt or DMA request. In this case, step 5 has to
be executed again until the MCU is stopped.
Procedure for quitting Suspend Mode
There are two ways to wake up the ST9 from Stop
mode: USB bus activity or signal triggering on the
external wakeup lines.
– If the MCU is woken up by USB bus activity, an
“End of Suspend” interrupt is generated if it is en-
abled.
– If the MCU is woken up by one of the external
wakeup lines, an INTD1 interrupt is generated if
the INTD1 interrupt is enabled and the WKUP-
INT bit in the WUCTRL register (bit 0 of R249 in
page 57) is set.
– After the MCU is woken up, wait until the LOCK
bit in the CLK_FLAG register (bit 2 of R242 in
page 55) is at 1 to ensure that the clock PLL is
locked. Then set the CSU_CKSEL bit in the
CLK_FLAG register if it is necessary, since this
bit is cleared by hardware when the MCU stops.
– Check the bits in the Wake-up Pending Regis-
ters WU_WUPRH & WU_WUPRL to determine
which pin has woken up the MCU. Then clear the
Wake-up Pending Registers.
Procedure for sending the remote wakeup
(RESUME) signal
After the MCU has been woken up by one of the
external wakeup lines and the source of this wake-
up event is identified, the application may send a
remote wakeup (RESUME) signal using the fol-
lowing procedure:
1. To ensure that the host enables the remote
wakeup feature:
2. Clear the LP_SUSP bit in the USBCTLR regis-
ter (bit 1 of R252 in page 15) to power up the
USB transceiver. Do not clear the TIM_SUSP
bit in the USBCTLR register if an “End of Sus-
pend” interrupt is expected later.
3. Set the RESUME bit in the USBCTLR (bit 3 of
R252 in page 15) to send the RESUME signal.
4. Clear the RESUME bit after 1 to 15 ms, to
ensure that the RESUME signal lasts long
enough.
5. Clear the ESUSP bit in the USBISTR register
(bit 4 of R249 in page 15), since an “End of
Suspend” interrupt is generated by setting
RESUME bit falsely.
6. An “End of Suspend” interrupt will be generated
when the bus activity is resumed by the host, if
the TIM_SUSP bit is not cleared in step 2.
Note:
To reduce power consumption during Stop
mode, set as many I/O ports as possible to open
drain output mode and set all ports to 0.
相關(guān)PDF資料
PDF描述
ST92185 16K/24K/32K ROM HCMOS MCU WITH ON-SCREEN-DISPLAY
ST92186B 8/16-BIT MCU FOR TV APPLICATIONS WITH UP TO 32K ROM AND ENHANCED ON-SCREEN-DISPLAY
ST92T163N4B1L 8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS. 20K ROM. 2K RAM. I 2 C. SCI. & MFT
ST92E195 48-96 KBYTE ROM HCMOS MCU WITH ON-SCREEN DISPLAY AND TELETEXT DATA SLICER
ST92F120JV1 8/16-BIT FLASH MCU FAMILY WITH RAM. EEPROM AND J1850 BLPD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST92163R4B0 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS, 20K ROM, 2K RAM, I2C, SCI, & MFT
ST92163R4B0E 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS, 20K ROM, 2K RAM, I2C, SCI, & MFT
ST92163R4B0L 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS, 20K ROM, 2K RAM, I2C, SCI, & MFT
ST92163R4B0V 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS, 20K ROM, 2K RAM, I2C, SCI, & MFT
ST92163R4B1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 ENDPOINTS, 20K ROM, 2K RAM, I2C, SCI, & MFT