Hello everyone.
I have a problem using ADL I2C operation routines on a Q2686 module with Wavecom OS 6.60…
The ADL user guide mentions that adl_busSubscribe() function can be used to subscribe to up to 8 I2C handles concurrently. My project requires I2C communication with more than 8 I2C devices so the only way to work it out is to subscribe for an I2C device each time I need to communicate with it, perform the I2C communication and then unsubscribe to free the handle…
The problem is that after a short while of operation the unit resets… When I use my own routines for I2C bus communication (handling the appropriate GPIO ports myself instead of subscribing to ADL I2C bus operation) no reset occurs but the I2C bus speed is extremely slow… When I use ADL routines to communicate with only one I2C device (without calling adl_busUnsubscribe() function) everything works fine and definitely faster than when I use my own routines for I2C bus communication…
I suppose that the memory allocated by adl_busSubscribe() is not properly released by adl_busUnsubscribe()… Has anybody faced a similar problem?
Thanks in advance…
George