![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1434](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271434.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1434 of 1441
NXP Semiconductors
UM10503
Chapter 54: Supplementary information
Timer match registers (MR0 - MR3) . . . . . . 1027
Timer capture control registers . . . . . . . . . . 1027
Timer capture registers. . . . . . . . . . . . . . . . 1028
Timer external match registers . . . . . . . . . 1029
Timer count control registers . . . . . . . . . . . 1030
Functional description . . . . . . . . . . . . . . . . 1032
Example timer operation . . . . . . . . . . . . . . 1032
DMA operation . . . . . . . . . . . . . . . . . . . . . . 1032
Chapter 33: LPC43xx/LPC43Sxx Motor Control PWM (MOTOCONPWM)
How to read this chapter . . . . . . . . . . . . . . . 1033
Basic configuration . . . . . . . . . . . . . . . . . . . 1033
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 1033
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1033
General description . . . . . . . . . . . . . . . . . . . 1034
Block Diagram . . . . . . . . . . . . . . . . . . . . . . 1035
Pin description . . . . . . . . . . . . . . . . . . . . . . . 1035
Register description . . . . . . . . . . . . . . . . . . 1036
MCPWM Control register . . . . . . . . . . . . . . 1037
33.7.1.1 MCPWM Control read address . . . . . . . . . 1037
33.7.1.2 MCPWM Control set address . . . . . . . . . . 1039
33.7.1.3 MCPWM Control clear address . . . . . . . . . 1039
33.7.2
PWM Capture Control register . . . . . . . . . . 1040
33.7.2.1 MCPWM Capture Control read address . . 1040
33.7.2.2 MCPWM Capture Control set address . . . 1041
33.7.2.3 MCPWM Capture control clear address . . 1042
33.7.3
MCPWM Timer/Counter 0-2 registers . . . . 1043
MCPWM Limit 0-2 registers . . . . . . . . . . . . 1043
MCPWM Match 0-2 registers . . . . . . . . . . . 1044
33.7.5.1 Match register in Edge-Aligned mode. . . . . 1044
33.7.5.2 Match register in Center-Aligned mode . . . 1045
33.7.5.3 0 and 100% duty cycle . . . . . . . . . . . . . . . . 1045
33.7.6
MCPWM Dead-time register . . . . . . . . . . . 1045
MCPWM Communication Pattern register . 1046
MCPWM Capture read addresses . . . . . . . 1046
MCPWM Interrupt registers . . . . . . . . . . . . 1046
MCPWM Interrupt Enable read address . . 1047
33.7.9.2 MCPWM Interrupt Enable set address . . . 1048
33.7.9.3 MCPWM Interrupt Enable clear address . 1048
33.7.10
MCPWM Count Control register . . . . . . . . 1049
33.7.10.1 MCPWM Count Control read address . . . 1049
33.7.10.2 MCPWM Count Control set address . . . . . 1051
33.7.10.3 MCPWM Count Control clear address . . . 1052
33.7.11
MCPWM Interrupt flag registers. . . . . . . . . 1053
33.7.11.1 MCPWM Interrupt Flags read address . . . 1053
33.7.11.2 MCPWM Interrupt Flags set address . . . . 1055
33.7.11.3 MCPWM Interrupt Flags clear address . . . 1056
33.7.12
MCPWM Capture clear address . . . . . . . . 1056
Functional description . . . . . . . . . . . . . . . . 1057
Pulse-width modulation . . . . . . . . . . . . . . . 1057
Edge-aligned PWM without dead-time. . . . . 1057
Center-aligned PWM without dead-time . . . 1057
Dead-time counter . . . . . . . . . . . . . . . . . . . . 1058
Shadow registers and simultaneous
updates . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
Fast Abort (ABORT). . . . . . . . . . . . . . . . . . 1059
Capture events. . . . . . . . . . . . . . . . . . . . . . 1059
External event counting (Counter mode) . . 1060
Three-phase DC mode . . . . . . . . . . . . . . . 1060
Three phase AC mode. . . . . . . . . . . . . . . . 1061
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
Chapter 34: LPC43xx/LPC43Sxx Quadrature Encoder Interface (QEI)
How to read this chapter . . . . . . . . . . . . . . . 1063
Basic configuration . . . . . . . . . . . . . . . . . . . 1063
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 1064
Pin description . . . . . . . . . . . . . . . . . . . . . . . 1066
Register description . . . . . . . . . . . . . . . . . . 1066
Control registers . . . . . . . . . . . . . . . . . . . . . 1068
34.6.1.1 QEI Control register . . . . . . . . . . . . . . . . . . 1068
34.6.1.2 QEI Status register . . . . . . . . . . . . . . . . . . . 1068
34.6.1.3 QEI Configuration register . . . . . . . . . . . . . 1068
34.6.2
Position, index and timer registers . . . . . . . 1070
34.6.2.1 QEI Position register . . . . . . . . . . . . . . . . . 1070
34.6.2.2 QEI Maximum Position register . . . . . . . . . 1070
34.6.2.3 QEI Position Compare register 0 . . . . . . . . 1070
34.6.2.4 QEI Position Compare register 1 . . . . . . . . 1070
34.6.2.5 QEI Position Compare register 2 . . . . . . . . 1070
34.6.2.6 QEI Index Count register . . . . . . . . . . . . . . 1071
34.6.2.7 QEI Index Compare register 0 . . . . . . . . . . 1071
34.6.2.8 QEI Timer Reload register . . . . . . . . . . . . . 1071
34.6.2.9 QEI Timer register . . . . . . . . . . . . . . . . . . . 1071
34.6.2.10 QEI Velocity register . . . . . . . . . . . . . . . . . 1071
34.6.2.11 QEI Velocity Capture register . . . . . . . . . . 1072
34.6.2.12 QEI Velocity Compare register . . . . . . . . . 1072
34.6.2.13 QEI Digital filter on phase A input register . 1072
34.6.2.14 QEI Digital filter on phase B input register . 1072
34.6.2.15 QEI Digital filter on index input register . . . 1072
34.6.2.16 QEI Index acceptance window register . . . 1073
34.6.2.17 QEI Index Compare register 1 . . . . . . . . . . 1073
34.6.2.18 QEI Index Compare register 2 . . . . . . . . . . 1073
34.6.3
Interrupt registers . . . . . . . . . . . . . . . . . . . . 1074
34.6.3.1 QEI Interrupt Enable Clear register . . . . . . 1074
34.6.3.2 QEI Interrupt Enable Set register . . . . . . . 1074
34.6.3.3 QEI Interrupt Status register . . . . . . . . . . . 1075
34.6.3.4 QEI Interrupt Enable register . . . . . . . . . . 1076
34.6.3.5 QEI Interrupt Status Clear register . . . . . . 1076
34.6.3.6 QEI Interrupt Status Set register . . . . . . . . 1077
Functional description . . . . . . . . . . . . . . . . 1078
Input signals. . . . . . . . . . . . . . . . . . . . . . . . 1078
34.7.1.1 Quadrature input signals . . . . . . . . . . . . . . 1078
34.7.1.2 Digital input filtering . . . . . . . . . . . . . . . . . . 1079
34.7.2
Position capture . . . . . . . . . . . . . . . . . . . . . 1079
. . . . . . . . . . . . . . . . . . . . . 1079
Velocity compare . . . . . . . . . . . . . . . . . . . . 1080