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

Suggested pinouts #22

Open
zharijs opened this issue Nov 24, 2021 · 1 comment
Open

Suggested pinouts #22

zharijs opened this issue Nov 24, 2021 · 1 comment

Comments

@zharijs
Copy link

zharijs commented Nov 24, 2021

Hi again.

I suggest 2 more pinouts - combination of SWD + UART + FactoryMode detection and same for PIC. They're already presented in my libs. I use these combos in my projects, so I can get debugger, console and FactoryMode detection from single connector speeding up the manufacturing process and making R&D space cleaner. FactoryMode is just GPIO with pull-up, that is pulled down by the programming clip and makes the device enter init / test sequence after boot automatically.

Here are my pinouts:
PIN | SWD | PIC
1 - VCC - VCC
2 - GND - GND
3 - NRST - MRST
4 - SWDIO - PGD
5 - SWCLK - PGC
6 - RXD - RXD
7 - GND/FM -GND/FM
8 - TXD - TXD

@DeflateAwning
Copy link
Contributor

DeflateAwning commented Nov 2, 2024

As a markdown table:

| PIN | SWD   | PIC     |
|-----|-------|---------|
| 1   | VCC   | VCC     |
| 2   | GND   | GND     |
| 3   | NRST  | MRST    |
| 4   | SWDIO | PGD     |
| 5   | SWCLK | PGC     |
| 6   | RXD   | RXD     |
| 7   | GND/FM| GND/FM  |
| 8   | TXD   | TXD     |

For the SWD+UART version, why didn't you add the two UART lines into the existing SWD pinout. That seems far more sensible?

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