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.

PCF8575: current supplied from the expander is not enough (~100 uA).

Part Number: PCF8575
Other Parts Discussed in Thread: TCA9535, TCA9555

The data sheet seems to show that the IO expander is capable of supplying sufficient current ONLY during the write pulse. Otherwise, the current supplied from the expander is not enough (~100 uA). At first glance I thought that each output port provides around 25 mA.

 

I connected LEDs (15-20 mA Forward current, green and red with a 2V and 2.1V Vf) to the IOs and expected to get adequate brightness. That, however, didn't work.

  • Hi Aleksandr,

    The data sheet seems to show that the IO expander is capable of supplying sufficient current ONLY during the write pulse.

    The write pulse is on the I2C bus. When you save only supplying enough current during a write pulse, I don't understand how this would effect the output of the IO expander? 

    Otherwise, the current supplied from the expander is not enough (~100 uA).

    Correct, there is a built in internal pull-up current source with strength of 100uA. If you are using LED's, you may need additional pull-up connections. An example is shown in the typical application in the datasheet. 

    Note that the P-port output is responsible for setting the output node to GND by pulling it to GND through its push/pull driver circuitry. Depending on the value of the pull-up resistor, in this case 2kohm, the GPO may experience more or less current draw. Careful calculation of this 2kohm pull-up is required to avoid stressing out the output pin of the GPO causing it to draw more current than the absolute maximum condition (50mA). 

    Do you have a schematic to show how you are connecting your LED's? 

    Regards,

    Tyler

  • It appears you are trying to drive your LEDs from the anode. Invert the signal and drive them from the cathode, as shown in the typical application.

    Alternatively, use an I/O expander whose pins can be configured as full outputs, e.g., TCA9535.

    Please note that with any device, you must not exceed the continuous current through VCC or GND.

  • I'm looking at the block diagram and this is not clear why we have 100mA current source here?

    As I understand this correctly the writing pulse (one clock pulse) affects the output.

    This is gonna be a battery powered device where I'm driving anodes of these bi-color LEDs. So the TCA9535 looks as a good option. For this alternative however, the unused I/O pins should be outputs for avoiding pull-ups and pull-downs on it, right?

  • That is a typo; the current source actually is 100 µA.

    Yes, the unused pins of the TCA9535 should be configured as outputs. Or use the TCA9555, which has integrated pull-up resistors.

  • Hi Aleksandr,

    As Clemens mentioned, 100mA is a typo. This pull-up current should be 100uA. 

    As I understand this correctly the writing pulse (one clock pulse) affects the output.

    The state of the outputs change on a successful ACK bit from the device. 

    This is gonna be a battery powered device where I'm driving anodes of these bi-color LEDs. So the TCA9535 looks as a good option. For this alternative however, the unused I/O pins should be outputs for avoiding pull-ups and pull-downs on it, right?

    Yes. We recommend that unused outputs be left floating, or if left as an input, biased it through a resistor to GND or VCC. 

    The schematic looks good at all pins! 

    Regards,

    Tyler