I2C with XMC 4200 Platform2GO

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

cross mob
User20924
Level 1
Level 1
I'm new wit XMC microcontroller. I have an Xmc4200 Platform2Go board and want to use I2C to communicate with sensors.
1.)
I use the examples I2C_EXAMPLE_XMC45.
But the programm traps to the loop, that wait for the callback.
I have seen in oszilloscope, when Pin mode is Open Drain, both SDA and SCL always in high pegel.

2.)
my sensors address ist 0xA0 ( 1010 0000). will XMC automatic 1 bit left shift? but then will 1 bit Daten fehlen.
0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi ,

What is I2C master app version you are using in the project ? Could you also let me know the steps you have taken while porting the project ?

 

Check the code snippet available in app info to get started.

Best Regards,
Vasanth

View solution in original post

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi ,

What is I2C master app version you are using in the project ? Could you also let me know the steps you have taken while porting the project ?

 

Check the code snippet available in app info to get started.

Best Regards,
Vasanth

0 Likes