PIC18F4431-E/ML Microchip Technology, PIC18F4431-E/ML Datasheet - Page 8

IC MCU FLASH 8KX16 44QFN

PIC18F4431-E/ML

Manufacturer Part Number
PIC18F4431-E/ML
Description
IC MCU FLASH 8KX16 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4431-E/ML

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 9x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18F2331/2431/4331/4431
2.6
The SCLK pin is used as a clock input pin and the
SDATA pin is used for entering command bits and data
input/output during serial operation. Commands and
data are transmitted on the rising edge of SCLK,
latched on the falling edge of SCLK, and are Least
Significant bit (LSb) first.
2.6.1
All instructions are 20 bits, consisting of a leading 4-bit
command followed by a 16-bit operand, which depends
on the type of command being executed. To input a
command, SCLK is cycled four times. The commands
needed for programming and verification are shown in
Table 2-3.
Depending on the 4-bit command, the 16-bit operand
represents 16 bits of input data, or 8 bits of input data
and 8 bits of output data.
Throughout this specification, commands and data are
presented as illustrated in Table 2-4. The 4-bit
command is shown MSb first. The command operand,
or “Data Payload”, is shown <MSB><LSB>. Figure 2-9
demonstrates how to serially present a 20-bit
command/operand to the device.
2.6.2
The core instruction passes a 16-bit instruction to the
CPU core for execution. This is needed to setup
registers as appropriate for use with other commands.
FIGURE 2-9:
DS30500B-page 8
SCLK
SDATA
Serial Program/Verify Operation
4-BIT COMMANDS
CORE INSTRUCTION
P3
4-bit Command
1
P2
1
2
P4
0
TABLE WRITE, POST-INCREMENT TIMING (1101)
3
1
4
1
P2A
P5
P2B
1
0
2
0
0
3
0
4
0
5
0
SDATA = Input
6
0
16-bit Data Payload
4
7
1
8
0
TABLE 2-3:
TABLE 2-4:
Core Instruction
(Shift in16-bit instruction)
Shift out TABLAT register
Table Read
Table Read, post-increment
Table Read, post-decrement
Table Read, pre-increment
Table Write
Table Write, post-increment by 2
Table Write, post-decrement by 2
Table Write, start programming
9
Command
0
10
1101
4-Bit
0
C
11
1
12
1
Description
13
Payload
1
3C 40
Data
14
COMMANDS FOR
PROGRAMMING
SAMPLE COMMAND
SEQUENCE
1
3
15
0
 2010 Microchip Technology Inc.
16
Table Write,
post-increment by 2
0
P5A
Fetch Next 4-bit Command
Core Instruction
1
n
2
n
3
n
Command
4
0000
0010
1000
1001
1010
1011
1100
1101
1110
1111
4-Bit
n

Related parts for PIC18F4431-E/ML