
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
787 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
4.
Figures
LPC1768 simplified block diagram. . . . . . . . . . . . .7
LPC1768 block diagram, CPU and buses . . . . . .10
LPC17xx system memory map . . . . . . . . . . . . . .12
Reset block diagram including the wake-up timer17
Example of start-up after reset. . . . . . . . . . . . . . .18
Clock generation for the LPC17xx . . . . . . . . . . . .25
/
X2
evaluation27
PLL0 block diagram . . . . . . . . . . . . . . . . . . . . . . .31
PLL1 block diagram . . . . . . . . . . . . . . . . . . . . . . .42
Fig 10. PLLs and clock dividers . . . . . . . . . . . . . . . . . . . .47
Fig 11. CLKOUT selection . . . . . . . . . . . . . . . . . . . . . . . .57
Fig 12. Simplified block diagram of the flash accelerator
showing potential bus connections . . . . . . . . . . .59
Fig 13. LPC176x LQFP100 pin configuration . . . . . . . . .66
Fig 14. LPC175x LQFP80 pin configuration . . . . . . . . . .66
Fig 15. Ethernet block diagram . . . . . . . . . . . . . . . . . . . 113
Fig 16. Ethernet packet fields . . . . . . . . . . . . . . . . . . . . 115
Fig 17. Receive descriptor memory layout. . . . . . . . . . .142
Fig 18. Transmit descriptor memory layout . . . . . . . . . .145
Fig 19. Transmit example memory and registers. . . . . .156
Fig 20. Receive Example Memory and Registers . . . . .162
Fig 21. Transmit Flow Control . . . . . . . . . . . . . . . . . . . .167
Fig 22. Receive filter block diagram. . . . . . . . . . . . . . . .169
Fig 23. Receive Active/Inactive state machine . . . . . . .173
Fig 24. Transmit Active/Inactive state machine . . . . . . .174
Fig 25. USB device controller block diagram . . . . . . . . .185
Fig 26. USB MaxPacketSize register array indexing . . .202
Fig 27. Interrupt event handling . . . . . . . . . . . . . . . . . . .214
Fig 28. UDCA Head register and DMA Descriptors . . . .227
Fig 29. Isochronous OUT endpoint operation example .235
Fig 30. Data transfer in ATLE mode. . . . . . . . . . . . . . . .236
Fig 31. USB Host controller block diagram . . . . . . . . . .242
Fig 32. USB OTG controller block diagram . . . . . . . . . .246
Fig 33. USB OTG port configuration . . . . . . . . . . . . . . .247
Fig 34. USB host port configuration . . . . . . . . . . . . . . . .248
Fig 35. USB device port configuration . . . . . . . . . . . . . .248
Fig 36. USB OTG interrupt handling . . . . . . . . . . . . . . .258
Fig 37. USB OTG controller with software stack . . . . . .259
Fig 38. Hardware support for B-device switching from
peripheral state to host state . . . . . . . . . . . . . . .260
Fig 39. State transitions implemented in software during
B-device switching from peripheral to host . . . .261
Fig 40. Hardware support for A-device switching from host
state to peripheral state . . . . . . . . . . . . . . . . . . .263
Fig 41. State transitions implemented in software during
A-device switching from host to peripheral . . . .264
Fig 42. Clocking and power control. . . . . . . . . . . . . . . . 267
Fig 43. Autobaud a) mode 0 and b) mode 1 waveform 283
Fig 44. Algorithm for setting UART dividers . . . . . . . . . 286
Fig 45. UART0, 2 and 3 block diagram . . . . . . . . . . . . . 290
Fig 46. Auto-RTS Functional Timing . . . . . . . . . . . . . . . 302
Fig 47. Auto-CTS Functional Timing . . . . . . . . . . . . . . . 303
Fig 48. Auto-baud a) mode 0 and b) mode 1 waveform 308
Fig 49. Algorithm for setting UART dividers . . . . . . . . . 310
Fig 50. UART1 block diagram . . . . . . . . . . . . . . . . . . . . 316
Fig 51. CAN controller block diagram . . . . . . . . . . . . . . 319
Fig 52. Transmit buffer layout for standard and extended
frame format configurations . . . . . . . . . . . . . . . 320
Fig 53. Receive buffer layout for standard and extended
frame format configurations . . . . . . . . . . . . . . . 321
Fig 54. Global Self-Test (high-speed CAN Bus example) . .
Fig 55. Local self test (high-speed CAN Bus example). 322
Fig 56. Entry in FullCAN and individual standard identifier
tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Fig 57. Entry in standard identifier range table . . . . . . . 350
Fig 58. Entry in either extended identifier table . . . . . . . 351
Fig 59. ID Look-up table example explaining the search
algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Fig 60. Semaphore procedure for reading an auto-stored
message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
Fig 61. FullCAN section example of the ID look-up table . .
Fig 62. FullCAN message object layout . . . . . . . . . . . . 363
Fig 63. Normal case, no messages lost . . . . . . . . . . . . 365
Fig 64. Message lost . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Fig 65. Message gets overwritten . . . . . . . . . . . . . . . . . 366
Fig 66. Message overwritten indicated by semaphore bits
and message lost . . . . . . . . . . . . . . . . . . . . . . . 367
Fig 67. Message overwritten indicated by message lost368
Fig 68. Clearing message lost. . . . . . . . . . . . . . . . . . . . 369
Fig 69. Detailed example of acceptance filter tables and ID
index values . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
Fig 70. ID Look-up table configuration example (no
FullCAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Fig 71. ID Look-up table configuration example (FullCAN
activated and enabled) . . . . . . . . . . . . . . . . . . . 375
Fig 72. SPI data transfer format (CPHA = 0 and CPHA = 1)
Fig 73. SPI block diagram . . . . . . . . . . . . . . . . . . . . . . . 386
Fig 74. Texas Instruments Synchronous Serial Frame