This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SMBus Quick Read/Write on TWI (I2C) Unit?

Is it possible to send an SMBus quick write and quick read using the TWI hardware?

The sequence is:

<START><ADDRESS><R/W><ACK><STOP>

I can send the address, but I don't seem to have an event that detects the ACK on the address without actually sending a byte.  (I can, however, detect a NACK just fine).

Thanks.

Parents Reply
  • I'm on the nRF52.  So, basically what you're saying is "No, you can't do that".

    That's going to make communicating to my chip really miserable.  Disappointed

    On read, I seem to get a BB event but I also seem to get a garbage byte clocked out.  ie. the NRF_TWI_SHORTS_BB_STOP_MASK doesn't fire immediately after the address.  It's possible I screwed it up, but it's probably not worth running down if I can't do this on write anyway.

    Thanks for the answer even though it's negative.

Children
No Data
Related