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

Can't read write to EEPROM with nrf52480 SDK example 'twi_master_with_twis_slave'

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Ftwi_master_with_twis_slave_example.html

Testing

Test the TWIS slave and TWI master mode drivers example application by performing the following steps:

  1. The pins should be shorted as described above.
  2. Compile and program the application.
  3. Start a terminal emulator like PuTTY and connect to the used COM port with the following UART settings:
    • Baud rate: 115.200
    • 8 data bits
    • 1 stop bit
    • No parity
    • HW flow control: RTS/CTS
  4. Read the welcome message.
  5. After each command below, check if the following warning appears:
    WARNING: EEPROM transmission error detected.
  6. Send p command. Data read from the simulated EEPROM should contain values from 0x7f down to 0.
  7. Send w command and write any string longer than 8 characters. Hit Enter.
  8. Send p command again and look to see if your string is at the beginning of the memory.
  9. Send c command to clear EEPROM.
  10. Send p command again and see if all values are 0xff.

I have performed above mentioned steps and am getting error after 5th step and rest of the steps are not responding with an expected values.

Related