| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN2476 bảng dữ liệu(PDF) 42 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2476 bảng dữ liệu(HTML) 42 Page - STMicroelectronics |
|
42 / 49 page ![]() Operating measurements AN2476 42/49 d) After the clock configuration (system clock set to 60 MHz), the P2.18 pin restarts toggling and in 5 seconds the system enters STOP mode again before exiting in the manner described above. This behavior is repeated in an infinite loop. ● If RTC is not on (by commenting the line #define RTC_ON in the 75x_conf.h file): The EXTIT line7(P1.05) and EXTIT line15 ( WKP_STDBY pin P1.15) are configured to generate interrupts on a rising edge. An LED connected to P2.18 pin is switched on to indicate when the MCU is in RUN mode. The system enters STOP mode as follows: a) After system power on, an LED connected to P2.18 pin is switched on. b) When a falling edge is detected on EXTIT line7 the system enters STOP mode causing the P2.18 pin to switch off the LED. The system exits STOP mode as follows: a) To wake-up from STOP mode, either a rising edge can be applied on EXTIT line15, EXTIT line7 or the 4MHz external Quartz oscillator can be disconnected. b) The LED connected to P0.16 is switched on and the VCO of the PLL (FREEOSC) supplies the system clock. c) After the clock configuration (system clock set to 60 MHz), the LED connected to P2.18 pin is switched on. When the 4MHz external Quartz oscillator is disconnected, the VCO of the PLL (FREEOSC) supplies the system clock. Once the 4MHz clock has recovered (by connecting the 4MHz Quartz oscillator) the system clock is reconfigured to 60 MHz. If the system fails to enter STOP mode, a led connected to P2.19 pin is turned on. ● Directory contents: – 75x_conf.h Library Configuration file – 75x_it.c Interrupt handlers – main.c Main program ● Hardware environment: – Connect three LEDS to P016, P2.18 and P2.19 pins (respectively LD3, LD4 and LD5 on STR75x-EVAL board). – Connect a push-button to WKP_STDBY pin (P1.15) (the wakeup push-button on STR75x-EVAL board). – Connect a push-button to EXTIT line7 pin (P1.05) (the key push-button on STR75x-EVAL board). – On STR75x-EVAL board the 4MHz Quartz oscillator is mounted on socket so it is easy to disconnect. ● How to use it: In order to make the program work, you must do the following : a) Create a project and setup all your toolchain's start-up files b) Compile the directory content files and required Library files : 75x_lib.c 75x_rtc.c 75x_gpio.c |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |