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

X  

ST10F272Z2 数据表(PDF) 129 Page - STMicroelectronics

部件名 ST10F272Z2
功能描述  16-bit MCU with 256 Kbyte Flash memory and 20 Kbyte RAM
PDF  189 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST10F272Z2 数据表(HTML) 129 Page - STMicroelectronics

Back Button ST10F272Z2_08 Datasheet HTML 125Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 126Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 127Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 128Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 129Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 130Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 131Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 132Page - STMicroelectronics ST10F272Z2_08 Datasheet HTML 133Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 129 / 189 page
background image
ST10F272Z2
Known limitations
129/189
24.1
Injected conversion stalling the ADC
Description
Whenever a new injection request occurs before the ADDAT2 register has been read by the
CPU (that is, when the result of the previous injection request has not been read), the ADC
is stalled and no further conversions are performed.
Workaround
The following actions make it possible to unlock the ADC module:
1.
Read the ADDAT2 register twice at the end of every injected conversion. This action
also prevents the ADC from being stalled).
2.
Disable and then enable again the wait for read mode
Application conditions
This problem can occur if all the following conditions are fulfilled:
Injection requests are hardware triggered (via CapCom CC31)
The result of injected conversions is read via a PEC transfer. This prevents from
reading twice the ADDAT2 register by software)
A high level task is disabling the PEC transfer for a long time (2 analog conversions +
time between 2 injection requests)
Therefore, to prevent the locking situation from occurring, it is important to make sure that,
at application level, no task can disable interrupts for a period of time during which 2
injection requests can occur before a read operation is performed.
Detailed analysis
Channel injection mode allows the conversion of a specific analog channel without changing
the current operating mode. It can also be used while the ADC is running in a continuous or
auto scan mode.
The following main points need to be highlighted:
Wait for ADDAT read mode is needed in order for the ADC Channel Injection mode to
operate properly
At the end of the injected conversion the data is available in the alternate result register
ADDAT2 and a Channel Injection Complete Interrupt request is generated (ADEIR
Flag)
If the temporary data register used for ADDAT2 read mode is full, the next conversion
(standard or injected) is suspended. The temporary register then stores the content of
ADDAT (standard conversion) or ADDAT2 (from an injected conversion).
If the temporary data register used for ADDAT2 read mode is full and a new injection request
occurs then the new converted value is stored into a temporary data register until the
previous one is read from ADDAT2.
To ensure a correct operation as soon as ADDAT2 register is read, the last converted value
should be moved from temporary register to ADDAT2 and the ADEINT interrupt should be
requested. The last converted value can then be read by the CPU. See Figure 37.
In real circumstances, as soon as ADDAT2 register is read then the last converted value is
correctly moved from temporary register to ADDAT2 but the ADEINT interrupt request is not
received by the Interrupt Controller (see Figure 38). As a consequence, the CPU/PEC can



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 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  ...More


数据表 下载

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