PIC12CE518-04I/P Microchip Technology, PIC12CE518-04I/P Datasheet - Page 228

no-image

PIC12CE518-04I/P

Manufacturer Part Number
PIC12CE518-04I/P
Description
IC MCU OTP 512X12 W/EE 8DIP
Manufacturer
Microchip Technology
Series
PIC® 12Cr

Specifications of PIC12CE518-04I/P

Core Size
8-Bit
Program Memory Size
768B (512 x 12)
Oscillator Type
Internal
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Type
OTP
Eeprom Size
16 x 8
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DIP (0.300", 7.62mm)
Controller Family/series
PIC12
No. Of I/o's
6
Eeprom Memory Size
16Byte
Ram Memory Size
25Byte
Cpu Speed
4MHz
No. Of
RoHS Compliant
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With
DVA12XP080 - ADAPTER DEVICE FOR MPLAB-ICE
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PICmicro MID-RANGE MCU FAMILY
15.3.2
DS31015A-page 15-8
Enabling SPI I/O
To enable the serial port the SSP Enable bit, SSPEN (SSPCON<5>), must be set. To reset or
reconfigure SPI mode, clear the SSPEN bit which re-initializes the SSPCON register, and then
set the SSPEN bit. This configures the SDI, SDO, SCK, and SS pins as serial port pins. For the
pins to behave as the serial port function, they must have their data direction bits (in the TRIS
register) appropriately programmed. That is:
• SDI must have the TRIS bit set
• SDO must have the TRIS bit cleared
• SCK (Master mode) must have the TRIS bit cleared
• SCK (Slave mode) must have the TRIS bit set
• SS must have the TRIS bit set
Any serial port function that is not desired may be overridden by programming the corresponding
data direction (TRIS) register to the opposite value. An example would be in master mode where
you are only sending data (to a display driver), then both SDI and SS could be used as general
purpose outputs by clearing their corresponding TRIS register bits.
1997 Microchip Technology Inc.

Related parts for PIC12CE518-04I/P