| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN4365 bảng dữ liệu(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4365 bảng dữ liệu(HTML) 27 Page - STMicroelectronics |
|
27 / 35 page ![]() DocID025303 Rev 2 27/35 AN4365 STM32F4 low-power application case 34 Sensor (Slave) state machine Run1_S: system clock configuration Run2_S: ADC and DMA configurations and start of VBAT sampling Sleep1: DMA samples transfer to memory during CPU Sleep mode Run3_S: I2C and DMA configurations and start of data transmission to the sensor hub Sleep2: DMA samples transfer from Sensor to Master via I2C during CPU Sleep mode Run4_S: clearing of DMA pending flags on transmitter stream Stdby: once operations are finished, the sensor CPU enters in Standby mode waiting for a request from the Master to wake-up again. Debug mode By default, the debug connection is lost if the application puts the MCU in Standby, for example. This is due to the fact that the CPU is no longer clocked. However, by setting some configuration bits in the DBGMCU_CR register, the software can be debugged even when using the low-power modes extensively. This is done by uncommenting #define DEBUG in main.h Auto-wakeup The RTC (clocked by LSI ~32 KHz) provides a programmable time base for waking-up the sensor hub from Standby mode at regular intervals (~200 ms). Note: To follow the functional behavior of this application, the user has to visualize signals with an oscilloscope or go in Debug mode. 3.1.2 Firmware architecture description This application uses the STM32F4 library and contains the following main source files: • main.c: contains the overall needed functions for the application • STM32F4_it.c: contains the interrupt handlers for the application • STM32F4_system.c: contains the system clock configuration for the STM32F4 devices used in the application |
|
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 |