Hello,I’m using i2c_RSLxx.c cmsis library for i2c communication.
As you can see screenshot, there is always stop condition which is generated from driver even if I make true at the driver like below.
i2c->MasterTransmit(register_add, start_conv, 2, false);
i2c->MasterTransmit(register_add, start_conv, 2, true);
Both code gives same result. Why that can happen ?
According to this explanation, it can not happen.
You can find this explanation at this link . (I2C Interface )
Thank you
Hi @ceran.omur ,
Please see the topic below where we address this issue and provide a temporary fix.
Hello,
I trying to use I2C on the RSL10 for take some data from sensors. I have an issue with the pending argument of the function I2C_MasterTransmit.
I start my code from the I2C_cmsis_driver example and I made a few change. First I remove all the call back from I2c and I had while(i2c->info->status.busy){} just before the return of the I2C_MasterTransmit() function. Like sugest in this post : RSL 10 I2C setup doubt
For testing, I plug an sensor with the adress 0x48 and in my main, I just …
This is caused by a bug in our CMSIS Drivers that we plan to address in future releases.
1 Like