Jan 05, 2021
07:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 05, 2021
07:00 AM
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.
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.
Solved! Go to Solution.
- Tags:
- IFX
1 Solution
Jan 17, 2021
08:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2021
08:55 PM
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
1 Reply
Jan 17, 2021
08:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2021
08:55 PM
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