SparkFun Forums 

Where electronics enthusiasts find answers.

FTDI / USB to serial. AVR programmers, etc.
By newbie123
Hello Everyone.
I want to use a SparkFun Serial Basic Breakout - CH340G to power an avr programmer (avr911 programmer) and communicate with the PC side at 115200 baud rate.
Both the avr and the target will be using 3.3V.

The avr programmer will take power from pin 4 of the CH340G (3.3V).

I have searched everywhere for a clear answer. The datasheet for the CH340 is in Chinese.
I have found some translations but they are not clear regarding the 3V output of the CH340G.
The datasheet on Sparkfun is not for a CH340"G". (it's for a CH340T, CH340R, CH340H, these are all 20 pin Ch340's).

Regarding the 3V3 pin, the datasheet says:
Code: Select all
connects of VCC to input outside power while 3.3V, connects of 0.01uF decoupling capacitance outside while 5V
I think that means that the 3.3V pin connects to the input of other devices (in my case the programmer and the programmers' target)

When using 5V, connect this pin to 0.01uF capacitor.

Basically the programmer and targets' VCC will be connected to this pin.
The CH340G will get power from the USB port (5V).

What I am wondering is:
What will the logic levels out of the CH340G be?

If the programmer expects 3V logic levels on the RXD pin and the CH340G outputs 5V logic levels wouldn't that destroy the input? I don't want to damage anything.

I am not worried about the target because both the programmer and the target will be running @ 3.3V.

I want to borrow a scope to check it out but I thought I would ask here first.

I thought of installing a 1K series resistor to the programmers RXD pin just in case.
Any thoughts?