TLV493D and Raspberry pi I2C communication

Announcements

Measure CO2 When It Matters - Infineon’s XENSIV™ PAS CO2 now comes in SparkFun Red. Check it now!

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

cross mob
lock attach
Attachments are accessible only for community members.
User15938
Level 1
Level 1
First question asked
I want to try TLV over I2C with RaspberryPi. I have got the following guide which mentions how to start communication.
Just a question that weather smbus or smbus2 supports all the operations needed for data transfer in the form of bits or bytes?

Any other suggestions?
0 Likes
1 Solution
Yashraj_P
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 25 likes received

Hi @User15938 ,

Yes you need to install smbus for communicating to the TLV493D using RaspberryPi via I2C
You need to enable I2C, in Interface Options by using sudo raspi-config on your terminal window.
Then install smbus using following commands:

pip install smbus
sudo apt-get install -y python-smbus i2c-tools

Thanks and regards,
Yashraj

View solution in original post

0 Likes
1 Reply
Yashraj_P
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 25 likes received

Hi @User15938 ,

Yes you need to install smbus for communicating to the TLV493D using RaspberryPi via I2C
You need to enable I2C, in Interface Options by using sudo raspi-config on your terminal window.
Then install smbus using following commands:

pip install smbus
sudo apt-get install -y python-smbus i2c-tools

Thanks and regards,
Yashraj

0 Likes