Hot answers tagged

8 votes

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

There is an Apple supplied driver for the CH340 included the recent versions of MacOS. "AppleUSBCHCOM".
Kevin White's user avatar
  • 32.9k
7 votes
Accepted

FTDI USB/TTL-serial converter - what are TXD, TXL, RXD and RXL?

If the SparkFun FT232RL Breakout is anything to go by, then the TXD and RXD pins are physically connected to the ...
Tom Carpenter's user avatar
7 votes

Disadvantages of Buying FT2232H Chips of Uncertain Origin

I would recommend you to buy something else. FTDI is known for their practices, they're updating their drivers so they brick/damage non-genuine chips. It's not worth to buy FTDI chips from china (...
Chupacabras's user avatar
  • 5,434
6 votes
Accepted

Question about FTDI USB-to-Serial Evaluation board

The FT232 chips are USB-UART bridges that act as USB devices. From your description, you want it to act as a USB host. That won't work.
Matt Young's user avatar
  • 13.8k
6 votes
Accepted

auto reset an Arduino using ftdi - DTR signal stays low and needs to go high after 1-50ms

This is the schematic of the Arduino pro mini and take a look at the reset mechanism: There are two ways to reset the device: By holding down the reset push-botton/switch or by driving the line (DTR ...
Big6's user avatar
  • 5,634
6 votes
Accepted

What is a FTDI chip? How does USB communicate with Arduino?

What is a FTDI chip? It's a chip made by Future Technologies Devices International, http://www.ftdichip.com. They seem to specialize in chips that connect directly to USB, then offer a different ...
Olin Lathrop's user avatar
6 votes
Accepted

USB to I2C for a beginner

No. What is needed is a USB chip than can act as a I2C master. FT200XD is a I2C slave chip, so it cannot be used as a master to talk to another I2C slave like the BME280 in the question.
Justme's user avatar
  • 143k
5 votes
Accepted

Convert TTL levels to RS232 of FTDI USB<->Serial

If you want to talk over USB it would be far faster and easier to just buy one of the many USB->RS232 converter cables than to mess around making that into one. I've seen them for as low as $7 USD ...
whatsisname's user avatar
  • 1,434
5 votes

Programming microcontroller using UART

Firstly, how is the first micro programmed to begin with? In the factory with a programmer. Secondly could I use an FTDI usb to serial chip to do the same thing? The Atmega328 can be programmed ...
Oldfart's user avatar
  • 14.3k
5 votes
Accepted

UART printing gibberish to the terminal when the STLink Debugger is not connected

I would verify that you have a good ground from the DUT to the FTDI converter cable. You could have a situation where the ST-Link is ground referencing your system to the host PC.
Luke Gary's user avatar
  • 1,065
4 votes
Accepted

Prevent bit-bang data-in line from back powering device?

Add a series resistor such as 10K to the input signal line only, which will limit the current without slowing down the signal too much. Unrelated, but you may wish to add a 100K pullup to establish ...
Spehro Pefhany's user avatar
4 votes

Convert TTL levels to RS232 of FTDI USB<->Serial

Simple answer: No! You need a level converter, something like a Maxim MAX232 IC to convert from TTL (0-5V) to RS232 (+/-12V ish) signals
Icy's user avatar
  • 2,253
4 votes

Intel 8052 (and friends) minimum set up

Intel 8052 has factory programmed mask ROM whose contents cannot be changed. Since you didn't order these chips from the factory, you don't know what firmware is inside. You will need at the minimum ...
PkP's user avatar
  • 7,647
4 votes
Accepted

Make FTDI 2232D do SPI mode 1 properly? Data seems 1/2 clock cycle off

I got a response from FTDI technical support: The FT2232D and FT2xxH MPSSE devices only support SPI Modes 0 and 2. Some customers have tried using 3 phase clocking, but have not been successful. ...
wallyk's user avatar
  • 173
4 votes

FT232HL FTDI consecutive SPI bytes delay problem

I usually work with the FT2232H chip, but I dug out an FT232HQ chip out just so I could check out this issue you were having. It's the same chip as the FT232HL chip you have, just in a QFN package ...
techdude's user avatar
  • 163
4 votes

RS422 Receiver Not Reporting Errors When Too Few Stop Bits

A framing error is a logic low in the STOP bit position, rather than the correct logic high. The STOP bit position is 'n' bits after the START bit (logic low). 'n' depends on if you're using 8-bit or ...
TonyM's user avatar
  • 22.7k
4 votes
Accepted

Garbage on RS232 and no the baudrate IS correct

You have a USB to serial converter provides a serial interface that uses 5V or 3V TTL/CMOS voltage levels. The Vaisala device provides a serial interface that uses RS-232 voltage levels. These are ...
Justme's user avatar
  • 143k
4 votes

Connect two computers with USB using two FTDI chips

SLIP and PPP were designed for this very purpose: IP connections over serial links. Just get the two adapters and connect them with a ‘null modem’ (crossover) cable, set up pppd or slipd. Done.
hacktastical's user avatar
  • 52.7k
4 votes
Accepted

What is the purpose of ferrite or inductor on the voltage input of FTDI chip?

My plan is to ignore it, but I am afraid it might be important for the stability of this chip Ignore at your peril: - If you google around for USB interface circuits that use this chip, you'll ...
Andy aka's user avatar
  • 451k
4 votes
Accepted

How is the output of this circuit RS232?

how does this circuit output RS232? The specific device is a MAX3241 (not MAX324) and, if you read its data sheet you will see that inside the chip are voltage supply circuits that can produce ...
Andy aka's user avatar
  • 451k
4 votes
Accepted

Can FT232HL VCCIO be powered from external source?

In short, yes, you can fully power the FTDI chip with only 3.3V from the MCU to build a self-powered USB device as depicted in datasheet Figure 6.3. You can use external supply for VCCIO, but then it ...
Justme's user avatar
  • 143k
3 votes

How can i make a 3.3v ouput from 9v battery?

The easiest way would be to buy a 3.3V voltage regulator. You can find a large amount of different ones. This is one example. The regulator will take in the 9V input (and a ground signal) to produce ...
Adam Z's user avatar
  • 768
3 votes

Need the pinout for this noname FTDI board

Get the FT232R datasheet and trace the pinout from the chip. The dimple in the chip is closest to pin 1. I'll do the first one for you, Pin 2 = Receiving Asynchronous Data Input which is the first pin ...
Voltage Spike's user avatar
  • 81.1k
3 votes
Accepted

How to connect a TVS to protect the data lines in a USB device port?

This style of TVS is intended to be either connected to a power rail, or to be connected to ground only. In that second mode, a positive transient pulse will go through the top-side diode, then break ...
Daniel's user avatar
  • 6,178
3 votes

Different behavior of FTDI USB RS485 on different computers

I encountered exactly the same problem: FTDI based USB<>RS485 converter (brand is "DIGITUS"), running at 57600bps, working on some machines properly and on some it send bigger chunks of data very ...
Ein Gast's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible