PIC16C73A-20/SP Microchip Technology, PIC16C73A-20/SP Datasheet - Page 122

IC MCU OTP 4KX14 A/D PWM 28DIP

PIC16C73A-20/SP

Manufacturer Part Number
PIC16C73A-20/SP
Description
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C73A-20/SP

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
22
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
22
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Package
28SPDIP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
22
Interface Type
I2C/SPI/USART
On-chip Adc
5-chx8-bit
Number Of Timers
3
Processor Series
PIC16C
Core
PIC
Data Ram Size
192 B
Maximum Clock Frequency
20 MHz
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
Data Rom Size
192 B
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
6 V
Supply Voltage (min)
4 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
PIC16C7X
13.4
Example 13-2 shows how to perform an A/D conver-
sion. The RA pins are configured as analog inputs. The
analog reference (V
interrupt is enabled, and the A/D conversion clock is
F
(channel 0).
EXAMPLE 13-2: A/D CONVERSION
;
;
;
;
DS30390E-page 122
RC
Ensure that the required sampling time for the selected input channel has elapsed.
Then the conversion may be started.
. The conversion is performed on the RA0 pin
BSF
BCF
CLRF
BSF
BCF
MOVLW
MOVWF
BCF
BSF
BSF
BSF
:
:
A/D Conversions
Applicable Devices
72 73 73A 74 74A 76 77
STATUS, RP0
STATUS, RP1
ADCON1
PIE1,
STATUS, RP0
0xC1
ADCON0
PIR1,
INTCON, PEIE
INTCON, GIE
ADCON0, GO
REF
) is the device V
ADIE
ADIF
; Select Bank 1
; PIC16C76/77 only
; Configure A/D inputs
; Enable A/D interrupts
; Select Bank 0
; RC Clock, A/D is on, Channel 0 is selected
;
; Clear A/D interrupt flag bit
; Enable peripheral interrupts
; Enable all interrupts
; Start A/D Conversion
; The ADIF bit will be set and the GO/DONE bit
;
DD
is cleared upon completion of the A/D Conversion.
. The A/D
Clearing the GO/DONE bit during a conversion will
abort the current conversion. The ADRES register will
NOT be updated with the partially completed A/D con-
version sample. That is, the ADRES register will con-
tinue to contain the value of the last completed
conversion (or the last value written to the ADRES reg-
ister). After the A/D conversion is aborted, a 2T
is required before the next acquisition is started. After
this 2T
the selected channel.
Note:
AD
wait, an acquisition is automatically started on
The GO/DONE bit should NOT be set in
the same instruction that turns on the A/D.
1997 Microchip Technology Inc.
AD
wait

Related parts for PIC16C73A-20/SP