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.

I2C product with PWM input for LIGHT-TO-FREQUENCY (LIGHT SENSOR) application

Other Parts Discussed in Thread: LM8330, TCA6408

Dear Sirs

Does TI provide I2C product portfolio with PWM input?

The application is LIGHT-TO-FREQUENCY (LIGHT SENSOR).
The output of LIGHT SENSOR is PWM output.
And My MCU only support I2C interface.
Thanks

I find some product like LM8330 but LM8330 only suport PWM output.

BRS

Nat

  • Hello Nat,

    You are looking for some IC that will take the output from your light to PWM device, and will bridge it to the I2C interface?

    In that case, we do not have anything that is designed to read a PWM input. However, you may be able to use an IO expander (such as the TCA6408) to measure the time between pulses. However, this will only work if your PWM switching frequency is very low.

    I2C is a slow interface, and if you have a semi quick switching frequency ( > ~10kHz), I2C will be too slow. You may need to look at SPI interface.

    However, I believe your best bet will be to use a GPIO on your MCU. This will allow you to measure the time between pulses most accurately.