Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
PRAVEEN1
Level 1
Level 1
5 likes given First like given 5 questions asked

Hi,

I am working with the TC334LP32F200FAAKXUMA1 microcontroller. How can we implement I2C for this controller? Since there is no physical I2C hardware available, can we implement software I2C? Could you please share sample code for I2C?

Thanks in advance.

0 Likes
1 Solution
Erick_G
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 25 solutions authored

Hi @PRAVEEN1,

There is no code example for a I2C implemented in software, only for the I2C hardware module. You can try bit banging the protocol by using a CPU to generate the protocol and use the the Timer Output Module (TOM) channels to send the data.

Best regards,

Erick

View solution in original post

0 Likes
2 Replies
PRAVEEN1
Level 1
Level 1
5 likes given First like given 5 questions asked

hi, available software i2c code?

0 Likes
Erick_G
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 25 solutions authored

Hi @PRAVEEN1,

There is no code example for a I2C implemented in software, only for the I2C hardware module. You can try bit banging the protocol by using a CPU to generate the protocol and use the the Timer Output Module (TOM) channels to send the data.

Best regards,

Erick

0 Likes