參數(shù)資料
型號(hào): ATXMEGA256A3B-AUR
廠商: Atmel
文件頁數(shù): 203/287頁
文件大?。?/td> 0K
描述: IC MCU 8BIT 256KB FLASH 64TQFP
標(biāo)準(zhǔn)包裝: 1,000
系列: AVR® XMEGA
核心處理器: AVR
芯體尺寸: 8/16-位
速度: 32MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,DMA,POR,PWM,WDT
輸入/輸出數(shù): 49
程序存儲(chǔ)器容量: 256KB(128K x 16)
程序存儲(chǔ)器類型: 閃存
EEPROM 大?。?/td> 4K x 8
RAM 容量: 16K x 8
電壓 - 電源 (Vcc/Vdd): 1.6 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 16x12b; D/A 2x12b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 64-TQFP
包裝: 帶卷 (TR)
配用: ATSTK600-RC14-ND - STK600 SOCKET/ADAPTER 64TQFP
第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頁當(dāng)前第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁第270頁第271頁第272頁第273頁第274頁第275頁第276頁第277頁第278頁第279頁第280頁第281頁第282頁第283頁第284頁第285頁第286頁第287頁
2011 Microchip Technology Inc.
DS39932D-page 381
PIC18F46J11 FAMILY
25.1.5
INTERRUPTS
The CTMU sets its interrupt flag (PIR3<2>) whenever
the current source is enabled, then disabled. An inter-
rupt is generated only if the corresponding interrupt
enable bit (PIE3<2>) is also set. If edge sequencing is
not enabled (i.e., Edge 1 must occur before Edge 2), it
is necessary to monitor the edge status bits and
determine which edge occurred last and caused the
interrupt.
25.2
CTMU Module Initialization
The following sequence is a general guideline used to
initialize the CTMU module:
1.
Select the current source range using the IRNG
bits (CTMUICON<1:0>).
2.
Adjust the current source trim using the ITRIM
bits (CTMUICON<7:2>).
3.
Configure the edge input sources for Edge 1 and
Edge 2 by setting the EDG1SEL and EDG2SEL
bits (CTMUCONL<3:2 and 6:5>).
4.
Configure the input polarities for the edge inputs
using the EDG1POL and EDG2POL bits
(CTMUCONL<4,7>). The default configuration
is for negative edge polarity (high-to-low
transitions).
5.
Enable edge sequencing using the EDGSEQEN
bit
(CTMUCONH<2>).
By
default,
edge
sequencing is disabled.
6.
Select the operating mode (Measurement or
Time
Delay)
with
the
TGEN
bit
(CTMUCONH<4>). The default mode is Time/
Capacitance Measurement.
7.
Discharge the connected circuit by setting the
IDISSEN bit (CTMUCONH<1>); after waiting a
sufficient time for the circuit to discharge, clear
IDISSEN.
8.
Disable the module by clearing the CTMUEN bit
(CTMUCONH<7>).
9.
Enable the module by setting the CTMUEN bit.
10. Clear the Edge Status bits: EDG2STAT and
EDG1STAT (CTMUCONL<1:0>). Both bits
should be cleared simultaneously, if possible, to
avoid re-enabling the CTMU current source.
11. Enable both edge inputs by setting the EDGEN
bit (CTMUCONH<3>).
Depending on the type of measurement or pulse
generation being performed, one or more additional
modules may also need to be initialized and configured
with the CTMU module:
Edge Source Generation: In addition to the
external edge input pins, both Timer1 and the
Output Compare/PWM1 module can be used as
edge sources for the CTMU.
Capacitance or Time Measurement: The CTMU
module uses the A/D Converter to measure the
voltage across a capacitor that is connected to one
of the analog input channels.
Pulse Generation: When generating system clock
independent output pulses, the CTMU module
uses Comparator 2 and the associated
comparator voltage reference.
25.3
Calibrating the CTMU Module
The CTMU requires calibration for precise measure-
ments of capacitance and time, as well as for accurate
time delay. If the application only requires measurement
of a relative change in capacitance or time, calibration is
usually not necessary. An example of this type of appli-
cation would include a capacitive touch switch, in which
the touch circuit has a baseline capacitance, and the
added capacitance of the human body changes the
overall capacitance of a circuit.
If actual capacitance or time measurement is required,
two hardware calibrations must take place: the current
source needs calibration to set it to a precise current,
and the circuit being measured needs calibration to
measure and/or nullify all other capacitance other than
that to be measured.
25.3.1
CURRENT SOURCE CALIBRATION
The current source on board the CTMU module has a
range of ±62% nominal for each of three current
ranges. Therefore, for precise measurements, it is
possible to measure and adjust this current source by
placing a high precision resistor, RCAL, onto an unused
analog channel. An example circuit is shown in
Figure 25-2. The current source measurement is
performed using the following steps:
1.
Initialize the A/D Converter.
2.
Initialize the CTMU.
3.
Enable the current source by setting EDG1STAT
(CTMUCONL<0>).
4.
Issue a time delay for voltage across RCAL to
stabilize and the ADC sample/hold capacitor to
charge.
5.
Perform A/D conversion.
6.
Calculate the present source current using
I=V / RCAL, where RCAL is a high precision
resistance and V is measured by performing an
A/D conversion.
相關(guān)PDF資料
PDF描述
VE-B33-IX-F2 CONVERTER MOD DC/DC 24V 75W
VE-B33-IW-F4 CONVERTER MOD DC/DC 24V 100W
AS1753S-T IC SWITCH QUAD SPST 14-TSSOP
AS1752S-T IC SWITCH QUAD SPST 14-TSSOP
AS1751S-T IC SWITCH QUAD SPST 14-TSSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATXMEGA256A3B-MH 功能描述:8位微控制器 -MCU 8/16 bit 1.6V-3.6V 256K+8K; Batt Backup RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATXMEGA256A3B-MHR 功能描述:8位微控制器 -MCU 256KB FL 4KB EE 16K SRAM IND 1.6-3.6V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATXMEGA256A3B-MU 制造商:Atmel Corporation 功能描述:MCU 8-Bit/16-Bit XMEGA AVR RISC 256KB Flash 1.8V/2.5V/3.3V 64-Pin QFN EP
ATXMEGA256A3BU-AN 功能描述:AVR AVR? XMEGA? A3BU Microcontroller IC 8/16-Bit 32MHz 256KB (128K x 16) FLASH 制造商:atmel 系列:AVR? XMEGA? A3BU 包裝:* 零件狀態(tài):有效 核心處理器:AVR 核心尺寸:8/16-位 速度:32MHz 連接性:I2C,IrDA,SPI,UART/USART,USB 外設(shè):欠壓檢測/復(fù)位,DMA,POR,PWM,WDT I/O 數(shù):47 程序存儲(chǔ)容量:256KB(128K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 容量:4K x 8 RAM 容量:16K x 8 電壓 - 電源(Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 16x12b;D/A 2x12b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:* 供應(yīng)商器件封裝:* 標(biāo)準(zhǔn)包裝:160
ATXMEGA256A3BU-ANR 功能描述:AVR AVR? XMEGA? A3BU Microcontroller IC 8/16-Bit 32MHz 256KB (128K x 16) FLASH 制造商:atmel 系列:AVR? XMEGA? A3BU 包裝:* 零件狀態(tài):有效 核心處理器:AVR 核心尺寸:8/16-位 速度:32MHz 連接性:I2C,IrDA,SPI,UART/USART,USB 外設(shè):欠壓檢測/復(fù)位,DMA,POR,PWM,WDT I/O 數(shù):47 程序存儲(chǔ)容量:256KB(128K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 容量:4K x 8 RAM 容量:16K x 8 電壓 - 電源(Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 16x12b;D/A 2x12b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:* 供應(yīng)商器件封裝:* 標(biāo)準(zhǔn)包裝:2,000