-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2C read does not work on Artik053 #322
Comments
Please double check if your probe compensation is valid. See Tektronix manual for reference: |
The probe is rated at 200MHz, 10MOhm, <12pF. I checked it at the 1kHz supplied by the scope, it looked good. |
i2c worked for me on ARTIK055S (using IoT.js) I can share more details if it helps. |
Mistake I was confused you're talking about I2C I think I used ADC. |
Observed on ARTIK055s: log: adc: update: 3920 log: adc: update: 0xf50 log: adc: update: 0b111101010000 log: adc: update: 95% log: adc: update: 1779 log: adc: update: 0x6f3 log: adc: update: 0b011011110011 log: adc: update: 43% Relate-to: Samsung#322 Change-Id: Ib37c5209373d7bb93b186826a04c28696bb895e3 Signed-off-by: Philippe Coval <[email protected]>
Does i2ctool detect any item on bus ? You need to rebase on it to use it: |
I have some questions regarding I2C implementation on Artik.
How are devices that do not have registers (i.e.: pcf8574) supposed to be handled?
Details follow.
First, the i2c_read did not work for me: artik failed to put a transaction onto the bus (not even START has been generated, just three stray SCL pulses -- please note SDA is high all the time). Scope diagram:
Write works somewhat better, in the sense that there are correct transactions (with an exception) issued onto the bus:
This is what my test suite looks like:
BTW artik devboard I2C output rises slowly, at about 200ns (at 400kHz bus clock) to reach TTL 1. I wonder if this is of any relevance (scope diagram attached):
The text was updated successfully, but these errors were encountered: