| 数据搜索系统,热门电子元器件搜索 |
|
ST52F510 数据表(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52F510 数据表(HTML) 45 Page - STMicroelectronics |
|
45 / 106 page ![]() ST52F510/F513/F514 45/106 6.2 Reset Four Reset sources are available: s RESET pin (external source) s WATCHDOG (internal source) s POWER ON Reset (Internal source) s PLVD Reset (Internal source) When a Reset event occurs, the user program restarts from the beginning. 6.2.1 External Reset. Reset is an input pin. An internal reset does not affect this pin. A Reset signal originated by external sources is recognized immediately. The RESET pin may be used to ensure Vdd has risen to a point where the ICU can operate correctly before the user program is run. Reset must be set to Vdd in working mode. A Pull up resistor of 100 K Ω guarantees that the RESET pin is at level “1” when no HALT or Power- On events occur. If an external resistor is connected to the RESET pin a minimum value of 10K Ω must be used. 6.2.2 Reset Procedures. After the Reset pin is set to Vdd or following a Power-On Reset event, the device is not started until the internal supply voltage has reached the nominal level of 2.5 V (corresponding roughly to Vdd=2.8 V). Figure 6.2 Reset Block Diagram After this level has been reached, the internal oscillator (10 MHZ) is started and a delay period of 4.096 clock cycles is initiated, in order to allow the oscillator to stabilize and to ensure that recovery has taken place from the Reset state. If the device has been configured to work with the internal clock, the user program starts, otherwise the Option Byte 7 (WAKEUP) is read and another count starts before running the user program. The duration of the count depends on the contents of the Option Byte 7 (WAKEUP), that works as a prescaler, according to the follwing formula: This delay has been introduced in order to ensure that the oscillator has become stable after its restart. If the Reset is generated by the PLVD or the Watchdog, the oscillator is not turned off; for this reason the CPU is then restarted immediately, without the delay. After a RESET procedure is completed, the core reads the instruction stored in the first 3 bytes of the Program/Data Memory, which contains a JUMP instruction to the first instruction of the user program. The Assembler tool automatically generates this Jump instruction with the first instruction address. POWER-ON RESET Vdd RESET 4096 x TCLK INTERNAL RESET WATCHDOG RESET (W AKEUP+1) x 4096 x TCLK W ATCHDOG PROGRAMMABLE LOW VOLTAGE DETECTOR RESET PLVD CKMOD1:0 INTERNAL CLOCK SOURCES EXTERNAL CLOCK TCLK = Internal Clock period (100 ns) CKMOD1:0 = see Option Byte 0 (OSC_CR) W AKEUP = see Option Byte 7 (W AKEUP) Delay 4096 WAKEUP 1 + () Tclk × × = |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |