This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AGSI I2C interface

Hi folks

I like to use the simulator for testing parts of the software.
A DLL handling the I2C 'world' is running, but can't read data.

I have a problem with the interrupts after sending the device address.
Start-condition works
Address-interrupt happens.
But then the real hardware clocks 8 bits plus Ack or NACK into the processor and the next interrupt happens.
So here is my problem putting 9 bits into the VTREG.
Values from 0 to 255 are data.
Value FF00 is ACK
Value FF01 is NACK

So I don't know how it's work.
How should I return data and the ACK/NACK with one interrupt inside the AGSI-Call?

I know You know ;-)
Günter

0