FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: Configuration of the FT233HPQ Eval board for external Vin  (Read 16920 times)

kjanos

  • Newbie
  • *
  • Posts: 4
    • View Profile
Configuration of the FT233HPQ Eval board for external Vin
« on: March 24, 2023, 12:41:32 PM »

Hi there,

Can you explain me the method how to apply and use external Vin on this board. In the factory config the "Pass through mode" is active and when I connect an PD delivery capable charger to PD2 (sink only) port then its PDOs are offered to the device  connected to PD1. Hence, a power swap is initiated and the device connected to PD1 becomes a sink at the end. On the contrary, if I connected an external voltage to Vin or a non-PD capable charger to PD2 nothing happens. Obviously I need to switch of the "Pass through mode", but what else is needed to initiate a power swap on PD1?

Thanks,
Janos
   
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: Configuration of the FT233HPQ Eval board for external Vin
« Reply #1 on: March 27, 2023, 01:37:23 PM »

hi Janos,

I am currently speaking with the R&D team about this. I will get back to you as soon as possible.

Best Regards

FTDI Community
Logged

kjanos

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Configuration of the FT233HPQ Eval board for external Vin
« Reply #2 on: March 28, 2023, 02:57:03 PM »

Hi,

Meantime I was able to figure out that using "External DC enable" solves the problem. If the 5V power turns on the FT232HPQ initiates a power role swap and becomes power source. This is good.

 However, if I remove the DC power then the FT233HPQ shuts down (becasue it has no power). As soon as it lost the power, it will turn ON again and becomes a power sink. It negosiates the power and when this negotiation finished it again initiates the power swap (even though it has no DC power) so it will shut down once again and this loop runs forever.

I have a simple application which I would like to solve using FT233HPQ:

The FT233HPQ PD1 port is connected to the DRP device (a smart phone) which continously provides data and also sources the power to my device. Additionally, there is an ocassional external 5V power source which should be used to charge the phone. So if the 5V is present the FT233HPQ should become a source and should feed the smartphone. On the contrary if teh 5V is lost the FT233HPQ should immediately become a sink again and should be fed by the smartphone. Can I realize this operation using the proper configzration of the external EEPROM or I should use an external MCU and control the FT233HPQ via I2c?
Is there a documentation on the I2C control of the FT233HPQ?

Thanks,
Janos

Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: Configuration of the FT233HPQ Eval board for external Vin
« Reply #3 on: March 29, 2023, 11:11:08 AM »

Hi Janos,

This can be done through configuration change. The occasional external 5V source has to be on PD2 port for this purpose. The device can be configured such that when there is a PD2 supply, PD1 can initiate role swap.

Best Regards

FTDI Community
Logged

kjanos

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Configuration of the FT233HPQ Eval board for external Vin
« Reply #4 on: March 29, 2023, 02:22:53 PM »

Hi,

Thank you for the answer. The power ON side is working (5V appears at PD2 -> this initiate a power swap on PD1). Can you say something on the opposite? Is it possible to initiate a power swap again to prevent resetting of FT233HPQ?

Can you provide a document on the I2C programming of the FT233HPQ?

Thank you in advance.

Janos
 
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: Configuration of the FT233HPQ Eval board for external Vin
« Reply #5 on: March 29, 2023, 04:15:47 PM »

Hi Janos,

if you could email support1@ftdichip.com i can send you an xml file we created for the configuration you are looking for. I can also give you more information about the I2C programming.

Best Regards

FTDI Community
Logged

kjanos

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Configuration of the FT233HPQ Eval board for external Vin
« Reply #6 on: March 30, 2023, 02:50:43 PM »

Hi,

Thank you. I sent out the email.

Janos
 
Logged