PIC17C766-16E/L Microchip Technology, PIC17C766-16E/L Datasheet - Page 176
PIC17C766-16E/L
Manufacturer Part Number
PIC17C766-16E/L
Description
IC MCU CMOS 16MHZ 16K EPRM84PLCC
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC17C752-16L.pdf
(304 pages)
3.PIC17C752-16L.pdf
(6 pages)
Specifications of PIC17C766-16E/L
Core Processor
PIC
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
66
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
902 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
84-PLCC
For Use With
AC164318 - MODULE SKT MPLAB PM3 84PLCCDVA17XL841 - DEVICE ADAPTER FOR PIC17C762DM173001 - KIT DEVELOPMENT PICDEM17AC164027 - ADAPTER PICSTART PLUS 84PLCCAC174012 - MODULE SKT PROMATEII 84PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C766-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 176 of 304
- Download datasheet (6Mb)
PIC17C7XX
15.4
Example 15-2 shows MPLAB
the I
24LC01B serial EEPROM. This example uses the
PICmicro
EXAMPLE 15-2:
DS30289B-page 176
// Include necessary header files
#include <p17c756.h>
#include <delays.h>
#include <stdlib.h>
#include <i2c16.h>
#define CONTROL 0xa0
// Function declarations
void main(void);
void WritePORTD(static unsigned char data);
void ByteWrite(static unsigned char address,static unsigned char data);
unsigned char ByteRead(static unsigned char address);
void ACKPoll(void);
// Main program
void main(void)
{
static unsigned char address;
static unsigned char datao;
static unsigned char datai;
}
2
C module in Master mode to communicate with a
address = 0;
OpenI2C(MASTER,SLEW_ON);
SSPADD = 39;
while(address<128)
{
}
while(1)
{
}
Example Program
®
datao = PORTB;
do
{
} while(datai != datao);
address++;
Nop();
’C’ libraries included with MPLAB C17.
ByteWrite(address,datao);
ACKPoll();
datai = ByteRead(address);
INTERFACING TO A 24LC01B SERIAL EEPROM (USING MPLAB C17)
®
// Processor header file
// Delay routines header file
// Standard Library header file
// I2C routines header file
// Control byte definition for 24LC01B
C17 ’C’ code for using
// I2C address of 24LC01B
// Data written to 24LC01B
// Data read from 24LC01B
// Preset address to 0
// Configure I2C Module Master mode, Slew rate control on
// Configure clock for 100KHz
// Loop 128 times, 24LC01B is 128x8
// Write data to EEPROM
// Poll the 24LC01B for state
// Read data from EEPROM into SSPBUF
// Loop as long as data not correctly
//
// Increment address
// Done writing 128 bytes to 24LC01B, Loop forever
written to 24LC01B
2000 Microchip Technology Inc.
Related parts for PIC17C766-16E/L
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU OTP 16KX16 A/D 84PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 16KX16 A/D 84PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,84PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU EPROM 16KX16 A/D 84CLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 16KX16 A/D 84PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU CMOS 16MHZ 16K EPRM80TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU CMOS 33MHZ 16K EPRM84PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU CMOS 33MHZ 16K EPRM80TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
High-Performance 8-bit CMOS EPROM Microcontrollers
Manufacturer:
Microchip Technology