FTDI Chip Questions

I've designed and have a working microcontroller board running a ATMEGA328P (It's basically an upgraded Uno board) and it uses a FT230XS for programming. HOWEVER. It does not automatically reset the board when uploading so has to be done manually. I want to know whether the FT230XS RTS, RESET, or CTS pins can be used to accomplish that?

Apart from that, this board is awesome! I'll share photos elsewhere.

This is only a prototype, I might end up using a FT232HL which should work as expected.

1 Like

Find a schematic of a Uno or Nano and look how DTR from the USB/UART chip is connected to the reset pin.

Edit.
Sorry. I've just seen that DTR is not broken out on your chip.

1 Like

Yes, otherwise I would have connected it. It's a nice cheap chip, but not as good as the FT232RL

You can try RTS.

1 Like

Avrdude triggers RTS as well as DTR....If it didn't all those CH340E boards wouldn't work.

So I would recommend RTS....Do you have a pad on the board to make adjustments easier?

1 Like

I've got to make a new board anyway, various other issues...

New boards can be a bit of a pain....

Why is that? I get dozens of boards all the time.

It does look like the suggestions of using RTS instead are good.
I found this at CH340E USB-UART converter - EasyEDA open source hardware lab

image

Unfortunately there is a typing error and the RTS pin is labelled RST (which does not inspire confidence) but this is from the data sheet:

image

2 Likes

Newly designed boards....Always seem have a problem, mostly something overlooked.

With me that is....:nerd_face:

1 Like

As @theeccentricgenius wrote, avrdude triggers RTS and DTR for 200ms. In your case only RTS is available. CTS should be tied to GND with cca 1k pull-down resistor.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.