数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4635 数据表(PDF) 8 Page - STMicroelectronics

部件名 AN4635
功能描述  Minimization of power consumption using LPUART in microcontrollers of the STM32L0 series
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4635 数据表(HTML) 8 Page - STMicroelectronics

Back Button AN4635 Datasheet HTML 4Page - STMicroelectronics AN4635 Datasheet HTML 5Page - STMicroelectronics AN4635 Datasheet HTML 6Page - STMicroelectronics AN4635 Datasheet HTML 7Page - STMicroelectronics AN4635 Datasheet HTML 8Page - STMicroelectronics AN4635 Datasheet HTML 9Page - STMicroelectronics AN4635 Datasheet HTML 10Page - STMicroelectronics AN4635 Datasheet HTML 11Page - STMicroelectronics AN4635 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 34 page
background image
Operation modes
AN4635
8/34
DocID027290 Rev 1
3
Operation modes
Real-world scenarios may cover a wide variety of configurations, using different baud rates,
ratios of transmit/receive and delays between messages. All these factors influence the
choice of the operation mode.
3.1
Polling mode
Polling mode is the simplest possible operating mode, also known as blocking mode. The
CPU is processing a single task, switching to a low power mode during periods of inactivity.
There is almost no processing overhead, allowing to use very low system clock speed.
This mode can be extremely efficient for very simple scenarios, however blocking mode is
effectively blocking the CPU from processing any other tasks, like data processing or
concurrent communication.
3.2
IT mode
The second option is to rely completely on interrupts, waking the CPU for every transferred
byte. This operation mode uses the advantage of ARM® Cortex® advanced NVIC to keep
the processing split to atomic operations, never blocking the CPU and achieving real-time
responses.
This mode however strains the CPU a little more, adding processing overhead related to
stack and context resuming.
3.3
DMA mode
In DMA mode the CPU is spared of large portion of processing, setting a DMA channel to
move data between the peripheral and the SRAM. The CPU may spend part of the
processing time in Sleep mode. However the DMA cannot wakeup from Stop mode.
3.4
Combined mode examples
Real-world applications usually are a mix of above mentioned modes, the developers
always try to strike the best bargain between conflicting needs.The following examples are
not covered in bundled source codes, they are mentioned purely as inspiration.
3.4.1
Interrupt with polling
Some embedded systems may not be real-time critical and in this case there is an option to
block the CPU for a limited time to process a message frame. Especially in case of
transmission, energy normally used up to process all TC interrupts is saved, the message is
transmitted in blocking mode, possibly with clock speed lowered and power regulator
switched to low power mode (LPRUN). Only approximately half clock speed is required if
the CPU can treat the message in blocking mode. Normal operation is then restored,
preferably waiting for incoming reply interrupt in Stop mode.



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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