AnsweredAssumed Answered

InternalI2C Component and Functions

Question asked by burgeh on May 10, 2018
Latest reply on May 18, 2018 by burgeh



I have a question regarding the InternalI2C component with the KDS processor expert. I am using the K22 FRDM board. I am trying to use this component for I2C communication, with not a completely standard protocol. I am required to send the device address to the sensor to wake it up. I am then to wait around 1ms before issuing the stop flag. However, I have noticed that after issuing sendblock method if I use a wait function or any other function the I2C lines issue a stop signal right away. For example I issue the sendblock it sends the data, I call a wait for 1ms, but right once it is called (before it waits 1ms) it issues the stop. I tried using dummy functions to check if it was just the wait function, but it appears to be whenever any function is called.


So my question is, is there anyway to get around this? Somehow set the function to be non-blocking of sorts?