
Testing
Test the TWIS slave and TWI master mode drivers example application by performing the following steps:
- The pins should be shorted as described above.
- Compile and program the application.
- 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
- Read the welcome message.
- After each command below, check if the following warning appears:
WARNING: EEPROM transmission error detected. - Send p command. Data read from the simulated EEPROM should contain values from 0x7f down to 0.
- Send w command and write any string longer than 8 characters. Hit Enter.
- Send p command again and look to see if your string is at the beginning of the memory.
- Send c command to clear EEPROM.
- 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.