I2C Communication Problems (SDA Waveform)

Post Reply
purion
Posts: 3
Joined: Fri Nov 15, 2019 1:46 pm
languages_spoken: korean
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

I2C Communication Problems (SDA Waveform)

Post by purion »

I am controlling the module via I2C communication. But I noticed that some orders were ignored.
So I took a waveform with an oscilloscope. As a result, they found noise in the middle of the SDA waveform.
I want to check if this is a problem with my board or driver.


User avatar
odroid
Site Admin
Posts: 35841
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1293 times
Been thanked: 905 times
Contact:

Re: I2C Communication Problems (SDA Waveform)

Post by odroid »

Do you use the Shifter-Shield?
Or other level-shifter something like this?
https://www.hardkernel.com/shop/level-s ... v-to-3-3v/

What is the value of the pull-up resistors on the I2C bus?

purion
Posts: 3
Joined: Fri Nov 15, 2019 1:46 pm
languages_spoken: korean
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: I2C Communication Problems (SDA Waveform)

Post by purion »

I'm currently not using a level-shifter.
Is level-shifter required for i2c communication?
I use direct communication. Should I put a pull-up resistor in this case?

User avatar
odroid
Site Admin
Posts: 35841
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1293 times
Been thanked: 905 times
Contact:

Re: I2C Communication Problems (SDA Waveform)

Post by odroid »

If your I2C device can work with 1.8Volt power supply, you don't need a level-shifter.
You need two pull-up resistors on SDA and SCL on I2C interface.

Which devices are you trying to connect to I2C bus?

purion
Posts: 3
Joined: Fri Nov 15, 2019 1:46 pm
languages_spoken: korean
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: I2C Communication Problems (SDA Waveform)

Post by purion »

I connected the I2C bus with relay switch module(Circuit's register control).
I think it will be solved by attaching pull-up resistance. Thank you for the advice.

User avatar
odroid
Site Admin
Posts: 35841
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1293 times
Been thanked: 905 times
Contact:

Re: I2C Communication Problems (SDA Waveform)

Post by odroid »

If the module IO voltage level is not 1.8Vol, you will fry your XU4 board.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 0 guests