I need your help please.
I'm working now on CY8CMBR3108 module.
I need to configure the CY8CMBR3108 module through the I2C bus
I used the EZ-Click 2.0 SP2, to generate the configuration file (attached file) for my project.
At the initialization through the I2C frames:
1. The device is checked:
result: A valid MBR3 device is connected on I2C bus
2. An I2C request is sent to read CTRL_CMD register.
result: The read command is 0, so the Device is not busy.
3. Through I2C bus, the frame to configure the Touch Controller is sent (Frame length = 129 Bytes). The configuration used is attached to this message.
result: No error is detected during the tramission of the frame.
4.A SAVE_CHECK_CRC command to validate the new configuration data.
result: No error is detected during the tramission of the frame..
5. After 300 ms, An I2C request is sent to read CTRL_CMD register.
result: The read command is 0xFF, so the Device reset itself.
This is my issue: At step 5: Even after waiting 3 or 5 seconds, the device stays in "reset itself" status.
1. Why this issue occurs ?
2. How to fix that please ?
Thanks by adavance.
I fixed my issue.
It was due to my delay function after sending the SAVE_CHECK_CRC command.