

I will be referencing the FT230X chip functions that are configurable.

It is advisable to have the FT230X datasheet open while doing the walkthrough.
FTDI FT230X PDF DRIVERS
To program the FT230X (and other FTDI devices) the part needs to be powered up and connected with a USB cable to a computer.īefore trying to connect an FT230X to a computer make sure to snag the VCP drivers and install. FT-Prog can configure the FT230X and add more functionality to the FT230X. FT-Prog is a utility to program the EEPROM on FTDI devices. I haven't used any but I think some are also designed to work with batteries.I mentioned FT-Prog in my last blog post. In a dual-power role, these muxes will prefer self power, and only switch over to bus power when there is no self power, and they are able to indicate to the MCU which power source is in use right now. The keyword here is that you don't want self powered or bus powered, you want dual power. TI has an excellent selection of muxes that will automatically switch between two voltages sources, depending on which are available. With that out of the way, the next step you will probably need is something like an auto-switching power mux. If they did enforce the current restrictions, someone's not-quite-good-enough device might work on one host controller but not another, and the consumer is likely to blame the computer/host controller for not working with a bad device, rather than blaming the manufacturer of the bad device. There's always 5V on VBus when the computer is suspended - otherwise, remote wake up would not be possible - and most host controllers don't really enforce the Suspend current restrictions. So, like Passerby said, you really don't have to worry about not going into suspend mode. Now, there are other types of suspend, but they are generally optional. Otherwise, there's almost always some traffic flowing on the bus (e.g.
FTDI FT230X PDF PC
In my experience, the bus only suspends when the PC is suspended. It isn't quite so much "when no data is being transferred", but "when the data lines are idle for an extended period of time". So my question is this, how do I implemented a bus and self powered device that can drain 200mA from the host for charging even when no data is being transferred?įirst you should try to understand USB Suspend. Below is what I have so far, the idea was that configuring CBUS3 as a keep_awake that would prevent it from going to sleep (as I understand it), this would cause it to always be active though, even when self powered: VBAT is guaranteed to always be 3.3V - 4.2V. Since most of my design operates from 3V, I want the FT230X to interface from this level as well. What I suspect might be a problem is USB suspend mode, which states that if no data is transferred for a set period the USB device should reduce power. It will be powered from a single cell LiPo and has some protection circuitry to prevent over discharging.

My current design will be mostly self powered but will connect to a PC for data dumps and charging (200mA). But they also mention that it's possible in the documentation. FTDI recommends not mixing bus and self powered designs.
FTDI FT230X PDF SERIAL
I'm trying to wire up my first device using an FTDI USB to Serial converter.
