
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
781 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
Table 345:SPI Test Control Register (SPTCR - address
0x4002 0010) bit description . . . . . . . . . . . . .385
Table 346:SPI Test Status Register (SPTSR - address
0x4002 0014) bit description . . . . . . . . . . . . .385
Table 347:SPI Interrupt Register (S0SPINT - address
0x4002 001C) bit description . . . . . . . . . . . . .386
Table 348.SSP pin descriptions . . . . . . . . . . . . . . . . . . .388
Table 349.SSP Register Map . . . . . . . . . . . . . . . . . . . . .395
Table 350:SSPn Control Register 0 (SSP0CR0 - address
Table 351:SSPn Control Register 1 (SSP0CR1 - address
Table 352:SSPn Data Register (SSP0DR - address
Table 353:SSPn Status Register (SSP0SR - address
Table 354:SSPn Clock Prescale Register (SSP0CPSR -
address 0x4008 8010, SSP1CPSR -
0x4003 8010) bit description . . . . . . . . . . . . .399
Table 355:SSPn Interrupt Mask Set/Clear register
Table 356:SSPn Raw Interrupt Status register (SSP0RIS -
Table 357:SSPn Masked Interrupt Status register (SSPnMIS
-address 0x4008 801C, SSP1MIS -
0x4003 001C) bit description . . . . . . . . . . . . .401
Table 358:SSPn interrupt Clear Register (SSP0ICR -
Table 359:SSPn DMA Control Register (SSP0DMACR -
address 0x4008 8024, SSP1DMACR -
0x4003 0024) bit description . . . . . . . . . . . . .401
C Pin Description . . . . . . . . . . . . . . . . . . . . .404
Table 361.I2C0CONSET and I2C1CONSET used to
configure Master mode . . . . . . . . . . . . . . . . . .405
Table 362.I2C0CONSET and I2C1CONSET used to
configure Slave mode . . . . . . . . . . . . . . . . . . .407
C register map . . . . . . . . . . . . . . . . . . . . . . .413
C Control Set register (I2CONSET: I
2
C0,
I2C0CONSET - address 0x4001 C000, I
2
C1,
I2C1CONSET - address 0x4005 C000, I
2
C2,
I2C2CONSET - address 0x400A 0000) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . .415
C Control Clear register (I2CONCLR: I
2
C0,
I2C0CONCLR - 0x4001 C018; I
2
C1,
I2C1CONCLR - 0x4005 C018; I
2
C2,
I2C2CONCLR - 0x400A 0018) bit description 416
2
C Status register (I2STAT: I
2
C0, I2C0STAT -
0x4001 C004; I
2
C1, I2C1STAT - 0x4005 C004;
I
2
C2, I2C2STAT - 0x400A 0004) bit description . .
417
2
C Data register (I2DAT: I
2
C0, I2C0DAT -
0x4001 C008; I
2
C1, I2C1DAT - 0x4005 C008;
I
2
C2, I2C2DAT - 0x400A 0008) bit description417
2
C Monitor mode control register (I2MMCTRL:
I
2
C0, I2CMMCTRL0 - 0x4001 C01C; I
2
C1,
I2C1MMCTRL- 0x4005 C01C; I
2
C2,
I2C2MMCTRL- 0x400A 001C) bit description 418
2
C Data buffer register (I2DATA_BUFFER: I
2
C0,
I2CDATA_BUFFER - 0x4001 C02C; I
2
C1,
I2C1DATA_BUFFER- 0x4005 C02C; I
2
C2,
I2C2DATA_BUFFER- 0x400A 002C) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
2
C Slave Address registers (I2ADR0 to 3: I
2
C0,
I2C0ADR[0, 1, 2, 3]- 0x4001 C0[0C, 20, 24, 28];
I
2
C1, I2C1ADR[0, 1, 2, 3] - address
0x4005 C0[0C, 20, 24, 28]; I
2
C2, I2C2ADR[0, 1, 2,
3] - address 0x400A 00[0C, 20, 24, 28]) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
2
C Mask registers (I2MASK0 to 3: I
2
C0,
I2C0MASK[0, 1, 2, 3] - 0x4001 C0[30, 34, 38, 3C];
I
2
C1, I2C1MASK[0, 1, 2, 3] - address
0x4005 C0[30, 34, 38, 3C]; I
2
C2, I2C2MASK[0, 1,
2, 3] - address 0x400A 00[30, 34, 38, 3C]) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
2
C SCL HIGH Duty Cycle register (I2SCLH: I
2
C0,
I2C0SCLH - address 0x4001 C010; I
2
C1,
I2C1SCLH - address 0x4005 C010; I
2
C2,
I2C2SCLH - 0x400A 0010) bit description . . . 421
2
C SCL Low duty cycle register (I2SCLL: I
2
C0 -
I2C0SCLL: 0x4001 C014; I
2
C1 - I2C1SCLL:
0x4005 C014; I
2
C2 - I2C2SCLL: 0x400A 0014) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
2
C clock rates. . . . . . . . . . . . . . . . . 421
Table 375.Abbreviations used to describe an I
2
C operation.
422
Table 376.I2CONSET used to initialize Master Transmitter
mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Table 377.I2ADR usage in Slave Receiver mode. . . . . . 423
Table 378.I2CONSET used to initialize Slave Receiver mode
Table 379.Master Transmitter mode . . . . . . . . . . . . . . . . 429
Table 380.Master Receiver mode. . . . . . . . . . . . . . . . . . 430
Table 381.Slave Receiver mode. . . . . . . . . . . . . . . . . . . 431
Table 382.Slave Transmitter mode . . . . . . . . . . . . . . . . . 433
Table 383.Miscellaneous States . . . . . . . . . . . . . . . . . . . 435