PIC18F65J11-I/PT Microchip Technology, PIC18F65J11-I/PT Datasheet - Page 257

IC PIC MCU FLASH 16KX16 64TQFP

PIC18F65J11-I/PT

Manufacturer Part Number
PIC18F65J11-I/PT
Description
IC PIC MCU FLASH 16KX16 64TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F65J11-I/PT

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
51
Program Memory Type
FLASH
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Controller Family/series
PIC18
No. Of I/o's
52
Ram Memory Size
2048Byte
Cpu Speed
40MHz
No. Of Timers
4
Interface
I2C, SPI, USART
Package
64TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
2.5|3.3 V
Data Bus Width
8 Bit
Number Of Programmable I/os
52
Interface Type
I2C/SPI/USART
On-chip Adc
12-chx10-bit
Number Of Timers
4
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA180018 - MODULE PLUG-IN 18F85J11AC162079 - HEADER MPLAB ICD2 18F85J90 64/80AC164327 - MODULE SKT FOR 64TQFP
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F65J11-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
19.5
Synchronous Slave mode is entered by clearing bit,
CSRC (TXSTA2<7>). This mode differs from the
Synchronous Master mode in that the shift clock is
supplied externally at the CK2 pin (instead of being
supplied internally in Master mode). This allows the
device to transfer or receive data while in any
low-power mode.
19.5.1
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 TXREG2 and then the
SLEEP instruction is executed, the following will occur:
a)
b)
c)
d)
e)
TABLE 19-8:
 2010 Microchip Technology Inc.
INTCON
PIR3
PIE3
IPR3
RCSTA2
TXREG2
TXSTA2
SPBRG2
LATG
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used for synchronous slave transmission.
Name
The first word will immediately transfer to the
TSR register and transmit.
The second word will remain in the TXREG2
register.
Flag bit, TX2IF, will not be set.
When the first word has been shifted out of TSR,
the TXREG2 register will transfer the second
word to the TSR and flag bit, TX2IF, will now be
set.
If enable bit, TX2IE, is set, the interrupt will wake
the chip from Sleep. If the global interrupt is
enabled, the program will branch to the interrupt
vector.
AUSART Synchronous Slave Mode
AUSART SYNCHRONOUS
SLAVE TRANSMIT
AUSART Transmit Register
AUSART Baud Rate Generator Register
GIE/GIEH PEIE/GIEL
CSRC
U2OD
SPEN
Bit 7
REGISTERS ASSOCIATED WITH SYNCHRONOUS SLAVE TRANSMISSION
U1OD
Bit 6
RX9
TX9
TMR0IE
RC2IF
RC2IE
RC2IP
SREN
TXEN
Bit 5
INT0IE
LATG4
TX2IE
TX2IP
CREN
SYNC
TX2IF
Bit 4
PIC18F85J11 FAMILY
ADDEN
To set up a Synchronous Slave Transmission:
1.
2.
3.
4.
5.
6.
7.
8.
LATG3
RBIE
Bit 3
Enable the synchronous slave serial port by
setting bits, SYNC and SPEN, and clearing bit,
CSRC.
Clear bits, CREN and SREN.
If interrupts are desired, set enable bit, TX2IE.
If 9-bit transmission is desired, set bit, TX9.
Enable the transmission by setting enable bit,
TXEN.
If 9-bit transmission is selected, the ninth bit
should be loaded in bit, TX9D.
Start transmission by loading data to the
TXREG2 register.
If using interrupts, ensure that the GIE and PEIE
bits in the INTCON register (INTCON<7:6>) are
set.
TMR0IF
CCP2IF
CCP2IE
CCP2IP
LATG2
BRGH
FERR
Bit 2
CCP1IF
CCP1IE
CCP1IP
INT0IF
LATG1
OERR
TRMT
Bit 1
LATG0
RX9D
TX9D
DS39774D-page 257
RBIF
Bit 0
on page
Values
Reset
57
59
59
59
61
61
61
60
61

Related parts for PIC18F65J11-I/PT