Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

PIC18F4331 Datasheet(PDF) 168 Page - Microchip Technology

No. de pieza PIC18F4331
Descripción Electrónicos  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PDF  396 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MICROCHIP [Microchip Technology]
Página de inicio  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4331 Datasheet(HTML) 168 Page - Microchip Technology

Back Button PIC18F4331 Datasheet HTML 164Page - Microchip Technology PIC18F4331 Datasheet HTML 165Page - Microchip Technology PIC18F4331 Datasheet HTML 166Page - Microchip Technology PIC18F4331 Datasheet HTML 167Page - Microchip Technology PIC18F4331 Datasheet HTML 168Page - Microchip Technology PIC18F4331 Datasheet HTML 169Page - Microchip Technology PIC18F4331 Datasheet HTML 170Page - Microchip Technology PIC18F4331 Datasheet HTML 171Page - Microchip Technology PIC18F4331 Datasheet HTML 172Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 168 / 396 page
background image
PIC18F2331/2431/4331/4431
DS39616B-page 166
Preliminary
 2003 Microchip Technology Inc.
16.1.3.1
Pulse Width Measurement Timing
Pulse width measurement accuracy can be only
ensured when the pulse width high and low present on
CAPx input exceeds one TCY clock cycle. The
limitations depend on the mode selected:
• When CAPxM3:CAPxM0 = 0110 (rising-to-falling
edge delay), the CAPx input high pulse width
(TccH) must exceed TCY + 10 ns.
• When CAPxM3:CAPxM0 = 0111 (falling-to-rising
edge delay), the CAPx input low pulse width
(TccL) must exceed TCY + 10 ns.
16.1.4
INPUT CAPTURE ON STATE
CHANGE
When CAPxM3:CAPxM0 = 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-capture 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 Section 16.1.6
“Timer5 Reset” for Reset options).
FIGURE 16-6:
INPUT CAPTURE ON STATE CHANGE (HALL-EFFECT SENSOR MODE)
Note 1: The Period Measurement mode will
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.
2: The Pulse Width Measurement mode will
latch the value of the timer upon sampling
of the first input signal edge by the input
capture.
CAP2
CAP1
CAP3
Time Base(1)
CAP1BUF(2)
CAP2BUF(2)
CAP3BUF(2)
0FFFh
0000h
Time Base Reset(1)
1
0
1
1
0
0
1
1
0
0
1
0
0
1
1
0
0
1
Note 1:
TMR5 can be selected as the time base for input capture. Time base can be optionally reset when the capture reset
enabled bit is set (CAPXREN = 1).
2:
Detailed CAPxBUF event timing (all modes reflect same capture and Reset timing) is shown in Figure 16-4.There 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 are still to be decoded by the CPU firmware in BLDC motor application.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com