Philips Semiconductors
UM10139
Volume 1
Chapter 25: Supplementary information
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
338
continued >>
25.5 Figures
LPC2141/2/4/6/8 block diagram. . . . . . . . . . . . . . .7
System memory map. . . . . . . . . . . . . . . . . . . . . . .8
Peripheral memory map. . . . . . . . . . . . . . . . . . . . .9
AHB peripheral map . . . . . . . . . . . . . . . . . . . . . .10
Map of lower memory is showing
re-mapped and re-mappable areas
(LPC2148 with 512 kB Flash) . . . . . . . . . . . . . . .14
X1
/
X2
evaluation19
OSC
selection algorithm . . . . . . . . . . . . . . . . . . .20
External interrupt logic . . . . . . . . . . . . . . . . . . . . .25
PLL block diagram . . . . . . . . . . . . . . . . . . . . . . . .29
Fig 10. Reset block diagram including the wakeup timer .39
Fig 11. VPB divider connections . . . . . . . . . . . . . . . . . . .41
Fig 12. Simplified block diagram of the Memory Accelerator
Module (MAM) . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Fig 13. Block diagram of the Vectored Interrupt Controller
(VIC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Fig 14. LPC2141 64-pin package . . . . . . . . . . . . . . . . . .66
Fig 15. LPC2142 64-pin package . . . . . . . . . . . . . . . . . .67
Fig 16. LPC2144/6/8 64-pin package . . . . . . . . . . . . . . .68
Fig 17. Illustration of the fast and slow GPIO access and
Fig 18. Autobaud Mode 0 and Mode 1 waveform . . . . .109
Fig 19. UART0 block diagram . . . . . . . . . . . . . . . . . . . .111
Fig 20. Auto-RTS functional timing . . . . . . . . . . . . . . . .124
Fig 21. Auto-CTS functional timing . . . . . . . . . . . . . . . .125
Fig 22. Autobaud Mode 0 and Mode 1 waveform . . . . .130
Fig 23. UART1 block diagram . . . . . . . . . . . . . . . . . . . .132
Fig 24. I
C-bus Configuration. . . . . . . . . . . . . . . . . . . . .134
Fig 25. Format in the Master Transmitter mode . . . . . . .135
Fig 26. Format of Master Receive mode . . . . . . . . . . . .136
Fig 27. A Master Receiver switches to Master Transmitter
after sending Repeated START . . . . . . . . . . . . .136
Fig 28. Format of Slave Receiver mode. . . . . . . . . . . . .137
Fig 29. Format of Slave Transmitter mode . . . . . . . . . . .137
Fig 30. I
C serial interface block diagram . . . . . . . . . . .139
Fig 31. Arbitration procedure . . . . . . . . . . . . . . . . . . . . .140
Fig 32. Serial clock synchronization. . . . . . . . . . . . . . . .141
Fig 33. Format and States in the Master Transmitter
mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
Fig 34. Format and States in the Master Receiver
mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Fig 35. Format and States in the Slave Receiver mode.152
Fig 36. Format and States in the Slave Transmitter
mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153
Fig 37. Simultaneous repeated START conditions from two
masters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Fig 38. Forced access to a busy I
C-bus . . . . . . . . . . . 162
Fig 39. Recovering from a bus obstruction caused by a low
level on SDA . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Fig 40. SPI data transfer format
(CPHA = 0 and CPHA = 1) . . . . . . . . . . . . . . . . 172
Fig 41. SPI block diagram . . . . . . . . . . . . . . . . . . . . . . . 179
Fig 42. Texas Instruments synchronous serial frame format:
Fig 43. SPI frame format with CPOL=0 and CPHA=0 (a)
single and b) continuous transfer) . . . . . . . . . . . 183
Fig 44. SPI frame format with CPOL=0 and CPHA=1. . 184
Fig 45. SPI frame format with CPOL = 1 and CPHA = 0 (a)
single and b) continuous transfer) . . . . . . . . . . . 185
Fig 46. SPI frame format with CPOL = 1 and CPHA = 1186
Fig 47. Microwire frame format (single transfer) . . . . . . 187
Fig 48. Microwire frame format (continuos transfers) . . 188
Fig 49. Microwire frame format (continuos transfers) -
details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Fig 50. USB Device Controller Block Diagram . . . . . . . 196
Fig 51. USB MaxPacket register array indexing . . . . . . 210
Fig 52. UDCA Head register and DMA descriptors. . . . 216
Fig 53. Finding the DMA descriptor. . . . . . . . . . . . . . . . 235
Fig 54. Data transfer in ATLE mode . . . . . . . . . . . . . . . 237
Fig 55. Isochronous OUT Endpoint operation example 241
Fig 56. A timer cycle in which PR=2, MRx=6, and both
interrupt and reset on match are enabled . . . . . 251
Fig 57. A timer cycle in which PR=2, MRx=6, and both
interrupt and stop on match are enabled . . . . . 251
Fig 58. Timer block diagram . . . . . . . . . . . . . . . . . . . . . 252
Fig 59. PWM block diagram . . . . . . . . . . . . . . . . . . . . . 255
Fig 60. Sample PWM waveforms . . . . . . . . . . . . . . . . . 256
Fig 61. RTC block diagram . . . . . . . . . . . . . . . . . . . . . . 275
Fig 62. RTC prescaler block diagram . . . . . . . . . . . . . . 284
Fig 63. RTC 32kHz crystal oscillator circuit. . . . . . . . . . 286
Fig 64. Watchdog block diagram . . . . . . . . . . . . . . . . . . 290
Fig 65. Map of lower memory after reset . . . . . . . . . . . 292
Fig 66. Boot process flowchart . . . . . . . . . . . . . . . . . . . 295
Fig 67. IAP Parameter passing . . . . . . . . . . . . . . . . . . . 307
Fig 68. EmbeddedICE debug environment block
diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Fig 69. ETM debug environment block diagram . . . . . . 318
Fig 70. RealMonitor components . . . . . . . . . . . . . . . . . 320
Fig 71. RealMonitor as a state machine . . . . . . . . . . . . 321
Fig 72. Exception handlers . . . . . . . . . . . . . . . . . . . . . . 324