
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
788 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
Single and b) Continuous Transfer) . . . . . . . . . .390
Fig 76. SPI frame format with CPOL=0 and CPHA=1 . .391
Fig 77. SPI frame format with CPOL = 1 and CPHA = 0 (a)
Single and b) Continuous Transfer) . . . . . . . . . .392
Fig 78. SPI Frame Format with CPOL = 1 and CPHA = 1 . .
Fig 79. Microwire frame format (single transfer) . . . . . .394
Fig 80. Microwire frame format (continuos transfers) . .395
Fig 81. Microwire frame format setup and hold details .395
Fig 82. I
2
C-bus configuration . . . . . . . . . . . . . . . . . . . . .404
Fig 83. Format in the Master Transmitter mode. . . . . . .406
Fig 84. Format of Master Receiver mode . . . . . . . . . . .406
Fig 85. A Master Receiver switches to Master Transmitter
after sending repeated START . . . . . . . . . . . . .407
Fig 86. Format of Slave Receiver mode . . . . . . . . . . . .407
Fig 87. Format of Slave Transmitter mode . . . . . . . . . .408
Fig 88. I
2
C serial interface block diagram . . . . . . . . . . .409
Fig 89. Arbitration procedure . . . . . . . . . . . . . . . . . . . . . 411
Fig 90. Serial clock synchronization. . . . . . . . . . . . . . . . 411
Fig 91. Format and states in the Master Transmitter mode .
Fig 92. Format and states in the Master Receiver mode . . .
Fig 93. Format and states in the Slave Receiver mode .427
Fig 94. Format and states in the Slave Transmitter mode . .
Fig 95. Simultaneous repeated START conditions from two
masters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .436
Fig 96. Forced access to a busy I
2
C-bus. . . . . . . . . . . .437
Fig 97. Recovering from a bus obstruction caused by a
LOW level on SDA . . . . . . . . . . . . . . . . . . . . . . .437
Fig 98. Simple I2S configurations and bus timing . . . . .448
Fig 99. Typical transmitter master mode, with or without
MCLK output . . . . . . . . . . . . . . . . . . . . . . . . . . .458
Fig 100. Transmitter master mode sharing the receiver
reference clock . . . . . . . . . . . . . . . . . . . . . . . . .458
Fig 101. 4-wire transmitter master mode sharing the receiver
bit clock and WS . . . . . . . . . . . . . . . . . . . . . . . .458
reference clock . . . . . . . . . . . . . . . . . . . . . . . . .458
Fig 104. 4-wire transmitter slave mode sharing the receiver
bit clock and WS . . . . . . . . . . . . . . . . . . . . . . . .459
Fig 105. Typical receiver master mode, with or without MCLK
output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460
Fig 106. Receiver master mode sharing the transmitter
reference clock . . . . . . . . . . . . . . . . . . . . . . . . .460
Fig 107. 4-wire receiver master mode sharing the transmitter
bit clock and WS . . . . . . . . . . . . . . . . . . . . . . . .460
reference clock . . . . . . . . . . . . . . . . . . . . . . . . . 460
Fig 110. 4-wire receiver slave mode sharing the transmitter
bit clock and WS . . . . . . . . . . . . . . . . . . . . . . . . 461
Fig 111. FIFO contents for various I
S modes . . . . . . . . 462
Fig 112. A timer cycle in which PR=2, MRx=6, and both
interrupt and reset on match are enabled. . . . . 472
Fig 113. A timer Cycle in Which PR=2, MRx=6, and both
interrupt and stop on match are enabled . . . . . 472
Fig 114. Timer block diagram . . . . . . . . . . . . . . . . . . . . . 473
Fig 115. RI timer block diagram . . . . . . . . . . . . . . . . . . . 476
Fig 116. System Tick Timer block diagram . . . . . . . . . . . 478
Fig 117. PWM block diagram . . . . . . . . . . . . . . . . . . . . . 483
Fig 118. Sample PWM waveforms . . . . . . . . . . . . . . . . . 484
Fig 119. MCPWM Block Diagram . . . . . . . . . . . . . . . . . . 495
Fig 120. Edge-aligned PWM waveform without dead time,
POLA = 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
Fig 121. Center-aligned PWM waveform without dead time,
POLA = 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
Fig 122. Edge-aligned PWM waveform with dead time,
POLA = 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
Fig 123. Center-aligned waveform with dead time, POLA = 0
Fig 124. Three-phase DC mode sample waveforms. . . . 514
Fig 125. Three-phase AC mode sample waveforms, edge
aligned PWM mode. . . . . . . . . . . . . . . . . . . . . . 515
Fig 126. Encoder interface block diagram. . . . . . . . . . . . 517
Fig 127. Quadrature Encoder Basic Operation . . . . . . . . 519
Fig 128. RTC domain conceptual diagram . . . . . . . . . . . 533
Fig 129. RTC functional block diagram . . . . . . . . . . . . . . 533
Fig 130. Watchdog block diagram. . . . . . . . . . . . . . . . . . 548
Fig 131. DAC control with DMA interrupt and timer . . . . 560
Fig 132. DMA controller block diagram . . . . . . . . . . . . . . 562
Fig 133. LLI example. . . . . . . . . . . . . . . . . . . . . . . . . . . . 586
Fig 134. Map of lower memory . . . . . . . . . . . . . . . . . . . . 589
Fig 135. Boot process flowchart . . . . . . . . . . . . . . . . . . . 592
Fig 136. IAP parameter passing . . . . . . . . . . . . . . . . . . . 605
Fig 137. Typical Cortex-M3 implementation . . . . . . . . . . 613
Fig 138. ASR #3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622
Fig 139. LSR#3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Fig 140. LSL#3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Fig 141. ROR#3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Fig 142. RRX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Fig 143. Bit-band mapping . . . . . . . . . . . . . . . . . . . . . . . 711
Fig 144. Vector table . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718