PIC16F88-I/ML Microchip Technology, PIC16F88-I/ML Datasheet - Page 155

IC MCU FLASH 4KX14 EEPROM 28QFN

PIC16F88-I/ML

Manufacturer Part Number
PIC16F88-I/ML
Description
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F88-I/ML

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
SSP, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNAC164322 - MODULE SOCKET MPLAB PM3 28/44QFNAC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Lead Free Status / Rohs Status
 Details
9.10.2
1997 Microchip Technology Inc.
Note:
PIC16CXXX
Successive Operations on an I/O Port
This is not a capacitor to ground, but the effective capac-
itive loading on the trace.
I/O
The actual write to an I/O port happens at the end of an instruction cycle, whereas for reading,
the data must be valid at the beginning of the instruction cycle
must be exercised if a write followed by a read operation is carried out on the same I/O port. The
sequence of instructions should be such to allow the pin voltage to stabilize (load dependent)
before the next instruction which causes that file to be read into the CPU is executed. Otherwise,
the previous state of that pin may be read into the CPU rather than the new state. When in doubt,
it is better to separate these instructions with a NOP or another instruction not accessing this I/O
port.
Figure 9-12: Successive I/O Operation
Figure 9-13
becomes larger, the rise/fall time of the I/O pin increases. As the device frequency increases or
the effective capacitance increases, the possibility of this subsequent PORTx read-modify-write
instruction issue increases. This effective capacitance includes the effects of the board traces.
The best way to address this is to add an series resistor at the I/O pin. This resistor allows the
I/O pin to get to the desired level before the next instruction.
The use of NOP instructions between the subsequent PORTx read-modify-write instructions, is a
lower cost solution, but has the issue that the number of NOP instructions is dependent on the
effective capacitance C and the frequency of the device.
Figure 9-13: I/O Connection Issues
This example shows a write to PORTB followed by a read from PORTB.
Instruction
Instruction
Note:
RB7:RB0
executed
C
fetched
(1)
shows the I/O model which causes this situation. As the effective capacitance (C)
PORTx, PINy
PC
Data setup time = (0.25T
whereT
T
Therefore, at higher clock frequencies, a write followed by a read may be
problematic due to external capacitance.
PD
Q1
MOVWF PORTB
= propagation delay
write to
PORTB
CY
Q2
PC
V
IL
= instruction cycle
Q3 Q4
BSF PORTx, PINy
Q2
MOVF PORTB,W
MOVWF PORTB
Q1
Q3
write to
PORTB
CY
Q2
PC + 1
Section 9. I/O Ports
- T
Q4
Q3 Q4
PD
Read PORTx, PINy as low
)
BSF PORTx, PINz clears the value
to be driven on the PORTx, PINy pin.
Q1
T
Q1
MOVF PORTB,W
PD
BSF PORTx, PINz
Port pin
sampled here
Q2
NOP
PC + 2
Q2
Q3 Q4
(Figure
Q3
9-12). Therefore, care
Q1
DS31009A-page 9-15
Q4
Q2
PC + 3
NOP
NOP
Q3 Q4
Q1
9

Related parts for PIC16F88-I/ML