PIC17LC756AT-08/L Microchip Technology, PIC17LC756AT-08/L Datasheet - Page 176

IC MCU OTP 16KX16 A/D 68PLCC

PIC17LC756AT-08/L

Manufacturer Part Number
PIC17LC756AT-08/L
Description
IC MCU OTP 16KX16 A/D 68PLCC
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Datasheets

Specifications of PIC17LC756AT-08/L

Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
50
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
902 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
68-PLCC
Processor Series
PIC17LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
902 B
Interface Type
I2C, MSSP, RS- 232, SCI, SPI, USART
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
50
Number Of Timers
8
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
0 C
On-chip Adc
12 bit
Data Rom Size
902 B
Height
4.06 mm
Length
24.33 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
3 V
Width
24.33 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17LC756AT-08/L
Manufacturer:
Microchip Technology
Quantity:
10 000
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 PIC17LC756AT-08/L