PIC12C672-04E/MF Microchip Technology, PIC12C672-04E/MF Datasheet - Page 257
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12C672-04E/MF
Manufacturer Part Number
PIC12C672-04E/MF
Description
IC PIC MCU 2KX14 8DFN
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets
1.PIC16F688T-ISL.pdf
(688 pages)
2.PIC12CE673-10P.pdf
(129 pages)
3.PIC12CE673-10P.pdf
(14 pages)
Specifications of PIC12C672-04E/MF
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
8-DFN
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNXLT08DFN2 - SOCKET TRANSITION ICE 14DIP/8DFNXLT08DFN - SOCKET TRANSITION ICE 8DFNAC164032 - ADAPTER PICSTART PLUS 8DFN/DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
- Current page: 257 of 688
- Download datasheet (3Mb)
1997 Microchip Technology Inc.
The SSP consists of a transmit/receive Shift Register (SSPSR) and a Buffer register (SSPBUF).
The SSPSR shifts the data in and out of the device, MSB first. The SSPBUF holds the data that
was previously written to the SSPSR, until the received data is ready. Once the 8-bits of data
have been received, that information is moved to the SSPBUF register. Then the buffer full detect
bit, BF (SSPSTAT <0>), and interrupt flag bit, SSPIF, are set. This double buffering of the received
data (SSPBUF) allows the next byte to start reception before reading the data that was received.
Any write to the SSPBUF register during transmission/reception of data will be ignored, and the
write collision detect bit, WCOL (SSPCON<7>), will be set. User software must clear the WCOL
bit so that it can be determined if the following write(s) to the SSPBUF register completed suc-
cessfully. When the application software is expecting to receive valid data, the SSPBUF should
be read before the next byte of data to transfer is written to the SSPBUF. Buffer full bit, BF (SSP-
STAT<0>), indicates when SSPBUF has been loaded with the received data (transmission is
complete). When the SSPBUF is read, the BF bit is cleared. This data may be irrelevant if the SPI
is only a transmitter. Generally the SSP Interrupt is used to determine when the transmis-
sion/reception has completed. The SSPBUF can then be read (if data is meaningful) and/or the
SSPBUF (SSPSR) can be written. If the interrupt method is not going to be used, then software
polling can be done to ensure that a write collision does not occur.
ing of the SSPBUF (SSPSR) for data transmission. The shaded instruction is only required if the
received data is meaningful (some SPI applications are transmit only).
Example 16-1: Loading the SSPBUF (SSPSR) Register
The SSPSR is not directly readable or writable, and can only be accessed from addressing the
SSPBUF register. Additionally, the SSP status register (SSPSTAT) indicates the various status
conditions.
LOOP BTFSS SSPSTAT, BF
BCF
BSF
GOTO
BCF
MOVF
MOVWF RXDATA
MOVF
MOVWF SSPBUF
STATUS, RP1
STATUS, RP0
LOOP
STATUS, RP0
SSPBUF, W
TXDATA, W
;Specify Bank1
;
;Has data been received (transmit complete)?
;No
;Specify Bank0
;W reg = contents of SSPBUF
;Save in user RAM, if data is meaningful
;W reg = contents of TXDATA
;New data to xmit
Section 16. BSSP
Example 16-1
DS31016A-page 16-7
shows the load-
16
Related parts for PIC12C672-04E/MF
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC12C672-04/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10E/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10E/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672/JW](/photos/12/43/124388/pic12c672_jw_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 2KX14 A/D 8CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet: