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

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
17.1.3.1
Pulse-width measurement accuracy can only be
ensured when the pulse-width high and low present on
the CAPx input exceeds one T
limitations depend on the mode selected:
• When CAPxM<3:0> = 0110 (rising to falling edge
• When CAPxM<3:0> = 0111 (falling to rising edge
FIGURE 17-6:
DS39616D-page 158
delay), the CAPx input high pulse width (T
must exceed T
delay), the CAPx input low pulse width (T
must exceed T
Note 1: TMR5 can be selected as the time base for input capture. The time base can be optionally reset when the Capture
Note 1: The Period Measurement mode will
2: Detailed CAPxBUF event timing (all modes reflect the same capture and Reset timing) is shown in
2: The Pulse-Width Measurement mode will
CAP1
CAP2
CAP3
Time Base
CAP1BUF
CAP2BUF
CAP3BUF
Time Base Reset
Reset Enable bit is set (CAPxREN = 1).
are six commutation BLDC Hall effect sensor states shown. The other two remaining states (i.e., 000h and 111h) are
invalid in the normal operation. They remain to be decoded by the CPU firmware in BLDC motor application.
produce valid results upon sampling of the
second rising edge of the input capture.
CAPxBUF values latched during the first
active edge after initialization are invalid.
latch the value of the timer upon sampling
of the first input signal edge by the input
capture.
Pulse-Width Measurement Timing
CY
CY
(2)
(2)
(2)
(1)
+ 10 ns.
+ 10 ns.
0FFFh
0000h
INPUT CAPTURE ON STATE CHANGE (HALL EFFECT SENSOR MODE)
(1)
CY
1
0
1
clock cycle. The
1
0
0
CC
CC
L)
H)
1
1
0
0
1
0
0
1
1
17.1.4
When CAPxM<3:0> = 1000, the value is captured on
every signal change on the CAPx input. If all three
capture channels are configured in this mode, the three
input captures can be used as the Hall effect sensor
state transition detector. The value of Timer5 can be
captured, Timer5 reset and the interrupt generated.
Any change on CAP1, CAP2 or CAP3 is detected and
the associated time base count is captured.
For position and velocity measurement in this mode,
the timer can be optionally reset (see
“Timer5 Reset”
0
0
1
INPUT CAPTURE ON STATE
CHANGE
for Reset options).
 2010 Microchip Technology Inc.
Figure
Section 17.1.6
17-4. There

Related parts for PIC18F4431-E/ML