PIC17LC756A-08I/PT Microchip Technology, PIC17LC756A-08I/PT Datasheet - Page 94

IC MCU OTP 16KX16 A/D 64TQFP

PIC17LC756A-08I/PT

Manufacturer Part Number
PIC17LC756A-08I/PT
Description
IC MCU OTP 16KX16 A/D 64TQFP
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Datasheets

Specifications of PIC17LC756A-08I/PT

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Oscillator Type
External
Core Processor
PIC
Speed
8MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
50
Program Memory Type
OTP
Ram Size
902 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 12x10b
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Controller Family/series
PIC17
No. Of I/o's
50
Ram Memory Size
902Byte
Cpu Speed
33MHz
No. Of Timers
4
No. Of Pwm
RoHS Compliant
Processor Series
PIC17LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
902 B
Interface Type
I2C, MSSP, RS- 232, SCI, SPI, USART
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
50
Number Of Timers
8
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
PIC17LC756A-08IPT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17LC756A-08I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC17LC756A-08I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC17C7XX
10.10.2
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
(Figure 10-20). Therefore, care 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 depen-
dent) before executing the instruction that reads the
values on that I/O port. 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 10-20:
FIGURE 10-21:
DS30289B-page 94
PIC17CXXX
Note 1: This is not a capacitor to ground, but the effective
Instruction
Instruction
RB7:RB0
Executed
Fetched
SUCCESSIVE OPERATIONS ON I/O
PORTS
capacitive loading on the trace.
I/O
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
MOVWF PORTB
write to
PORTB
SUCCESSIVE I/O OPERATION
I/O CONNECTION ISSUES
PC
C
(1)
MOVF PORTB,W
MOVWF PORTB
PORTx, PINy
write to
PORTB
PC + 1
V
IL
MOVF PORTB,W
Port pin
sampled here
BSF PORTx, PINy
Q2
PC + 2
NOP
Q3
Figure 10-21 shows the I/O model which causes this
situation. As the effective capacitance (C) becomes
larger, the rise/fall time of the I/O pin increases. As the
device frequency increases, or the effective capaci-
tance 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 a 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.
Q4
PC + 3
NOP
NOP
Read PORTx, PINy as low
BSF PORTx, PINz clears the value
to be driven on the PORTx, PINy pin.
Q1
BSF PORTx, PINz
Note:
This example shows a write to PORTB,
followed by a read from PORTB.
Note that:
data setup time = (0.25T
where
Therefore, at higher clock frequencies, a
write followed by a read may be problematic.
Q2
T
T
2000 Microchip Technology Inc.
CY
PD
= instruction cycle
= propagation delay
Q3
Q4
CY
- T
PD
)
Q1

Related parts for PIC17LC756A-08I/PT