This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3101: OPT3101 operation related inquiries

Part Number: OPT3101


Hi, TI expert

A problem occurred during development using OPT3101 at a customer.
In the case of OPT3101, it reads and writes registers through I2C communication.
However, the read operation is working well through I2C communication, but there is a problem in the write operation through I2C communication.

At first, out of 6 samples under test, 2 samples read normally, but write operation was not in progress.

First of all, there are 4 samples that are working normally, so I decided to review the ones that are abnormal later, and I was testing initialization and calibration operations by referring to the SDK using a normally operating sample.

Occasionally, when it was found that the write operation did not work, if the write operation was executed again several times, it operated normally, so it was determined that the normal operation was not performed due to the unstable communication state.

Samples that were thought to be operating normally also found this phenomenon.

Although there is a deviation for each sample, the write operation is not working for about 14 to 21 seconds after reset.

It seems that there were a lot of phenomena that sometimes did not work during development, so this problem continued, but I didn't know it and thought it was communication instability.

So, I wondered if the product has a function such as Write Protect, and I inquired whether this phenomenon is occurring due to the wrong setting.

Q1) In what cases does this happen?

Q2) Is there any cause and solution to the problem?

Please check. Thank you.

  • Hi Grady,

    OPT3101 does not have a write protect function. Is this issue happening on a single device or have multiple devices been tried with the same issue occurring?

    Thank you,

    Brent Elliott

  • Hi, Brent

    A total of 6 Test Boards were created, and problems occur on all 6 Boards.

    I2C write operation does not work for a certain period of time after initialization by setting RST_MS Pin to Low and then to High after 1 msec.

    Although there is a difference for each board, the write operation is not working for 14 to 21 seconds after reset, and when I repeatedly test each board, the write operation does not work for a similar period of time.

    What's the problem?

    Would it be helpful to request a schematic from a customer and review it?

    Please check. Thank you.

  • Hi Grady,

    A schematic would be helpful. Also, do you have any information about the application?

    Thank you,

    Brent Elliott

  • Hi, Brent

    - Application: Logistics robot (floor detection sensor of logistics robot)

    The customer's circuit diagram is attached.

    6201.Schematic.pdf

    The circuit diagram is a circuit diagram with only the connection between the OTP3101 peripherals (including Emitter and Detector) and the MCU being used by the customer.
    (The circuit diagram for the external interface has been deleted)

    Please check.  Thank you.

  • Hi Grady,

    I took a look at the schematic and there doesn't seem to be anything wrong with the wiring for the I2C bus. Are they using the SDK to develop? If not, it will be difficult to troubleshoot I2C since there could easily be an issue with the software.

    Thank you,

    Brent Elliott