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

cross mob
PRAVEEN1
Level 1
Level 1
5 questions asked 10 sign-ins First reply posted
Hi, I'm confused about I2C. I am using TC275. The datasheet shows some variants that do not support I2C, and I haven't found any sample code for I2C. Is I2C available on the controller? Could you please help me find some sample code? Thanks in advance
0 Likes
1 Solution
David_R
Moderator
Moderator
Moderator
100 replies posted 25 solutions authored 10 likes given

Hello @PRAVEEN1 

If you take a look at the user manual for the TC27x, page 4138, section 30 you can find all the information about the I2C, now regarding to the example i could not find anything for the TC27x, but the example for the TC297, 
https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/I2C_Read_Ext_Device_1_KIT_... should work as a starting point, just keep in my that the pin may or not be the same, also the MCP79411 is not mounted in the lite kit but any external I2C RTC should do the job,

Regards! :1 

View solution in original post

0 Likes
1 Reply
David_R
Moderator
Moderator
Moderator
100 replies posted 25 solutions authored 10 likes given

Hello @PRAVEEN1 

If you take a look at the user manual for the TC27x, page 4138, section 30 you can find all the information about the I2C, now regarding to the example i could not find anything for the TC27x, but the example for the TC297, 
https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/I2C_Read_Ext_Device_1_KIT_... should work as a starting point, just keep in my that the pin may or not be the same, also the MCP79411 is not mounted in the lite kit but any external I2C RTC should do the job,

Regards! :1 

0 Likes