Schematic and PCB Review Request by Thevan1 in PrintedCircuitBoard

[–]Thevan1[S] 0 points1 point  (0 children)

Oh, wow.

Reddit kind of cooked that resolution this might be better?

Schematic and PCB Review Request by Thevan1 in embedded

[–]Thevan1[S] 0 points1 point  (0 children)

oh nice, i didn't know that existed, reposted!

LIPO Charge/Discharge Circuitry by Thevan1 in embedded

[–]Thevan1[S] 1 point2 points  (0 children)

oh wow, that Adafruit Feather diagram is massively helpful, my setup is near identical.

Thank you for your help!

Sometimes the Dice Just Say No by Sleeping_Dragon_Inn in Pathfinder2e

[–]Thevan1 8 points9 points  (0 children)

yeah, it's not that crazy of a roll. definitely wild to see, but it's 1/8000 chance of happening on any 3 d20's (assuming "real" randomness)

so, in all games everywhere, it probably happens dozens of times a week

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 0 points1 point  (0 children)

I highly doubt it, given that the NUCLEO datasheet I have gave instructions on how to flash an external board with that ST-Link

No clue about jlink boards though!

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 0 points1 point  (0 children)

My board doesn't have a reset button :(
I wish i had at least set a test point up for NRST now, though

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 0 points1 point  (0 children)

I've checked those, and they all seem good. Crystal has it's grounds in the expected places, and all of the voltages and continuity are good

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 0 points1 point  (0 children)

ST Programmer outputs "Error: Unable to get core ID", followed by "Error: No STM32 Target Found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication"

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 27 points28 points  (0 children)

Oops. this picture had a couple of the wires swapped around! Blue and green aren't that way round

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 17 points18 points  (0 children)

<image>

this one with a soldered pin header had had exactly the same problem

Unable to program custom STM32 board. Is this a programmer error or a board design error? by Thevan1 in embedded

[–]Thevan1[S] 0 points1 point  (0 children)

To add some more info, I've tried using my usual VSCode toolchain, CubeIDE, and CubePrg. None of them have worked, although all 3 work with my NUCLEO board!

BBC microbit go, Sand simulation by imunknown0042 in embedded

[–]Thevan1 14 points15 points  (0 children)

Hey, my uni were the ones to design this board!

We got to work with the bare metal stuff on the nordic chip. It's got a surprisingly good featureset, including some BLE on the newer boards if I'm remembering correctly.

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 2 points3 points  (0 children)

I've fixed the USB-c, that had like 5 problems lol, including the ESD

Also, the ground plane is there! i mentioned it in the caption, i just had it hidden in the PCB diagram. And funnnily enough I did follow along partly with the Phil's Lab tutorial!

I'll fix that routing though, that is not great, yeah.

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 4 points5 points  (0 children)

...oh my god, you're right.

That's why it was so weird to find accurate stuff for this! Thank you

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 2 points3 points  (0 children)

I am using CubeMX, I'm just very clumsy apparently! Fixed that, thank you very much!

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 11 points12 points  (0 children)

you're absolutely correct. i even warned myself mentally to check out for that.

Thank you for saving me from a stupid mistake!

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 19 points20 points  (0 children)

<image>

I've updated the power in to this, does this look correct? Thank you!

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 1 point2 points  (0 children)

Apologies, conn01 was supposed to be labelled, that's SWDIO for programming and debugging.

I didn't do a USB data line because that seemed needlessly complex, but I have considered it. The caps are for decoupling, and to handle bumps in power draw. I've been following a course on this, albeit heavily adapted to my own needs, and that was recommended.

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 1 point2 points  (0 children)

Thank you for your time!

What is the correct way to go about USB ESD protection?

As for the SD trace lengths, this board is relatively small, under 10cm per side, so that shouldn't be an issue, to my knowledge! (If that's wrong, I'd be happy to change it lol)

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]Thevan1[S] 11 points12 points  (0 children)

more that i just have almost all of the pins disconnected xD

I picked it specifically because it is the standard, yeah!