[SOLVED] How update LoPy firmware through PySense expansion board
-
@jmarcelino
Thanks a lot.
I'm going to buy a USB to TTL adapter (CP2104) -
@jmarcelino
How do I conect the CP2104? Does the next picture is correct?
The DTR pin Where I do conect it?
-
@alvaroBT
No it is not correct
DO not connect 5V and in the same time 3V3
And also what is the level of signals from this CP2102 - have it some switch or jumper?
e.g. this one have jumper

You need 3V3 level on TX/RX pins.
DTR leave unconnected -
@livius
ok, thanks.
This is a correct version:

Features:
- The embedded USB transceiver, without external circuit
- It contains the clock circuit, without an external circuit
- Reset circuit embedded on electricity
- Output voltage regulation can be within 3.3 V voltage
- Accord with the requirement of USB2.0 specification
- SUSPEND pin support USB state hung
- Asynchronous serial data bus controller interface compatible with all shake hands and modulation signal
- Support data format for the data of 8, 1, 2, and stop bit parity bit
- The connotation of the 512 - byte receive buffer and 512 words
-
@alvaroBT
Rx from CP2102 connect to TX
Tx from CP2102 to RxAnd connect 5V to 5V pin on Lopy
But still do not know what signal level is on Rx/Tx.
I do not see any jumper to change level on Tx/Rx to 3V3.
Are you sure it is capable to 3V3 level signals output? -
That module uses 3.3V levels (native to the CP2102 - modules with that chip that do 5V I/O have voltage translation like e.g. extra FET you can easily spot )
@alvaroBT Connect 5V supply to LoPy 5V and RX/TX as @livius says.
I'd still recommend the CP2104 and not the CP2102 because the CP2104 (or the new confusingly named CP2102N) will support faster programming rates, but just nitpicking and the CP2102 will do anyway.
-
@jmarcelino
Now only I have just one CP2102.
OK, then I use this connection:CP2102 RX --> LoPy TX0 (P1)
CP2102 TX --> LoPy RX0 (P0)
CP2102 +5V --> LoPy 5V
CP2102 GND --> LoPy GND

Best Regards.
-
@alvaroBT
Yes that's it! -
@jmarcelino
Thanks!!! -
This worked for me:


Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login