PIC16F74-I/P Microchip Technology Inc., PIC16F74-I/P Datasheet - Page 169
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F74-I/P
Manufacturer Part Number
PIC16F74-I/P
Description
40 PIN, 7 KB FLASH, 192 RAM, 33 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F74-IP.pdf
(174 pages)
Specifications of PIC16F74-I/P
A/d Inputs
8-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
33
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
7K Bytes
Ram Size
192 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F74-I/P
Manufacturer:
MAXIM
Quantity:
101
Company:
Part Number:
PIC16F74-I/P
Manufacturer:
MICROCHIP
Quantity:
50
Part Number:
PIC16F74-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F74-I/PT
Manufacturer:
MIC
Quantity:
50
Company:
Part Number:
PIC16F74-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
S
S (START) bit .................................................................... 60
SCI. See USART
SCL .................................................................................... 65
Serial Communication Interface. See USART
SLEEP ................................................................89
SMP bit .............................................................................. 60
Software Simulator (MPLAB SIM) ................................... 114
Special Features of the CPU ............................................. 89
Special Function Registers ...................................16
Speed, Operating ................................................................. 1
SPI Mode ........................................................................... 59
SSP
SSP I
SSPEN bit .......................................................................... 61
SSPIF bit ............................................................................ 23
SSPM<3:0> bits ................................................................. 61
SSPOV bit .......................................................................... 61
Stack .................................................................................. 26
STATUS Register
Synchronous Serial Port Enable bit (SSPEN) ................... 61
Synchronous Serial Port Interrupt bit (SSPIF) ................... 23
Synchronous Serial Port Mode Select bits
Synchronous Serial Port. See SSP
T
T1CKPS0 bit ...................................................................... 47
T1CKPS1 bit ...................................................................... 47
T1OSCEN bit ..................................................................... 47
T1SYNC bit ........................................................................ 47
T2CKPS0 bit ...................................................................... 52
T2CKPS1 bit ...................................................................... 52
T
Time-out Sequence ........................................................... 94
Timer0 ................................................................................ 43
AD
2002 Microchip Technology Inc.
..................................................................................... 87
Associated Registers ................................................. 64
Serial Clock (SCK pin) ............................................... 59
Serial Data In (SDI pin) .............................................. 59
Serial Data Out (SDO pin) ......................................... 59
Slave Select ............................................................... 59
Overview
RA5/SS/AN4 Pin ................................................... 8
RC3/SCK/SCL Pin ................................................ 9
RC4/SDI/SDA Pin ................................................. 9
RC5/SDO Pin ....................................................... 9
Slave Mode ................................................................ 65
Overflows ................................................................... 26
Underflow .................................................................. 26
DC Bit ........................................................................ 19
IRP Bit ....................................................................... 19
PD Bit ........................................................................ 93
TO Bit ................................................................. 19
Z Bit ........................................................................... 19
(SSPM<3:0>) ............................................................. 61
Associated Registers ................................................. 45
Clock Source Edge Select (T0SE bit) ........................ 20
Clock Source Select (T0CS bit) ................................. 20
External Clock ........................................................... 44
Interrupt ..................................................................... 43
Overflow Enable (TMR0IE bit) ................................... 21
Overflow Flag (TMR0IF bit) ..................................... 100
Overflow Interrupt .................................................... 100
Prescaler ................................................................... 45
RA4/T0CKI Pin, External Clock ............................ 8
T0CKI ........................................................................ 44
2
C Operation ............................................................. 65
,
,
93
16
,
–
,
,
,
,
,
,
102
18
10
11
11
11
93
10
Timer1 ............................................................................... 47
Timer2 ............................................................................... 51
Timing Diagrams
Associated Registers ................................................ 50
Asynchronous Counter Mode .................................... 49
Capacitor Selection ................................................... 50
Counter Operation ..................................................... 48
Operation in Timer Mode .......................................... 48
Oscillator ................................................................... 50
Prescaler ................................................................... 50
RC0/T1OSO/T1CKI Pin ........................................9
RC1/T1OSI/CCP2 Pin ...........................................9
Resetting of Timer1 Registers ................................... 50
Resetting Timer1 using a CCP Trigger Output ......... 50
Synchronized Counter Mode ..................................... 48
TMR1H Register ....................................................... 49
TMR1L Register ........................................................ 49
Associated Registers ................................................ 52
Output ....................................................................... 51
Postscaler ................................................................. 51
Prescaler ................................................................... 51
Prescaler and Postscaler .......................................... 51
A/D Conversion ....................................................... 139
Brown-out Reset ..................................................... 128
Capture/Compare/PWM (CCP1 and CCP2) ........... 130
CLKOUT and I/O ..................................................... 127
External Clock ......................................................... 126
I
I
I
I
Parallel Slave Port ................................................... 131
Parallel Slave Port Read Waveforms ........................ 41
Parallel Slave Port Write Waveforms ........................ 41
Power-up Timer ....................................................... 128
PWM Output .............................................................. 57
RESET .................................................................... 128
Slow Rise Time (MCLR Tied to V
SPI Master Mode (CKE = 0, SMP = 0) .................... 132
SPI Master Mode (CKE = 1, SMP = 1) .................... 132
SPI Mode (Master Mode) .......................................... 63
SPI Mode (Slave Mode with CKE = 0) ...................... 63
SPI Mode (Slave Mode with CKE = 1) ...................... 63
SPI Slave Mode (CKE = 0) ...................................... 133
SPI Slave Mode (CKE = 1) ...................................... 133
Start-up Timer ......................................................... 128
Time-out Sequence on Power-up (MCLR Not
Time-out Sequence on Power-up (MCLR Tied to Vdd
Timer0 ..................................................................... 129
Timer1 ..................................................................... 129
USART Asynchronous Master Transmission ............ 74
USART Asynchronous Master Transmission
USART Asynchronous Reception ............................. 76
USART Synchronous Receive (Master/Slave) ........ 137
USART Synchronous Reception
USART Synchronous Transmission .......................... 78
USART Synchronous Transmission
2
2
2
2
C Bus Data ........................................................... 135
C Bus START/STOP bits ...................................... 134
C Reception (7-bit Address) ................................... 67
C Transmission (7-bit Address) .............................. 67
Case 1 ............................................................... 98
Case 2 ............................................................... 98
RC Network) ............................................. 98
Tied to V
Through RC Network) ............................... 97
(Back to Back) ........................................... 74
(Master Mode, SREN) ............................... 79
(Master/Slave) ......................................... 137
DD
)
PIC16F7X
DD
DS30325B-page 167
Through
,
,
11
11