PIC16C716-04I/P Microchip Technology, PIC16C716-04I/P Datasheet

IC MCU OTP 2KX14 A/D PWM 18DIP

PIC16C716-04I/P

Manufacturer Part Number
PIC16C716-04I/P
Description
IC MCU OTP 2KX14 A/D PWM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C716-04I/P

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1059 - ADAPTER 18 ZIF BD W/18SO PLUGSDVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
The PIC16C712/716 parts you have received conform
functionally to the Device Data Sheet (DS41106A),
except for the anomalies described below.
The problem here will be addressed in future revisions
of the PIC16C712/716 silicon.
1.
EXAMPLE 1:
(Assumes that the T2CON and CCP1CON values are determined at assembly time and remain fixed.)
Code Example 1A:
;***********************************************************************
;
;
;
;
;
;
;
;
;
;
Assembly Code To Stop PWM Once Started:
PWMreset
 2003 Microchip Technology Inc.
The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Com-
pany’s customer, for use solely and exclusively with products manufactured by the Company.
The software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved.
Any use in violation of the foregoing restrictions may subject the user to criminal sanctions under applicable laws, as well as to civil
liability for the breach of the terms and conditions of this license.
THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATU-
TORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICU-
LAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR
SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
Module: CCP
When using the PIC16C712/716 in the Compare
or PWM mode, the TCCP bit of the TRISCCP
register will not tristate the output on pin RB3, as
described in Figure 7-2 of the Device Data Sheet.
The TCCP bit of the TRISCCP register has no
effect on the output of pin RB3.
Call these routines to turn the PWM off or on and ensure a Zero output on RB3
when PWM is off.
PWMreset - Clear T2CON Disabling Timer2 and Clearing Timer 2 Prescaler,
PWMrestart - Restore the T2CON register with the appropriate value for your
bcf
clrf
movf
return
movwf
PIC16C712/716 Rev. A Silicon/Data Sheet Errata
TMR2
then fill the TMR2 register with the CCPR1H value. This will cause
a Reset or Zero value on RB3.
STATUS,RP0
T2CON
CCPR1H,W
system needs. IT IS THE RESPONSIBILITY OF THE USER TO DETERMINE
THE CORRECT VALUE FOR T2CON.
; Select Bank 0
; Clear T2CON, Timer2-Disable & Pre/Post Scalers = 1
; Load CCPR1H value in Write register
; Move CCPR1H value into TMR2 to cause Reset of RB3 pin
Software License Agreement
PIC16C712/716
Note:
Work around
There is no way to tristate the output on pin RB3 in
the Compare or PWM mode. However, there are
steps you can do in firmware to stop the RB3 pin
from changing and leave it in a known state.
Examples are shown below.
The TCCP bit of the TRISCCP register
functions as described in Figure 7-2 of the
Device Data Sheet, when using the
MPLAB
®
ICE 2000 in-circuit emulator
DS80072D-page 1

Related parts for PIC16C716-04I/P

PIC16C716-04I/P Summary of contents

Page 1

... T2CON and CCP1CON values are determined at assembly time and remain fixed.) The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Com- pany’s customer, for use solely and exclusively with products manufactured by the Company. ...

Page 2

... Assembly Code To Start CCP Mode Once Stopped: CCPstart bcf STATUS,RP0 ; Select Bank 0 movlw CCP1CONVAL ; Load CCP1CON value in Working register. ; THE USER IS RESPONSIBLE FOR SUPPLYING THE CORRECT CCP1CON VALUE. movwf CCP1CON ; Initialize CCP1CON for desired Mode of operation. return DS80072D-page 2  2003 Microchip Technology Inc. ...

Page 3

... Move CCPR1H value into TMR2 to cause Reset of RB3 pin return Assembly Code To Start PWM Once Stopped: PWMrestart bcf STATUS,RP0 ; Select Bank 0 movf T2CONSAV,W ; Move T2CONSAV Value to ‘w’ register movwf T2CON ; Restore T2CON register value return  2003 Microchip Technology Inc. PIC16C712/716 DS80072D-page 3 ...

Page 4

... CCP1CON ; Turn Off CCP1CON all Modes return Assembly Code To Start CCP Mode Once Stopped: CCPstart bcf STATUS,RP0 ; Select Bank 0 movf CCP1CONSAV,W ; Move CCP1CONSAV value to ‘W’ register movwf CCP1CON ; Restore CCP1CON to desired Mode of operation. return DS80072D-page 4  2003 Microchip Technology Inc. ...

Page 5

... T1CON,NOT_T1SYNC bcf T1CON,TMR1ON bsf T1CON,NOT_T1SYNC return  2003 Microchip Technology Inc. PIC16C712/716 Timer1 synchronization will start, effectively stop- ping Timer1, one Q period after the Synchronous mode is enabled, or one Q period later than would have been realized by simply clearing the TMR1ON bit. One additional count, in excess of ...

Page 6

... Note 1: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (OPTION_REG<7>). DS80072D-page 6 Occurrence Data Sheet Name (1) RBPU T1OSCEN T1CS V DD Weak P Pull- TTL Buffer 0 T1CLKIN ST Buffer Correct Name TRM1H TMR1H TRM2 TMR2 TT1CK DT1CK TR1SCCP TRISCCP V DD RB1/T1OSO/T1CKI V SS  2003 Microchip Technology Inc. ...

Page 7

... DC Characteristics: PIC16C712/716-04 (Commercial, Industrial, Extended) PIC16C712/716-20 (Commercial, Industrial, Extended) DC CHARACTERISTICS Param Sym Characteristic No. D001 V DD Supply Voltage D001A  2003 Microchip Technology Inc. PIC16C712/716 20 10 Frequency (MHz) Standard Operating Conditions (unless otherwise stated) 0°C ≤ T Operating temperature A -40°C ≤ -40°C ≤ T ...

Page 8

... L p MILLIMETERS MIN NOM MAX 18 2.54 3.56 3.94 4.32 2.92 3.30 3.68 0.38 7.62 7.94 8.26 6.10 6.35 6.60 22.61 22.80 22.99 3.18 3.30 3.43 0.20 0.29 0.38 1.14 1.46 1.78 0.36 0.46 0.56 7.87 9.40 10.  2003 Microchip Technology Inc. ...

Page 9

... Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MS-013 Drawing No. C04-051  2003 Microchip Technology Inc φ Units ...

Page 10

... Microchip Technology Inc. ...

Page 11

... Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MO-150 Drawing No. C04-072  2003 Microchip Technology Inc. PIC16C712/716 φ L ...

Page 12

... Added issue 1 (CCP), page 1, and issue 2 (Timer1), page 5. Rev. C Document (1/2002) Under Clarifications/Corrections to the Data Sheet, Item 5 (SSOP), on page 8 was added. Rev. D Document (3/2003) Under Clarifications/Corrections to the Data Sheet, Item 5, Packaging: correct package data was added. DS80072D-page 12  2003 Microchip Technology Inc. ...

Page 13

... MPSIM, PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartShunt, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Serialized Quick Turn Programming (SQTP service mark of Microchip Technology Incorporated in the U.S.A. ...

Page 14

... Korea Microchip Technology Korea 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 135-882 Tel: 82-2-554-7200 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd. 200 Middle Road #07-02 Prime Centre Singapore, 188980 Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan Microchip Technology (Barbados) Inc., Taiwan Branch 11F-3, No ...

Related keywords