PIC12F1840T-I/SN Microchip Technology, PIC12F1840T-I/SN Datasheet - Page 293

no-image

PIC12F1840T-I/SN

Manufacturer Part Number
PIC12F1840T-I/SN
Description
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 SOI
Manufacturer
Microchip Technology
Series
PIC® XLP™ 12Fr
Datasheet

Specifications of PIC12F1840T-I/SN

Core Processor
RISC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
5
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (0.154", 3.90mm Width)
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F1840T-I/SN
Manufacturer:
MICROCHIP
Quantity:
3 000
Company:
Part Number:
PIC12F1840T-I/SNVAO
Quantity:
32
26.4.2.3
The operation of the Synchronous Master and Slave
modes is identical
Master
• Sleep
• CREN bit is always set, therefore the receiver is
• SREN bit, which is a “don’t care” in Slave mode
A character may be received while in Sleep mode by
setting the CREN bit prior to entering Sleep. Once the
word is received, the RSR register will transfer the data
to the RCREG register. If the RCIE enable bit is set, the
interrupt generated will wake the device from Sleep
and execute the next instruction. If the GIE bit is also
set, the program will branch to the interrupt vector.
TABLE 26-10: SUMMARY OF REGISTERS ASSOCIATED WITH SYNCHRONOUS SLAVE
 2011 Microchip Technology Inc.
BAUDCON
INTCON
PIE1
PIR1
RCREG
RCSTA
TXSTA
Legend: — = unimplemented location, read as ‘0’. Shaded cells are not used for Synchronous Slave Reception.
never Idle
Name
Reception”), with the following exceptions:
*
Page provides register information.
EUSART Synchronous Slave
Reception
TMR1GIE
TMR1GIF
ABDOVF
CSRC
SPEN
Bit 7
RECEPTION
GIE
(Section 26.4.1.5 “Synchronous
RCIDL
ADIE
PEIE
ADIF
Bit 6
RX9
TX9
TMR0IE
SREN
TXEN
RCIE
RCIF
Bit 5
EUSART Receive Data Register
Preliminary
CREN
SCKP
SYNC
INTE
Bit 4
TXIE
TXIF
ADDEN
SENDB
BRG16
SSPIE
SSPIF
IOCIE
26.4.2.4
1.
2.
3.
4.
5.
6.
7.
8.
9.
Bit 3
Set the SYNC and SPEN bits and clear the
CSRC bit.
Clear the ANSEL bit for both the CK and DT pins
(if applicable).
If interrupts are desired, set the RCIE bit of the
PIE1 register and the GIE and PEIE bits of the
INTCON register.
If 9-bit reception is desired, set the RX9 bit.
Set the CREN bit to enable reception.
The RCIF bit will be set when reception is
complete. An interrupt will be generated if the
RCIE bit was set.
If 9-bit mode is enabled, retrieve the Most
Significant bit from the RX9D bit of the RCSTA
register.
Retrieve the 8 Least Significant bits from the
receive FIFO by reading the RCREG register.
If an overrun error occurs, clear the error by
either clearing the CREN bit of the RCSTA
register or by clearing the SPEN bit which resets
the EUSART.
TMR0IF
CCP1IE
CCP1IF
BRGH
FERR
Bit 2
Synchronous Slave Reception
Set-up:
PIC12(L)F1840
TMR2IE
TMR2IF
OERR
TRMT
WUE
Bit 1
INTF
TMR1IE
TMR1IF
ABDEN
IOCIF
RX9D
TX9D
Bit 0
DS41441B-page 293
Register
on Page
272*
278
277
276
83
84
86

Related parts for PIC12F1840T-I/SN