Skip to main content
Visitor II
February 19, 2018
Solved

M24SR NAK on last byte

  • February 19, 2018
  • 1 reply
  • 640 views
Posted on February 19, 2018 at 18:29

Hello Everyone,

            I've got some strange behavior on the M24SR tag that I'm using. The last byte of an I2C data transfer either to or from the chip is being NAK'ed and looks to be throwing off the HAL drivers in the STM32 that I'm useing to talk to it. Is this expected behaviour or is it behaving oddly and if it is oddly then does anyone have any ideas. An example of what I'm seeing is attached.

Thanks

Luke

0690X00000609k7QAA.png
    This topic has been closed for replies.
    Best answer by waclawek.jan
    Posted on February 19, 2018 at 20:50

    It's the master who acknowledges read... so if STM32 is the master, it's STM32 (and the software it is running) which performs the NAK at the end.

    JW

    1 reply

    Super User
    February 19, 2018
    Posted on February 19, 2018 at 20:50

    It's the master who acknowledges read... so if STM32 is the master, it's STM32 (and the software it is running) which performs the NAK at the end.

    JW