XMC1100 to BMP180 temp/pres sensor I2C

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
scoresh
Employee
Employee
Hello,

I am trying to set up a communication between the XMC1100 and a Bosch pressure Sensor via I2C to read out the calibration parameters from the sensor. I tested the communication with a logic analyzer and in Debugging Mode. Both tests were fine. The logic analyzer showed that the sensor sends the required datas back and in Debugging mode I also get datas, cause the Receive Interrupt Flag (RIF=1) is set to read out the datas. But for some reason just the first data Byte is saved. So i just can read out the first data Byte. Any ideas what i am doing wrong?

Thanks for your help.

BR George
0 Likes
1 Reply
Not applicable
Hi George,

Did you use FIFO buffer for your received data?
If not, you have to keep reading the data from the receive buffer every time a byte is received, then only the next data will be shifted in.
0 Likes