PIC16F690-E/ML Microchip Technology, PIC16F690-E/ML Datasheet - Page 178

IC, 8BIT MCU, PIC16F, 20MHZ, QFN-20

PIC16F690-E/ML

Manufacturer Part Number
PIC16F690-E/ML
Description
IC, 8BIT MCU, PIC16F, 20MHZ, QFN-20
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F690-E/ML

Controller Family/series
PIC16F
No. Of I/o's
18
Eeprom Memory Size
256Byte
Ram Memory Size
256Byte
Cpu Speed
20MHz
No. Of Timers
3
Core Size
8 Bit
Program Memory Size
4096 Words
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-VQFN Exposed Pad, 20-HVQFN, 20-SQFN, 20-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20QFN-1 - SOCKET TRANSITION 20DIP-20QFNAC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNPIC16F690DM-PCTLHS - BOARD DEMO PICTAIL HUMIDITY SNSRAC162061 - HEADER INTRFC MPLAB ICD2 20PIN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC16F631/677/685/687/689/690
12.4.2.3
The operation of the Synchronous Master and Slave
modes is identical (Section 12.4.1.5 “Synchronous
Master Reception”), with the following exceptions:
• 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 12-10: REGISTERS ASSOCIATED WITH SYNCHRONOUS SLAVE RECEPTION
DS41262E-page 176
BAUDCTL ABDOVF
INTCON
PIE1
PIR1
RCREG
RCSTA
SPBRG
SPBRGH
TRISB
TXREG
TXSTA
Legend:
never Idle
Name
x = unknown, – = unimplemented read as ‘0’. Shaded cells are not used for Synchronous Slave Reception.
EUSART Receive Data Register
EUSART Transmit Data Register
TRISB7
BRG15
SPEN
BRG7
CSRC
EUSART Synchronous Slave
Reception
Bit 7
GIE
TRISB6
BRG14
RCIDL
BRG6
PEIE
ADIE
ADIF
Bit 6
RX9
TX9
TRISB5
BRG13
SREN
BRG5
TXEN
RCIE
RCIF
Bit 5
T0IE
TRISB4
BRG12
CREN
SYNC
SCKP
BRG4
INTE
Bit 4
TXIE
TXIF
ADDEN
SENDB
BRG16
BRG11
RABIE
SSPIE
SSPIF
BRG3
Bit 3
CCP1IE
CCP1IF
BRG10
FERR
BRGH
BRG2
12.4.2.4
1.
2.
3.
4.
5.
6.
7.
8.
Bit 2
T0IF
Set the SYNC and SPEN bits and clear the
CSRC bit.
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.
TMR2IE
TMR2IF
OERR
TRMT
BRG1
BRG9
WUE
Bit 1
INTF
Synchronous Slave Reception
Set-up:
TMR1IE
TMR1IF
ABDEN
RABIF
RX9D
BRG0
BRG8
TX9D
Bit 0
© 2008 Microchip Technology Inc.
01-0 0-00
0000 000x
-000 0000
-000 0000
0000 0000
0000 000x
0000 0000
0000 0000
1111 ----
0000 0000
0000 0010
POR, BOR
Value on
01-0 0-00
0000 000x
-000 0000
-000 0000
0000 0000
0000 000x
0000 0000
0000 0000
1111 ----
0000 0000
0000 0010
Value on
all other
Resets

Related parts for PIC16F690-E/ML