参数资料
型号: PIC16LC781T-I/SS
厂商: Microchip Technology
文件页数: 169/186页
文件大小: 0K
描述: IC MCU OTP 1KX14 A/D D/A 20SSOP
产品培训模块: Asynchronous Stimulus
标准包装: 1,600
系列: PIC® 16C
核心处理器: PIC
芯体尺寸: 8-位
速度: 20MHz
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 13
程序存储器容量: 1.75KB(1K x 14)
程序存储器类型: OTP
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 5.5 V
数据转换器: A/D 8x8b; D/A 1x8b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 20-SSOP(0.209",5.30mm 宽)
包装: 带卷 (TR)
其它名称: PIC16LC781TI/SS
第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页
2001 Microchip Technology Inc.
Preliminary
DS41171A-page 81
PIC16C781/782
10.3
DAC Configuration
Example 10-1 shows a sample configuration for the
DAC module. The port pin is configured, AVDD is
selected for the voltage reference, and the DAC output
is enabled.
EXAMPLE 10-1:
DAC CONFIGURATION
;*
This code block will configure the DAC
;*
for AVDD Voltage Ref, and RB1/AN5/VDAC as
;*
output.
BANKSEL TRISB
; Select bank 1
BSF
TRISB,1
; Set RB1 input
BSF
ANSEL,1
; Set RB1 as analog
BANKSEL DACON0
; Select Bank 2
CLRF
DAC
; DAC to 00
MOVLW
B’11000000’
; Enable DAC output
MOVWF
DACON0
; Set REF = VDD
MOVLW
DAC_VALUE
MOVWF
DAC
; Set DAC output
10.4
Effects of RESET
A device RESET forces all registers to their RESET
state. This forces the following conditions:
DAC module is off
Reference input to AVDD
Output disabled
DAC register is cleared
10.5
DAC Module Accuracy/Error
The accuracy/error specified for the DAC includes:
Integral non-linearity error
Differential non-linearity error
Gain error
Offset error
Monotonicity
FIGURE 10-2:
DAC TRANSFER
FUNCTION
Offset error measures the first actual transition of a
code versus the first ideal transition of a code. Offset
error shifts the entire transfer function. Offset error can
be calibrated out of a system or introduced into a sys-
tem through the interaction of the output drive capabil-
ity with the load impedance.
Gain error measures the maximum deviation of the
last actual transition and the last ideal transition
adjusted for offset error. This error appears as a
change in slope of the transfer function. The difference
in gain error to full scale error is that full scale does not
take offset error into account. Gain error can be cali-
brated out by adjusting the reference voltage.
Linearity error refers to the uniformity of the voltage
change with code change. Linearity errors cannot be cal-
ibrated out of the system. Integral non-linearity error
measures the actual voltage output versus the ideal volt-
age output adjusted by the gain error for each code.
Differential non-linearity error measures the maxi-
mum actual voltage step versus the ideal voltage step.
This measure is unadjusted.
TABLE 10-1:
REGISTERS/BITS ASSOCIATED WITH DAC
Digi
tal
C
ode
I
nput
FFh
FEh
04h
03h
02h
01h
00h
0.
5
LSb
1
LS
b
2
LS
b
3
LS
b
4
LS
b
255
LSb
256
LSb
(f
u
lls
c
ale)
Analog Output Voltage
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on:
POR,
BOR
Value on
All Other
RESETS
11Fh
DACON0
DAON
DAOE
DARS1 DARS0 00-- --00 00-- --00
11Eh
DAC
DA7
DA6
DA5
DA4
DA3
DA2
DA1
DA0
0000 0000 0000 0000
86h
TRISB
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
1111 1111 1111 1111
9Dh
ANSEL
AN7
AN6
AN5
AN4
AN3
AN2
AN1
AN0
1111 1111 1111 1111
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used for DAC conversion.
相关PDF资料
PDF描述
ISL84052IBZ IC MUX/DEMUX DUAL 4X1 16SOIC
VE-B2J-IY CONVERTER MOD DC/DC 36V 50W
ISL84053IBZ IC MUX/DEMUX TRIPLE 2X1 16SOIC
DSPIC33FJ32GS406T-I/PT MCU/DSP 16BIT 32KB FLASH 64TQFP
ISL43141IVZ IC SWITCH QUAD SPST 16TSSOP
相关代理商/技术参数
参数描述
PIC16LC782-I/P 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LC782-I/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LC782-I/SS 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LC782T-I/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16LC782T-I/SS 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT