![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 436](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827436.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
436 of 1441
NXP Semiconductors
UM10503
Chapter 18: LPC43xx/LPC43Sxx Global Input Multiplexer Array (GIMA)
[1]
To configure the GIMA inputs for the timers and SCT, set the CTOUTCTRL bit in CREG6 (
). This bit controls whether the
SCT outputs are ORed with the timer match output or whether the SCT outputs only are considered.
18.3.2 GIMA clock synchronization
The clock synchronization control for each GIMA output consists of five stages
(
):
1. Input selection
2. Input inversion: inverts the path between source and destination.
3. Asynchronous capture
4. Synchronization to peripheral clock
5. Pulse generation
Once the input is selected for a GIMA output, the GIMA can synchronize the input signal
(the source) to the branch clock of the peripheral to which the GIMA output connects (the
target). For example, a signal from a pin can be synchronized to the timer branch clock if
the pin is connected to the timer capture inputs through the GIMA. Even though the timers
and the SCT have their own input synchronizer, the GIMA synchronizer can ensure that a
high-frequency input signal is correctly captured by the timer peripheral and no pulses are
missed.
The synchronization clocks are as follows:
•
GIMA outputs 0 to 15: BASE_M4_CLK using the four timer branch clocks.
26
Event router input 14
SCT output 6 or T1
match channel 2
SGPIO12
T1 match
channel 2
-
27
Event router input 16
SCT output 14 or T3
match channel 2
T3 match
channel 2
-
-
28
ADC0 and ADC1 start0
input (ADC CR register
START bits = 0x2)
SCT output 15 or T3
match channel 3
T0 match
channel 0
-
-
29
ADC0 and ADC1 start1
input (ADC CR register
bit START = 0x3)
SCT output 8 or T2
match channel 0
T2 match
channel 0
-
-
Table 208. GIMA outputs
GIMA
output
GIMA output
connected to
GIMA inputs
Reference
Fig 45. GIMA input stages
Q
Q
SET
CLR
D
Q
Q
SET
CLR
D
Q
Q
SET
CLR
D
Q
Q
SET
CLR
D
output
input
input
output_clk
(peripheral)
(peripheral clock)
SELECT
INV
EDGE
SYNCH
PULSE