PIC12C672-10/P Microchip Technology, PIC12C672-10/P Datasheet - Page 357

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC

PIC12C672-10/P

Manufacturer Part Number
PIC12C672-10/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C672-10/P

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
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
0°C ~ 70°C
Package / Case
8-DIP (0.300", 7.62mm)
Processor Series
PIC12C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
10 MHz
Number Of Programmable I/os
5
Number Of Timers
1
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
On-chip Adc
8 bit, 4 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
18.7
1997 Microchip Technology Inc.
Initialization
Example 18-2
Example 18-3
load into the SPBRG register is dependent on the desired baud rate and the device frequency.
Example 18-2:
Example 18-3:
BSF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
BSF
BCF
MOVLW
MOVWF
BSF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
BSF
BCF
MOVLW
MOVWF
STATUS,RP0
<baudrate>
SPBRG
0x40
TXSTA
PIE1,TXIE
PIE1,RCIE
STATUS,RP0
0x90
RCSTA
STATUS,RP0
<baudrate>
SPBRG
0xB0
TXSTA
PIE1,TXIE
PIE1,RCIE
STATUS,RP0
0x90
RCSTA
is for the synchronous mode. In both examples the data is 8-bits, and the value to
is an initialization routine for asynchronous Transmitter/Receiver mode.
Asynchronous Transmitter/Receiver
Synchronous Transmitter/Receiver
; Go to Bank1
; Set Baud rate
; 8-bit transmit, transmitter enabled,
; asynchronous mode, low speed mode
; Enable transmit interrupts
; Enable receive interrupts
; Go to Bank 0
; 8-bit receive, receiver enabled,
; serial port enabled
; Go to Bank 1
; Set Baud Rate
; Synchronous Master,8-bit transmit,
; transmitter enabled, low speed mode
; Enable transmit interrupts
; Enable receive interrupts
; Go to Bank 0
; 8-bit receive, receiver enabled,
; continuous receive, serial port enabled
Section 18. USART
DS31018A-page 18-21
18

Related parts for PIC12C672-10/P