NUMICRO-SDK Nuvoton Technology Corporation of America, NUMICRO-SDK Datasheet - Page 491

KIT EVAUATION NUC100/120/130/140

NUMICRO-SDK

Manufacturer Part Number
NUMICRO-SDK
Description
KIT EVAUATION NUC100/120/130/140
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro™r
Type
MCUr
Datasheets

Specifications of NUMICRO-SDK

Contents
Board, Cable, CD, Nu-Link
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
NUC100, NUC120, NUC130, NUC140

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NUMICRO-SDK
Manufacturer:
Nuvoton Technology Corporation
Quantity:
135
Part Number:
NUMICRO-SDK
Manufacturer:
NuvoTon
Quantity:
69
5.16.4.6 Input Sampling and A/D Conversion Time
5.16.4.7 Conversion Result Monitor by Compare Mode
A/D conversion can be triggered by external pin request. When the ADCR.TRGEN is set to high
to enable ADC external trigger function, setting the TRGS[1:0] bits to 00b is to select external
trigger input from the STADC pin. Software can set TRGCOND[1:0] to select trigger condition is
falling/rising edge or low/high level. An 8-bit sampling counter is used to deglitch. If level trigger
condition is selected, the STADC pin must be kept at defined state at least 8 PCLKs. The ADST
bit will be set to 1 at the 9th PCLK and start to conversion. Conversion is continuous if external
trigger input is pull at low (or high state) in level trigger mode. It is stopped only when external
condition trigger condition disappears. If edge trigger condition is selected, the high and low state
must be kept at least 4 PLCKs. Pulse that is shorter than this specification will be ignored.
ADC external trigger function is only supported at single-cycle scan mode.
ADC controller provide two sets of compare register ADCMPR0 and 1 to monitor maximum two
specified channels conversion result from A/D conversion controller, refer to Figure 5-100.
Software can select which channel to be monitored by set CMPCH(ADCMPRx[5:0]) and
CMPCOND bit is used to check conversion result is less than specify value or greater than (equal
to) value specified in CMPD[11:0]. When the conversion of the channel specified by CMPCH is
completed, the comparing action will be triggered one time automatically. When the compare
result meets the setting, compare match counter will increase 1, otherwise, the compare match
counter will be clear to 0. When counter value reach the setting of (CMPMATCNT+1) then CMPF
bit will be set to 1, if CMPIE bit is set then an ADC_INT interrupt request is generated. Software
can use it to monitor the external analog input pin voltage transition in scan mode without
imposing a load on software. Detail logics diagram is shown as below:
NuMicro™ NUC100 Series Technical Reference Manual
Figure 5-100 A/D Conversion Result Monitor Logics Diagram
- 491 -
Publication Release Date: Oct 22, 2010
Revision V1.06

Related parts for NUMICRO-SDK