Hey there,
I’m trying to integrate the Se050 with the LPC55S.
The physical connections are as follows:
- Host MCU -> Se050 -> Sensor (on I2C)
When the bus communications intervene between the Host MCU and Se050, i2c comms hangs.
The following sequence is applied to recover it
- I2C recovery using GPIOs
- Reinitialize the Se050 by executing the following sequence:
- sss_close_session()
- open_boot_session()
During the open session, I encountered an error indicating that the open session failed. With a retry mechanism and a 100ms wait period between each retry, if the first attempt fails, I’m able to communicate again with the Se050. However, to simulate this condition, we manually caused the I2C hang multiple times and discovered that the heap memory leakage when the reinit and open session fails with timeout error and or write nack error
Is this a known issue?
please provide any workarounds.