Other Parts Discussed in Thread: Z-STACK
Hi,
I've my custom design using the CC2652 microcontroller, I've integrated sensors with different protocols and it works fine, I've created timers for reading an i2c humidity and temperature sensor, activating the timer when the sensor enters the zigbee network, the sensor read and the data is sent to the coordinator, the implementation is done as follows
The sensor reads fine for some time, until it doesn't take a good reading and the cc2652 locks up or stops communicating with the i2c sensor, the i2c.transaction error code is 9 correspondig to the i2c bus is busy, this always It happens at different times, I would like to know if there is any code solution to solve this i2c problem or if there is any error in my code implementation.
I use de SDK 4.3 version and the code is based in cc26x2r1 simplelight end device implementation.
Regards,
Jose.