PIC16C74A-20/P Microchip Technology, PIC16C74A-20/P Datasheet - Page 69

IC MCU OTP 4KX14 A/D PWM 40DIP

PIC16C74A-20/P

Manufacturer Part Number
PIC16C74A-20/P
Description
IC MCU OTP 4KX14 A/D PWM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C74A-20/P

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
33
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC16C
No. Of I/o's
33
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Package
40PDIP
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
33
Interface Type
I2C/SPI/USART
On-chip Adc
8-chx8-bit
Number Of Timers
3
Core
PIC
Processor Series
PIC16C
Maximum Clock Frequency
20 MHz
Data Ram Size
192 B
Data Rom Size
192 B
Mounting Style
Through Hole
A/d Bit Size
8 bit
A/d Channels Available
8
Height
3.81 mm
Length
52.26 mm
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Supply Voltage (max)
6 V
Supply Voltage (min)
4 V
Width
13.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
444-1001 - DEMO BOARD FOR PICMICRO MCU
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C74A-20/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C74A-20/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Steps to follow when setting up an Asynchronous
Transmission:
1.
2.
3.
FIGURE 11-2:
FIGURE 11-3:
TABLE 11-3:
0Bh,8Bh
0Ch
18h
19h
8Ch
98h
99h
Legend: u = unchanged, x = unknown, - = unimplemented locations read as '0'.
Note 1: Bits PSPIE and PSPIF are reserved on the PIC16C63A/73B; always maintain these bits clear.
Address
2000 Microchip Technology Inc.
TXIF bit
(interrupt reg. flag)
RC6/TX/CK (pin)
RC6/TX/CK (pin)
TRMT bit
(Transmit shift
reg. empty flag)
Note: This timing diagram shows two consecutive transmissions.
Write to TXREG
Write to TXREG
TXIF bit
(Transmit buffer
reg. empty flag)
TRMT bit
(Transmit shift
reg. empty flag)
Initialize the SPBRG register for the appropriate
baud rate. If a high speed baud rate is desired,
set bit BRGH. (Section 11.1)
Enable the asynchronous serial port by clearing
bit SYNC and setting bit SPEN.
If interrupts are desired, set interrupt enable bits
TXIE (PIE1<4>), PEIE (INTCON<6>), and GIE
(INTCON<7>), as required.
BRG output
(shift clock)
BRG output
(shift clock)
2: Bits ADIE and ADIF are reserved on the PIC16C63A/65B; always maintain these bits clear.
Shaded cells are not used for asynchronous transmission.
PIR1
RCSTA
TXREG USART Transmit Register
PIE1
TXSTA
SPBRG Baud Rate Generator Register
INTCON
Name
REGISTERS ASSOCIATED WITH ASYNCHRONOUS TRANSMISSION
PSPIF
PSPIE
CSRC
ASYNCHRONOUS MASTER TRANSMISSION
ASYNCHRONOUS MASTER TRANSMISSION (BACK TO BACK)
SPEN
Bit 7
GIE
Transmit Shift Reg.
Word 1
Word 1
Transmit Shift Reg
Word 1
Word 1
(1)
(1)
ADIE
ADIF
PEIE
Bit 6
RX9
TX9
START Bit
(2)
(2)
START Bit
Word 2
SREN
TXEN
RCIE
RCIF
Bit 5
T0IE
Bit 0
CREN
Bit 0
SYNC
INTE
TXIE
Bit 4
TXIF
PIC16C63A/65B/73B/74B
SSPIE CCP1IE TMR2IE
SSPIF CCP1IF
RBIE
Bit 3
Bit 1
Word 1
Bit 1
Word 1
4.
5.
6.
7.
BRGH
FERR
Bit 2
T0IF
If 9-bit transmission is desired, then set transmit
bit TX9.
Enable the transmission by setting bit TXEN,
which will also set flag bit TXIF.
If 9-bit transmission is selected, the ninth bit
should be loaded in bit TX9D.
Load data to the TXREG register (starts trans-
mission).
TMR2IF
OERR
TRMT
Bit 1
INTF
Bit 7/8
Word 2
Transmit Shift Reg.
Bit 7/8
TMR1IE 0000 0000
TMR1IF 0000 0000
RX9D
TX9D
RBIF
Bit 0
STOP Bit
STOP Bit
0000 -00x
0000 0000
0000 -010
0000 0000
0000 000x
Value on:
POR,
BOR
START Bit
DS30605C-page 69
Word 2
0000 0000
0000 -00x
0000 0000
0000 0000
0000 -010
0000 0000
0000 000u
Value on
RESETS
all other
Bit 0

Related parts for PIC16C74A-20/P