PIC17C756A-33/L Microchip Technology Inc., PIC17C756A-33/L Datasheet - Page 177

no-image

PIC17C756A-33/L

Manufacturer Part Number
PIC17C756A-33/L
Description
68 PIN, 32 KB OTP, 902 RAM, 50 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC17C756A-33/L

A/d Inputs
12-Channel, 10-Bit
Cpu Speed
8.25 MIPS
Eeprom Memory
0 Bytes
Input Output
52
Interface
I2C/SPI/USART
Memory Type
OTP
Number Of Bits
8
Package Type
68-pin PLCC
Programmable Memory
32K Bytes
Ram Size
902 Bytes
Speed
16 MHz
Timers
2-8-bit, 2-16-bit
Voltage, Range
3-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C756A-33/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-33/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC17C756A-33/L-G
Manufacturer:
MICOROCHIP
Quantity:
1 000
Part Number:
PIC17C756A-33/L-G
Manufacturer:
MICOROCHIP
Quantity:
20 000
EXAMPLE 15-2:
// Writes the byte data to 24LC01B at the specified address
void ByteWrite(static unsigned char address, static unsigned char data)
{
}
// Reads a byte of data from 24LC01B at the specified address
unsigned char ByteRead(static unsigned char address)
{
}
2000 Microchip Technology Inc.
StartI2C();
IdleI2C();
WriteI2C(CONTROL);
IdleI2C();
if (!SSPCON2bits.ACKSTAT)
{
}
IdleI2C();
StopI2C();
IdleI2C();
return;
StartI2C();
IdleI2C();
WriteI2C(CONTROL);
IdleI2C();
if (!SSPCON2bits.ACKSTAT)
{
}
return(SSPBUF);
WriteI2C(address);
IdleI2C();
if (!SSPCON2bits.ACKSTAT)
WriteI2C(address);
IdleI2C();
if (!SSPCON2bits.ACKSTAT)
{
}
WriteI2C(data);
RestartI2C();
IdleI2C();
WriteI2C(CONTROL+1);
IdleI2C();
if (!SSPCON2bits.ACKSTAT)
{
}
getcI2C();
IdleI2C();
NotAckI2C();
IdleI2C();
StopI2C();
IdleI2C();
INTERFACING TO A 24LC01B SERIAL EEPROM (USING MPLAB C17)
// Send start bit
// Wait for idle condition
// Send control byte
// Wait for idle condition
// If 24LC01B ACKs
// Send control byte
// Wait for idle condition
// If 24LC01B ACKs
// Send data
// Wait for idle condition
// Send stop bit
// Wait for idle condition
// Send start bit
// Wait for idle condition
// Send control byte
// Wait for idle condition
// If the 24LC01B ACKs
// Send address
// Wait for idle condition
// If the 24LC01B ACKs
// Send restart
// Wait for idle condition
// Send control byte with R/W set
// Wait for idle condition
// If the 24LC01B ACKs
// Read a byte of data from 24LC01B
// Wait for idle condition
// Send a NACK to 24LC01B
// Wait for idle condition
// Send stop bit
// Wait for idle condition
PIC17C7XX
DS30289B-page 177

Related parts for PIC17C756A-33/L