PIC16LF1847-E/ML Microchip Technology, PIC16LF1847-E/ML Datasheet - Page 313

14 KB Flash, 1K Bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core, Nan

PIC16LF1847-E/ML

Manufacturer Part Number
PIC16LF1847-E/ML
Description
14 KB Flash, 1K Bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core, Nan
Manufacturer
Microchip Technology
Series
PIC® XLP™ mTouch™ 16Fr
Datasheet

Specifications of PIC16LF1847-E/ML

Core Processor
PIC
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
15
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-VQFN Exposed Pad
Core
PIC
Processor Series
PIC16LF
Data Bus Width
8 bit
Maximum Clock Frequency
32 MHz
Data Ram Size
256 B
Number Of Programmable I/os
15
Number Of Timers
ÿ4 x 8-bit, 1 x 16-bit
Operating Supply Voltage
1.8 V to 5.5 V
Mounting Style
Through Hole
Interface Type
SPI, I2C
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
26.4.2
The following bits are used to configure the EUSART
for Synchronous slave operation:
• SYNC = 1
• CSRC = 0
• SREN = 0 (for transmit); SREN = 1 (for receive)
• CREN = 0 (for transmit); CREN = 1 (for receive)
• SPEN = 1
Setting the SYNC bit of the TXSTA register configures the
device for synchronous operation. Clearing the CSRC bit
of the TXSTA register configures the device as a slave.
Clearing the SREN and CREN bits of the RCSTA register
ensures that the device is in the Transmit mode,
otherwise the device will be configured to receive. Setting
the SPEN bit of the RCSTA register enables the
EUSART.
26.4.2.1
The operation of the Synchronous Master and Slave
modes
“Synchronous Master
case of the Sleep mode.
TABLE 26-9:
 2011 Microchip Technology Inc.
APFCON0
APFCON1
BAUDCON
INTCON
PIE1
PIR1
RCSTA
TRISB
TXREG
TXSTA
Legend:
Name
*
are
— = unimplemented location, read as ‘0’. Shaded cells are not used for Synchronous Slave Transmission.
Page provides register information.
SYNCHRONOUS SLAVE MODE
EUSART Synchronous Slave
Transmit
RXDTSEL
TMR1GIE
TMR1GIF
ABDOVF
TRISB7
CSRC
SPEN
Bit 7
identical
GIE
SUMMARY OF REGISTERS ASSOCIATED WITH SYNCHRONOUS SLAVE
TRANSMISSION
Transmission”), except in the
SDO1SEL
TRISB6
RCIDL
PEIE
ADIE
ADIF
Bit 6
RX9
TX9
(see
Section 26.4.1.3
SS1SEL
TMR0IE
TRISB5
SREN
TXEN
RCIE
RCIF
Bit 5
EUSART Transmit Data Register
P2BSEL
TRISB4
Preliminary
CREN
SYNC
SCKP
Bit 4
INTE
TXIE
TXIF
CCP2SEL
SSP1IE
SSP1IF
ADDEN
TRISB3
SENDB
BRG16
IOCE
If two words are written to the TXREG and then the
SLEEP instruction is executed, the following will occur:
1.
2.
3.
4.
5.
26.4.2.2
1.
2.
3.
4.
5.
6.
7.
8.
Bit 3
The first character will immediately transfer to
the TSR register and transmit.
The second word will remain in TXREG register.
The TXIF bit will not be set.
After the first character has been shifted out of
TSR, the TXREG register will transfer the second
character to the TSR and the TXIF bit will now be
set.
If the PEIE and TXIE bits are set, the interrupt
will wake the device from Sleep and execute the
next instruction. If the GIE bit is also set, the
program will call the Interrupt Service Routine.
Set the SYNC and SPEN bits and clear the
CSRC bit.
Clear the ANSEL bit for the CK pin (if applicable).
Clear the CREN and SREN bits.
If interrupts are desired, set the TXIE bit of the
PIE1 register and the GIE and PEIE bits of the
INTCON register.
If 9-bit transmission is desired, set the TX9 bit.
Enable transmission by setting the TXEN bit.
If 9-bit transmission is selected, insert the Most
Significant bit into the TX9D bit.
Start
Significant 8 bits to the TXREG register.
P1DSEL
TMR0IF
CCP1IE
CCP1IF
TRISB2
BRGH
FERR
transmission
Bit 2
Synchronous Slave Transmission
Set-up:
PIC16(L)F1847
P1CSEL
TMR2IE
TMR2IF
TRISB1
OERR
TRMT
WUE
INTF
Bit 1
by
writing
CCP1SEL
TXCKSEL
TMR1IE
TMR1IF
TRISB0
ABDEN
RX9D
TX9D
IOCF
Bit 0
DS41453B-page 315
the
Register
on Page
291*
Least
120
120
300
299
127
298
89
90
94

Related parts for PIC16LF1847-E/ML