I
2
C Module Operation
15-10
USART Peripheral Interface, I
2
C Mode
Figure 15−9. Master Receiver Mode
IDLE
Generate START
4 x I2CPSC
I2CBB Is Set
I2CSTT Is Cleared
8 x I2CPSC
Send Slave
Address Bits 6−0
with R/W = 1
8 x SCL
Send Slave Address
Bits 9−8 Extended
With R/W = 0
8 x SCL
STOP State?
STOP State?
I2CNDAT
Number Of Bytes
Received?
Repeat Mode?
Generate STOP
10 x I2CPSC
I2CBB Is Cleared
8 x I2CPSC
8 x I2CPSC
New START?
Receive Data
Low Byte
8 x SCL
New START?
2
NACKIFG Is Set
2
I2CWORD=0
I2CSTT=1
Generate Ack
For Low Byte
1 x SCL
Receive Data
High Byte
8 x SCL
Generate 2nd START
8 x SCL
4 x I2CPSC
Ack
New START?
3
I2CRM=1
I2CRM=0
No
No
Yes
Yes
Yes
Yes, I2CSTP=1
No
Yes
No
IDLE
I2CBUSY Is Cleared
IDLE
I2CBUSY Is Cleared
Send Slave Address
Bits 9−8 Extended
With R/W = 1
Send Slave Address
Bits 7−0
8 x SCL
Ack
No Ack
1
1
XA = 1
XA = 0
No Ack
I2CSTP, I2CMST
Are Cleared
3
3
No
Generate Ack
For High Byte
1 x SCL
Or
No
Summary of Contents for MSP430x1xx
Page 1: ... 2005 Mixed Signal Products User s Guide SLAU049E ...
Page 6: ...vi ...
Page 18: ...1 6 Introduction ...
Page 36: ...2 18 System Resets Interrupts and Operating Modes ...
Page 112: ...3 76 ...
Page 130: ...4 18 Basic Clock Module ...
Page 152: ...5 22 Flash Memory Controller ...
Page 160: ...6 8 Supply Voltage Supervisor ...
Page 168: ...7 8 Hardware Multiplier ...
Page 192: ...8 24 ...
Page 200: ...9 8 Digital I O ...
Page 234: ...11 24 Timer_A ...
Page 260: ...12 26 Timer_B ...
Page 291: ...13 31 USART Peripheral Interface UART Mode ...
Page 314: ...14 23 USART Peripheral Interface SPI Mode ...
Page 346: ...15 32 USART Peripheral Interface I2C Mode ...
Page 358: ...16 12 Comparator_A ...
Page 386: ...17 28 ADC12 ...
Page 418: ...18 32 ADC10 ...
Page 432: ...19 14 DAC12 ...