lpc2939fbd208 NXP Semiconductors, lpc2939fbd208 Datasheet - Page 49
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
lpc2939fbd208
Manufacturer Part Number
lpc2939fbd208
Description
Arm9 Microcontroller With Can, Lin, And Usb
Manufacturer
NXP Semiconductors
Datasheet
1.LPC2939FBD208.pdf
(98 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LPC2939FBD208
Manufacturer:
NXP
Quantity:
105 000
Company:
Part Number:
lpc2939fbd208,551
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
LPC2939_1
Preliminary data sheet
6.15.6.1 Pin description
6.15.6.2 Clock description
6.15.7 Quadrature Encoder Interface (QEI)
MSCSS timer 0 has no external pins.
MSCSS timer 1 has a PAUSE pin available as external pin. The PAUSE pin is combined
with other functions on the port pins of the LPC2939.
external pin.
Table 25.
The Timer modules in the MSCSS are clocked by CLK_MSCSS_MTMRx (x = 0 to 1), see
Section
power management. The frequency of all these clocks is identical to CLK_MSCSS_APB
since they are derived from the same base clock BASE_MSCSS_CLK.
Note that, unlike the timer modules in the Peripheral SubSystem, the actual timer counter
registers run at the same clock as the APB system interface CLK_MSCSS_APB. This
clock is independent of the AHB system clock.
If a timer module is not used its CLK_MSCSS_MTMRx branch clock can be switched off.
A quadrature encoder, also known as a 2-channel incremental encoder, converts angular
displacement into two pulse signals. By monitoring both the number of pulses and the
relative phase of the two signals, the user can track the position, direction of rotation, and
velocity. In addition, a third channel, or index signal, can be used to reset the position
counter. The quadrature encoder interface decodes the digital pulses from a quadrature
encoder wheel to integrate position over time and determine direction of rotation. In
addition, the QEI can capture the velocity of the encoder wheel.
The QEI has the following features:
Symbol
MSCSS PAUSE
•
•
•
•
•
•
•
•
•
•
•
•
•
Tracks encoder position
Increments/ decrements depending on direction
Programmable for 2 or 4 position counting
Velocity capture using built-in timer
Velocity compare function with less than interrupt
Uses 32-bit registers for position and velocity
Three position compare registers with interrupts
Index counter for revolution counting
Index compare register with interrupts
Can combine index and position interrupts to produce an interrupt for whole and
partial revolution displacement
Digital filter with programmable delays for encoder input signals
Can accept decoded signal inputs (clk and direction)
Connected to APB
6.7.2. Note that each timer has its own CLK_MSCSS_MTMRx branch clock for
MSCSS timer 1 pin
Direction
IN
Rev. 01 — 11 June 2009
Description
pause pin for MSCSS timer 1
ARM9 microcontroller with CAN, LIN, and USB
Table 25
shows the MSCSS timer 1
LPC2939
© NXP B.V. 2009. All rights reserved.
49 of 98