| 전자부품 데이터시트 검색엔진 |
|
STM8S 데이터시트(PDF) 435 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 데이터시트(HTML) 435 Page - STMicroelectronics |
|
435 / 467 page ![]() DocID14587 Rev 14 435/467 RM0016 Analog/digital converter (ADC) 454 24.5.7 Conversion on external trigger Conversion can be triggered by an rising edge event on the ADC_ETR pin or a TRGO event from a timer. Refer to the datasheet for details on the timer trigger, as this is product depend- ent). If the EXTTRIG control bit is set then either of the external events can be used to trigger a conversion. The EXTSEL[1:0] bits are used to select the two possible sources of events that can trigger conversion. To use external trigger mode: 1. The ADC is in off state (ADON=0) and EOC bit is cleared. 2. Select trigger source (EXTSEL [1:0]). 3. Set external trigger mode EXTTRIG=1 using a BSET instruction in order not to change other bits in the register. 4. If the trigger source is in high state, this switches on the ADC. For this reason, test if ADC is switched off (ADON=0), then switch on ADC (ADON=1). 5. Wait for the stabilization time (tSTAB). If an external trigger occurs before tSTAB elapses, the result will not be accurate. 6. Conversion starts when an external trigger event occurs. Note: 1 If timer trigger mode is selected (timer event as trigger source, not external pin) it is recommended to start the timer only when the ADC is completely set - and stop the timer before the ADC is switched off. 2 External trigger mode must be disabled (EXTTRIG=0) before executing a HALT instruction. 24.5.8 Analog zooming Analog zooming is supported in devices with external reference voltage pins (VREF+ and VREF-). In analog zooming, the reference voltage is chosen to allow increased resolution in a reduced voltage range. Refer to the datasheet for details on the allowed reference voltage range. 24.5.9 Timing diagram As shown in Figure 162, after ADC power on, the ADC needs a stabilization time tSTAB (equivalent to one conversion time tCONV) before it starts converting accurately. For subsequent conversions there is no stabilization delay and ADON needs to be set only once. The ADC conversion time takes 14 clock cycles. After conversion the EOC flag is set and the 10-bit ADC Data register contains the result of the conversion. |
|
링크 URL |
| 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 |