You can feed USB Vbus through a divider into an input line on your MCU and your code can use this signal to tristate it's connections to the RxD and CTS lines of the FT230X (since these are both outputs from the MCU) so that you don't have leakage from the MCU to the FT230X in their idle high state. The second and third options will use power from the USB port and so won't use as much battery power. Description The FT230XS is outfitted in SSOP-16 packaging. It is based on theFT230XS from FTDI Chip.
If you use the first option, you can use the VBUS Sense CBUS line to sense USB Vbus through a voltage divider to put the device in a low power suspend state when no USB host is present. This USB to serial converter project is easy to build, it is simple and inexpensive.
Power VCC from USB 5V and power VCCIO from a regulator sourced from USB 5V (bus powered config) giving 3v3 or 1v8 VCCIO. Power VCC from USB 5V and power VCCIO from 3v3OUT on the FT230X (bus powered config) Power VCC, VCCIO, 3v3out from a 3v3 rail in your device (self powered config) Replacement of small bridge chip is simpler than replacement of microcontroller.The VCC and VCCIO supplies should power on and off together and so should be supplied from the same overall source (even if VCCIO is derived from a regulator, this regulator should have the same source as VCC). ESD or overvoltage spikes on USB bus can damage bridge instead of microcontroller.
If it is only required to replace RS232 serial interface to USB, is worth considering using of FTDI TF-X series USB. Even in this case, programming USB communications may not be a trivial task. According to Application Note AN120 from FTDI, the baud rate generators of all these chips have 8 sub-integer prescalers.
I am using them as a VCP on Linux (Ubuntu 18.04). Manufacturers provide source codes for USB device classes like CDC, HID, Mass storage and DFU. Hello I have three chips FT232BL, FT232R and FT230X.
ĝrivers for Windows, Mac OS-X, Linux and Android for free.Communication through UART, I2C or SPI is less resource demanding than implementation of USB CDC device class Lower requirements for microcontroller resources.ĝetection of connection to DCP (Dedicated Charging Port) USB port.No USB specific firmware programming required. Ğntire USB protocol handled on the chip.If it is only required to replace RS232 serial interface to USB, is worth considering using of FTDI TF-X series USB to serial bridge. It has been designed to operate efficiently with USB host controllers by. It simplifies USB implementations in a small optimised package with minimum UART signals and reduces external component count by fully integrating an MTP memory and an integrated clock circuit which requires no external crystal. FT230X is a USB to UART interface with a battery charger detection feature, which can allow batteries to be charged with a higher current from a dedicated charger port (without the FT230X being enumerated). The FT230XS-R is a compact USB to a basic serial UART interface device in 16 pin SSOP package. Manufacturers provide source codes for USB device classes like CDC, HID, Mass storage and DFU. for FTDI’s FT230XQ, one of the devices from FTDI’s range of USB interface bridging integrated circuit devices. Microcontrollers with USB interface are common nowadays.