I am working on a PCB board design. I am using an STM32 as processor and an FT232RL as a USB to serial UART interface.
If I make a circuit as in the attached schematic, can I transfer data with USB without problems?
New schematic:
I am working on a PCB board design. I am using an STM32 as processor and an FT232RL as a USB to serial UART interface.
If I make a circuit as in the attached schematic, can I transfer data with USB without problems?
New schematic:
USBDM, USBDP look good, just like the FT232R's datasheet:
The only problem may arise is the power source.
Do you intend to power your MCU from the PC or the MCU has its own power? You have connected the power of the PC to the PCB, this means you will power the PCB from your PC, so do not connect any other external power to the PCB if that is the case. Choose only one power option.
And a friendly note: Consider using a USB isolator to isolate your PC from the PCB, if your PCB has its own power. Example:
Image Source: My notes.
EDIT
I also think you may want to check if the TX/RX pins of your STM32 mcu are 5V tolerant. If not, you will need to check if Ft232RL supports a internal level converter for IO pins (to give 3.3V to TX/RX instead of 5V), if not, you may use an external level converter IC, or a level converter technique (with a diode and resistor look it up) or the cheapest option is a voltage divider, which Id not reccomend)
Based on your post and comments to other answers, the schematic is wrong as you are connecting 5V supply from PC and your local 5V supply together.
What you seem to want is the self powered configuration and there is an example schematic in the datasheet for that. Only difference is you might want to use 3.3V IO supply as your MCU pins may or may not be 5V tolerant. The chip still requires 5V VCC if you use the internal oscillator.