PIC16C782-I/P Microchip Technology, PIC16C782-I/P Datasheet - Page 113
PIC16C782-I/P
Manufacturer Part Number
PIC16C782-I/P
Description
IC MCU CMOS 8BIT 2K 20MHZ 20-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16C781-ISO.pdf
(186 pages)
2.PIC16C781-ISO.pdf
(8 pages)
3.PIC16C781-ISO.pdf
(8 pages)
Specifications of PIC16C782-I/P
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Oscillator Type
Internal
Core Processor
PIC
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x8b; D/A 1x8b
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
16
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
2
No. Of
RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA16XP202 - ADAPTER DEVICE PIC16C781/782DM163012 - BOARD DEMO PICDEM FOR 16C781/782AC164028 - MODULE SKT PROMATEII 20SOIC/DIP
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16C782I/P
- Current page: 113 of 186
- Download datasheet (4Mb)
EXAMPLE 13-2:
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;********************************************
;*
;
;*******************************************************
;*
;*
;*******************************************************
;*
;*
;********************************************************
;*
;*
;*
;********************************************************
;*
;*
;*
2001 Microchip Technology Inc.
PSMC Initialization
This code block will configure the PSMC
and all additional peripherals for a buck
mode switching power supply.
Order of configuration
1.
2.
3.
4.
5.
6.
This code block will configure all analog ports.
BANKSEL
MOVLW
MOVWF
MOVLW
MOVWF
MOVLW
MOVWF
This code block will configure the DAC for VDD as
DACREF, and RB1/AN5/VDAC as an output.
BANKSEL
CLRF
MOVLW
MOVWF
MOVLW
MOVWF
This code block will configure the OPA module
as an Op Amp, with a 3 MHZ GBWP
MOVLW
MOVWF
This code block will configure Comparator C1
for normal speed and output polarity,
input on AN6, and Reference from the VREF1
MOVLW
MOVWF
This code block will configure the PSMC module
for PWM, Fosc/128, Single input, Single output
Non-inverting out, DC min = 0%, DC max = 50%
MOVLW
MOVWF
MOVLW
MOVWF
BSF
PORTA/B I/O and analog configured
DAC enabled, configured, and preset
Op Amp enabled and configured
Comparator C1 enabled and configured
PSMC configured
PSMC enabled
TRISA
B’00001011’
TRISA
B’11001110
TRISB
B’11101011’
ANSEL
EXAMPLE PSMC CONFIGURATION FOR A BUCK MODE SWITCHING POWER
SUPPLY
DACON0
DAC
B’11000000’
DACON0
OUTPUT_VALUE
DAC
B’10000001’
OPACON
B’10001010’
CM1CON0
B’0000000’
PSMCCON0
B’00000110’
PSMCCON1
PSMCCON1,SMCON
; Select Bank 1
; Set RA0,1,& 3 as inputs
; Set RB1,2,3,6 & 7 as inputs
; Set AN0,1,3,5,6 & 7 as analog
; Select Bank 2
; Set DAC to safe value
; Enable DAC, output
;
; Set dAC output level
; Set Op Amp mode and
;
; Set C1; no ext out, norm
;
; Set DCmin 0, DCmax 50, Fosc/128
; Set PWM, 1 in, 2 out, noninvert
; Enable PSMC
2 MHz GBWP
speed & pol, VREF1, AN6
and set DACREF = VDD
Preliminary
PIC16C781/782
DS41171A-page 111
Related parts for PIC16C782-I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet: