Poll

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, sla

Kionix 124-1051
0 (0%)
nRF52832
0 (0%)

Total Members Voted: 0

Author Topic: Getting a NACK from slave device communication through IIC  (Read 573 times)

0 Members and 1 Guest are viewing this topic.

Offline Nirupama.TTopic starter

  • Newbie
  • Posts: 1
  • Country: in
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.
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9963
  • Country: us
Re: Getting a NACK from slave device communication through IIC
« Reply #1 on: May 03, 2019, 04:18:09 pm »
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf