You need to log in to create posts and topics.

ATmega32A - TWI - Repeated Start

Hi,

SimulIDE_1.1.0-R250812_Win32, W7

ATmega32A, TWI

In Master Transmitter Mode, the status code of the ‘repeated START’ is 0x10.

SimulIDE returns 0x08 which is of the START condition.

The ‘repeated START’ is like the ‘START’, but it is usually sent after writing the address of the SEEP byte to be read or updated, when it is followed by the slave/SEEP address (SLA+R or SLA+W).

My workaround is to check the returned status if it is 0x10 or 0x08 to continue.

Thank you.

 

Yes, you are right, there is a problem here.
I will have a look.