Electronics > Beginners
Getting a NACK from slave device communication through IIC
(1/1)
Nirupama.T:
Hi all,
I am trying to communicate with Kionix 124-1051 in my nRF52832 board using IIC. The slave is not responding after sending the slave address. I have checked all the possible conditions to make this work. Every time i get the same result. Clock, slave address, etc are all correct. But i don't know what's the problem. Any help could be appreciated.
rstofer:
Without a scope shot or perhaps a logic analyzer capture, we're going nowhere.  Seriously!  I2C is the absolute worst protocol to deal with in terms of getting it going and doing it blind is nearly impossible.  I avoid it at every opportunity.

When I have had problems, it was because a) I didn't formulate the address field correctly or b) the address didn't match the device or c) the pull-up resistors weren't small enough.

None of this may apply in your situation but it's something to look at.

Search the forums for logic analyzer recommendations.  There are many from China that work with the SigRok software.
Navigation
Message Index
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod