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

no-image

PIC12C671-10/P

Manufacturer Part Number
PIC12C671-10/P
Description
IC MCU OTP 1KX14 A/D 8DIP
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C671-10/P

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
10MHz
Peripherals
POR, WDT
Number Of I /o
5
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)
Controller Family/series
PIC12
No. Of I/o's
6
Ram Memory Size
128Byte
Cpu Speed
10MHz
No. Of Timers
1
Digital Ic Case Style
DIP
Package
8PDIP
Device Core
PIC
Family Name
PIC12
Maximum Speed
10 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
5
On-chip Adc
4-chx8-bit
Number Of Timers
1
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
Lead free / RoHS Compliant, Lead free / RoHS Compliant
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 PIC12C671-10/P