参数资料
型号: TOOLSTICK520PP
厂商: Silicon Laboratories Inc
文件页数: 171/220页
文件大小: 0K
描述: ADAPTER PROGRAM TOOLSTICK F520
标准包装: 1
系列: ToolStick
类型: 微控制器编程器
适用于相关产品: C8051F520/521/523/524/526/527
所含物品: 2 个板和 USB 连接线缆
产品目录页面: 626 (CN2011-ZH PDF)
相关产品: 336-1494-5-ND - IC 8051 MCU 2K FLASH 10DFN
336-1493-5-ND - IC 8051 MCU 2K FLASH 10DFN
336-1492-5-ND - IC 8051 MCU 4K FLASH 10DFN
336-1491-5-ND - IC 8051 MCU 4K FLASH 10DFN
336-1490-5-ND - IC 8051 MCU 8K FLASH 10DFN
336-1484-5-ND - IC 8051 MCU 8K FLASH 10DFN
其它名称: 336-1455
第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页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页当前第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页
C8051F52x/F53x
54
Rev. 1.4
4.3. ADC0 Operation
In a typical system, ADC0 is configured using the following steps:
1. If a gain adjustment is required, refer to Section “4.4. Selectable Gain” on page 60.
2. Choose the start of conversion source.
3. Choose Normal Mode or Burst Mode operation.
4. If Burst Mode, choose the ADC0 Idle Power State and set the Power-Up Time.
5. Choose the tracking mode. Note that Pre-Tracking Mode can only be used with Normal Mode.
6. Calculate required settling time and set the post convert-start tracking time using the AD0TK bits.
7. Choose the repeat count.
8. Choose the output word justification (Right-Justified or Left-Justified).
9. Enable or disable the End of Conversion and Window Comparator Interrupts.
4.3.1. Starting a Conversion
A conversion can be initiated in one of four ways, depending on the programmed states of the ADC0 Start
of Conversion Mode bits (AD0CM1–0) in register ADC0CN. Conversions may be initiated by one of the fol-
lowing:
Writing a 1 to the AD0BUSY bit of register ADC0CN
A rising edge on the CNVSTR input signal (pin P0.6)
A Timer 1 overflow (i.e., timed continuous conversions)
A Timer 2 overflow (i.e., timed continuous conversions)
Writing a 1 to AD0BUSY provides software control of ADC0 whereby conversions are performed "on-
demand.” During conversion, the AD0BUSY bit is set to logic 1 and reset to logic 0 when the conversion is
complete. The falling edge of AD0BUSY triggers an interrupt (when enabled) and sets the ADC0 interrupt
flag (AD0INT). Note: When polling for ADC conversion completions, the ADC0 interrupt flag (AD0INT)
should be used. Converted data is available in the ADC0 data registers, ADC0H:ADC0L, when bit AD0INT
is logic 1. Note that when Timer 2 overflows are used as the conversion source, Low Byte overflows are
used if Timer2 is in 8-bit mode; High byte overflows are used if Timer 2 is in 16-bit mode. See Section
“18. Timers” on page 182 for timer configuration.
Important Note: The CNVSTR input pin also functions as Port pin P0.5 on C8051F52x/52xA devices and
P1.2 on C8051F53x/53xA devices. When the CNVSTR input is used as the ADC0 conversion source, Port
pin P0.5 or P1.2 should be skipped by the Digital Crossbar. To configure the Crossbar to skip P0.5 or P1.2,
set to 1 to the appropriate bit in the PnSKIP register. See Section “13. Port Input/Output” on page 120 for
details on Port I/O configuration.
4.3.2. Tracking Modes
Each ADC0 conversion must be preceded by a minimum tracking time for the converted result to be accu-
rate, as shown in Table 2.3 on page 28. ADC0 has three tracking modes: Pre-Tracking, Post-Tracking, and
Dual-Tracking. Pre-Tracking Mode provides the minimum delay between the convert start signal and end
of conversion by tracking continuously before the convert start signal. This mode requires software man-
agement in order to meet minimum tracking requirements. In Post-Tracking Mode, a programmable track-
ing time starts after the convert start signal and is managed by hardware. Dual-Tracking Mode maximizes
tracking time by tracking before and after the convert start signal. Figure 4.3 shows examples of the three
tracking modes.
Pre-Tracking Mode is selected when AD0TM is set to 10b. Conversions are started immediately following
the convert start signal. ADC0 is tracking continuously when not performing a conversion. Software must
allow at least the minimum tracking time between each end of conversion and the next convert start signal.
The minimum tracking time must also be met prior to the first convert start signal after ADC0 is enabled.
相关PDF资料
PDF描述
R0.25D12-2412/H-R CONV DC/DC 0.25W 24VIN +/-12VOUT
EEC20DRAH CONN EDGECARD 40POS R/A .100 SLD
ECM15DRES CONN EDGECARD 30POS .156 EYELET
M7VXK-3710R D-SUB CABLE - MMU37K/MC37M/X
F971D156MNC CAP TANT 15UF 20V 20% 2917
相关代理商/技术参数
参数描述
TOOLSTICK530ADC 功能描述:子卡和OEM板 C8051F52xA/53xA Daughter Card RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK530MPP 功能描述:插座和适配器 C8051F530/1/3/4/6/7- IM MCUs Dev Tool RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK530TPP 功能描述:插座和适配器 C8051F530/1/3/4/6/7- IT MCUs Dev Tool RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ToolStick540DC 功能描述:子卡和OEM板 ToolStick C8051F540 Daughter Card RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ToolStick542PP 功能描述:插座和适配器 ToolStick Prog. Platform RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x