Hi All,
I am Using the Ni8452 with the C-Api in order to emulate an i2c-slave device (For now this is an EEProm). Currently I am facing the issue that the NI-8452 Slave stops working correctly after i get a repeated start condition from the master in a specific situation. It happens only when the master wants to write something to the slave with a repeated start condition after he reads from the slave.
Furthermore i get no "WriteCompleteEvent" after the "DataRequestedEvent" in the API when the repeated start condition occurs. Instead a "NoEvent"-Event follows the "DataRequestedEvent".
Additionally the green LED of the ni-8452-Device stops blinking and indicates that the slave is not running (but i can Stop and start the slave again with the ni845xI2cSlaveStop() and ni845xI2cSlaveStart() - Functions without any error(returncode=0).
Additionally no error occurs in the API when i call ni845xI2cSlaveWaitForEvent() while the green LED is not blinking(i2c-slave not active), after the above condition(repeated start) occurs and the LED stopped blinking. In all other situations the api shows an Error(returncode!=0) when trying to execute ni845xI2cSlaveWaitForEvent() when LED is not blinking respectively not started.
Is this(Repeated Start Condition(with write to the slave) directly after master reads from the slave) supported?
Best Regards
jw97