PIC12C672-10/SM Microchip Technology, PIC12C672-10/SM Datasheet - Page 355

no-image

PIC12C672-10/SM

Manufacturer Part Number
PIC12C672-10/SM
Description
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C672-10/SM

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-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
For Use With
XLT08SO-1 - SOCKET TRANSITION 8SOIC 150/208AC164312 - MODULE SKT FOR PM3 16SOICISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1048 - ADAPTER 8-SOIC TO 8-DIP309-1047 - ADAPTER 8-SOIC TO 8-DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Other names
PIC12C672-10/SMR
PIC12C672-10/SMR
18.6
18.6.1
PIR
RCSTA
TXREG
PIE
TXSTA
SPBRG Baud Rate Generator Register
Legend: x = unknown, - = unimplemented read as '0'.
Note 1: The position of this bit is device dependent.
Name
1997 Microchip Technology Inc.
Shaded cells are not used for Synchronous Slave Transmission.
USART Synchronous Slave Transmit
USART Synchronous Slave Mode
CSRC
SPEN
Bit 7
TX7
Synchronous slave mode differs from the Master mode in the fact that the shift clock is supplied
externally at the TX/CK pin (instead of being supplied internally in master mode). This allows the
device to transfer or receive data while in SLEEP mode. Slave mode is entered by clearing the
CSRC bit (TXSTA<7>).
The operation of the synchronous master and slave modes are identical except in the case of the
SLEEP mode.
If two words are written to the TXREG and then the SLEEP instruction is executed, the following
will occur:
a)
b)
c)
d)
e)
Steps to follow when setting up a Synchronous Slave Transmission:
1.
2.
3.
4.
5.
6.
7.
Table 18-10: Registers Associated with Synchronous Slave Transmission
Bit 6
RX9
TX6
TX9
The first word will immediately transfer to the TSR register and transmit.
The second word will remain in TXREG register.
The TXIF flag bit will not be set.
When the first word has been shifted out of TSR, the TXREG register will transfer the sec-
ond word to the TSR and the TXIF flag bit will now be set.
If the TXIE enable bit is set, the interrupt will wake the chip from SLEEP and if the global
interrupt is enabled, the program will branch to the interrupt vector (0004h).
Enable the synchronous slave serial port by setting the SYNC and SPEN bits and clearing
the CSRC bit.
Clear the CREN and SREN bits.
If interrupts are desired, then set the TXIE enable bit.
If 9-bit transmission is desired, then set the TX9 bit.
Enable the transmission by setting the TXEN enable bit.
If 9-bit transmission is selected, the ninth bit should be loaded into the TX9D bit.
Start transmission by loading data to the TXREG register.
SREN CREN
TXEN SYNC
Bit 5
TX5
Bit 4
TX4
TXIE
TXIF
Bit 3
TX3
(1)
(1)
BRGH
FERR
Bit 2
TX2
Section 18. USART
OERR
TRMT
Bit 1
TX1
RX9D
TX9D
Bit 0
TX0
0000 -00x
0000 0000
0000 -010
0000 0000
Value on:
POR,
BOR
0
0
DS31018A-page 18-19
other Resets
Value on all
0000 -00x
0000 0000
0000 -010
0000 0000
0
0
18

Related parts for PIC12C672-10/SM