UM10147_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 28 April 2008
132 of 134
NXP Semiconductors
UM10147
P89LPC952/954 User manual
21. Figures
PLCC44 pin configuration . . . . . . . . . . . . . . . . . . .3
LQFP44 pin configuration . . . . . . . . . . . . . . . . . . .4
LQFP48 pin configuration . . . . . . . . . . . . . . . . . . .5
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . .10
P89LPC952 memory map - P89LPC954 is similar .
20
Using the crystal oscillator. . . . . . . . . . . . . . . . . .25
Block diagram of oscillator control. . . . . . . . . . . .25
ADC block diagram. . . . . . . . . . . . . . . . . . . . . . . .27
Interrupt sources, interrupt enables, and
power-down wake-up sources. . . . . . . . . . . . . . .36
Fig 10. Quasi-bidirectional output. . . . . . . . . . . . . . . . . . .38
Fig 11. Open drain output. . . . . . . . . . . . . . . . . . . . . . . . .39
Fig 12. Input only.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Fig 13. Push-pull output. . . . . . . . . . . . . . . . . . . . . . . . . .40
Fig 14. Block diagram of reset. . . . . . . . . . . . . . . . . . . . .47
Fig 15. Timer/counter 0 or 1 in Mode 0 (13-bit counter). .51
Fig 16. Timer/counter 0 or 1 in mode 1 (16-bit counter). .51
Fig 17. Timer/counter 0 or 1 in Mode 2 (8-bit auto-reload). .
Fig 20. Real-time clock/system timer block diagram.. . . .53
Fig 21. Baud rate generation for UARTs (Modes 1, 3). . .59
Fig 22. Serial Port Mode 0 (double buffering must be
disabled). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Fig 23. Serial Port Mode 1 (only single transmit buffering
case is shown). . . . . . . . . . . . . . . . . . . . . . . . . . .64
Fig 24. Serial Port Mode 2 or 3 (only single transmit
buffering case is shown). . . . . . . . . . . . . . . . . . . .64
Fig 25. Transmission with and without double buffering. .66
Fig 26. I
2
C-bus configuration. . . . . . . . . . . . . . . . . . . . . .70
Fig 27. Format in the Master Transmitter mode. . . . . . . .74
Fig 28. Format of Master Receiver mode. . . . . . . . . . . . .75
Fig 29. A Master Receiver switches to Master Transmitter
after sending Repeated Start. . . . . . . . . . . . . . . .75
Fig 30. Format of Slave Receiver mode. . . . . . . . . . . . . .76
Fig 31. Format of Slave Transmitter mode. . . . . . . . . . . .76
Fig 32. I
2
C serial interface block diagram. . . . . . . . . . . . .77
Fig 33. SPI block diagram.. . . . . . . . . . . . . . . . . . . . . . . .84
Fig 34. SPI single master single slave configuration. . . .86
Fig 35. SPI dual device configuration, where either can be a
master or a slave. . . . . . . . . . . . . . . . . . . . . . . . .86
Fig 36. SPI single master multiple slaves configuration. .87
Fig 37. SPI slave transfer format with CPHA = 0. . . . . . .90
Fig 38. SPI slave transfer format with CPHA = 1. . . . . . .91
Fig 39. SPI master transfer format with CPHA = 0. . . . . .92
Fig 40. SPI master transfer format with CPHA = 1. . . . . .93
Fig 41. Comparator input and output connections. . . . . .94
Fig 42. Comparator configurations. . . . . . . . . . . . . . . . . .96
Fig 43. Watchdog Prescaler. . . . . . . . . . . . . . . . . . . . . . .99
Fig 44. Watchdog Timer in Watchdog Mode (WDTE = 1).. .
Fig 45. Watchdog Timer in Timer Mode (WDTE = 0). . .103
Fig 46. Debugger connections - top view . . . . . . . . . . .106
Fig 47. Forcing ISP mode. . . . . . . . . . . . . . . . . . . . . . . 113