lm3s8962与tmp101温度传感器通信的问题

Other Parts Discussed in Thread: TMP101, LM3S8962

您好。

使用lm3s8962配置tmp101的温度时,发现Configuration Register写入不了,但是示波器上能观察到发送的地址,数据以及ack。读取9位温度数据正常。请问大概是什么原因啊?

附配置那一段的源代码。

I2CMasterSlaveAddrSet(I2C_MASTER_BASE,tmp101add,FALSE); //写tmp101地址
I2CMasterDataPut(I2C_MASTER_BASE,0x01); //写pointer register
I2CMasterControl(I2C_MASTER_BASE, I2C_MASTER_CMD_BURST_SEND_START); //突发发送开始
while(I2CMasterBusBusy(I2C_MASTER_BASE));

I2CMasterDataPut(I2C_MASTER_BASE,0xFE); //写Configuration Register
I2CMasterControl(I2C_MASTER_BASE, I2C_MASTER_CMD_BURST_SEND_FINISH); //突发发送结束
while(I2CMasterBusBusy(I2C_MASTER_BASE));

谢谢