Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using pyupdi and serial Tx/Rx #85

Open
paulskirk53 opened this issue Sep 13, 2021 · 1 comment
Open

using pyupdi and serial Tx/Rx #85

paulskirk53 opened this issue Sep 13, 2021 · 1 comment

Comments

@paulskirk53
Copy link

paulskirk53 commented Sep 13, 2021

Hi, looking at the connection circuit for pyupdi, is it possible to have the resistor connected across the Tx and Rx pins and still use those pins for serial data transmission over an AVR 4809 USART? The reason I'm asking is that if it's possible to do that, I can introduce a switch into the line that feeds the UPDI pin on the 4809. With the switch in the open position the UPDI line will be disconnected and serial comms over the USART would work as normal, when the switch is closed the UPDI line is connected and the chip can be programmed?
Just trying to have the best of both worlds from the FTDI I use for programming the 4809.
Or would it on reflection work like this:
https://docs.google.com/document/d/1ZoT3vDgNXXhkSActH86etUCHfQCsM4SLs3Brdldb27c/edit?usp=sharing

Thanks for thoughts on this.
Paul

@mraardvark
Copy link
Owner

The resistor is really to handle contention - since UPDI is bidirectional while TX and RX are dedicated lines...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants