Questions tagged [ftdi]

FTDI is the manufacturer of (a.o.) a popular UART to USB bridge.

Further reading
USB Hardware Design Guidelines for FTDI ICs, FTDI Application Note 146.

298 questions
23
votes
2 answers

How does an FTDI chip work?

Someone asked me the other day how an FTDI USB to serial UART works, and I realized I didn't know. I looked at the datasheet for the FT232R and the block diagram didn't really help me. Can anyone explain or link me to a good explanation?
aloishis89
  • 1,660
  • 3
  • 13
  • 20
14
votes
2 answers

Serial newbie: why can't I just hook the wires up?

I'm trying to transmit from an ATtiny85 to a PC using Arduino-esque code over a USB-Serial converter without understanding very much of anything. I was shocked and appalled that it did not work. I confirmed that the tiny is flickering the voltage…
Jack Schmidt
  • 2,025
  • 2
  • 18
  • 24
13
votes
3 answers

Is using the CH340G on a commercial product a horrible idea?

I'm developing a niche product that will be produced at a fairly low volume (low hundreds). I'm using an Atmega uC, and one of the requirements is the ability to be field-flashable by the user. My plan is to use the Arduino bootloader with a…
willem.hill
  • 434
  • 4
  • 13
11
votes
1 answer

Separating USB/MCU power buses

There are two power supply sources in the following diagram - USB and 12V. Only one power supply can be connected at the same time. I am trying to disable power to FT232 whenever 12V is plugged in. In that case FT232 should not be powered, but MCU…
Pablo
  • 1,551
  • 3
  • 20
  • 41
10
votes
2 answers

FTDI FT2232H (USB <-> UART) baud rates?

Anyone used one of the FT2232H chips from FTDI? Specifically, how do you figure out the permissible baud rates? The data sheet is kind of vague, and I have to pick something in the 1-3 MBaud range but need to know what my options are.
Jason S
  • 13,950
  • 3
  • 41
  • 68
10
votes
2 answers

How to detect fake FTDI chips?

Apparently, there are some counterfeit USB/Serial FTDI chips on the market. Searching the web one finds people comparing fake/original ones via opening them mechanically/chemically. But how to detect fake ones less intrusively? I mean, the infamous…
maxschlepzig
  • 426
  • 5
  • 17
9
votes
3 answers

Arduino reset with FTDI breakout question

How do you get the SparkFun FTDI Basic Breakout board to auto reset? I still have to hit the reset button for any Arduino clones when I use the breakout board. I have tried connecting to the DTR pin and other methods of trial and error but I am just…
ArduinoFun
  • 555
  • 1
  • 4
  • 10
9
votes
9 answers

Programming an ATmega328 with Arduino bootloader via a FTDI USB-serial adapter

I would like your advice relating to using the Arduino IDE and avrdude to program an ATmega328 which is preloaded with an Arduino bootloader. I am using a USB to TTL-serial breakout board based on an FTDI chip. I bought a "FTDI Basic Program…
Ethienne
  • 167
  • 2
  • 2
  • 10
8
votes
3 answers

What is the purpose of capacitors and resistors in this USB bus?

Trying to understand the purpose of the capacitors and resistors in this bus powered configuration for the FTDI chip, I think the capacitors are for filtering high frequency noise, not sure what the resistors for though, maybe line termination ?
mux
  • 1,866
  • 5
  • 23
  • 27
8
votes
1 answer

How do USB to serial adapters work?

I'd like to know how a USB to serial adapter (such as the FTDI FT232RL chip) works. The way I think it does is the following: Picture a system composed of a MCU, a USB to serial adapter and the PC host. The MCU communicates with the serial adapter…
SparkWire
  • 83
  • 6
8
votes
2 answers

Receiver issues on STM32H7 interrupt-based SPI

I want to configure a simple interrupt-based SPI slave transmitter/receiver on a STM32H7 MCU. Even though I have quite a bit experience with the older series of STM32 ARM MCUs, it seems that a lot of things are different for the H7 series and it…
K.R.
  • 591
  • 7
  • 15
8
votes
2 answers

Why FTDI and not AVR with built-in USB controller?

I made a simple program in Visual C# which communicates with AVR via FT232RL chip. PC <-> FTDI <-> MCU. I am using FTD2XX_NET.dll for direct access to USB Device. I'm wondering, what's the difference between a pair of FTDI-AVR and a single AVR with…
MrBit
  • 1,973
  • 4
  • 27
  • 54
7
votes
1 answer

USB hub and slave on same pcb - are serial resistors and capacitors needed?

I'm building a device using TUSB2046B hub controller 4x FT230X USB to UART controller First, let's look on Hub controller sample application: Note D: All USB DP, DM signal pairs require series resistors of approximately 27 Ohm to ensure…
peku33
  • 395
  • 3
  • 12
6
votes
4 answers

Recommendation of a USB-to-RS-232 chip for an industrial environment

I have bought a device which has an ATmega microcontroller and an FTDI chip which connects to a computer through USB. The FTDI is used only as an RS-232-to-USB adapter. My problem is that this device hangs up the PC when some of the machines are…
drzymala
  • 247
  • 2
  • 10
6
votes
2 answers

Testing an FTDI chip

I have an FTDI chip (reference manual here) that translates USB from a PC to an SPI channel connected to an FPGA. I would like to test that the communication path between the PC and the FPGA is functional. Probably the easiest approach would be to…
Randomblue
  • 10,953
  • 29
  • 105
  • 178
1
2 3
19 20