Aurix TC212 I2C Emulation

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

cross mob
jsteinbaeck
Employee
Employee
5 replies posted 25 sign-ins 10 sign-ins

Hello everyone,

is there an example project available for the TC21x to emulate an I2C interface (Aurix Dev Studio)?

I have an TC212 evaluation board and would like to communicate with an I2C slave device. 
If no ready-to-use example is available, I will have to implement the emulation via bit banging by myself (according to this Knowledge Base Article). 
But I'm also struggling to find an Aurix Dev Studio blank base project for the aforementioned Aurix controller. Is there none available?

Thanks  in advance

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Hi,

There is no I2C  Aurix Development Studio example directly available for the TC212  kit. You can use the example available for the TC297 kit as a reference.

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/I2C_Read_Ext_Device_1_KIT_...

https://www.infineon.com/dgdl/Infineon-AURIX_I2C_Read_Ext_Device_1_KIT_TC297_TFT-Training-v01_00-EN....

Best Regards.

View solution in original post

0 Likes
2 Replies
lgacnik97
Level 2
Level 2
10 replies posted 5 replies posted 5 sign-ins

Refer to open source libraries from Infineon (iLLD) available as open-source on GitHub. I'm currently working on TC3XX I2C myself and I use it as support material for this project.

Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Hi,

There is no I2C  Aurix Development Studio example directly available for the TC212  kit. You can use the example available for the TC297 kit as a reference.

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/I2C_Read_Ext_Device_1_KIT_...

https://www.infineon.com/dgdl/Infineon-AURIX_I2C_Read_Ext_Device_1_KIT_TC297_TFT-Training-v01_00-EN....

Best Regards.

0 Likes