derekbelsky102 / kicad

0 stars 0 forks source link

Connection Issues with STLink #2

Open derekbelsky102 opened 2 years ago

derekbelsky102 commented 2 years ago

Sometimes connection can be established but connection is quickly loss.

image

I would like to create a 20->10 pin adapter that plugs into STLink and a connector on the board. This will require another rev of the board. The problem still occurs when specifying lower frequencies like 15kHz so it may not be an issue with the breadboard setup.

The TSSOP 20 package is all sold out on digikey so if another board was going to be made it would have to be for a different part. One proposed part: https://www.digikey.com/en/products/detail/stmicroelectronics/STM32L031K6T6TR/6621794

Something else that might be wrong is the capacitor values between VDD and GND or there could be missing resistors in the circuit. I am going to look into this to see if this is the problem before working towards a different board.

derekbelsky102 commented 2 years ago

On the board, I was testing NRST was 0V and it should be 3.3V

image

derekbelsky102 commented 2 years ago

I think there might be something wrong with the stm32 chip I have installed in the breakout board right now. Unfortunately I don't have any more of that specific microcontroller and all microcontrollers of the 20-TSSOP package are sold out right on digikey:

https://www.digikey.com/en/products/filter/embedded-microcontrollers/685?s=N4IgjCBcpgbFoDGUBmBDANgZwKYBoQB7KAbXABYBmAdgFZqQBdAgBwBcoQBlNgJwEsAdgHMQAXzEEATKRBY2AW0pSMTMUA

My plan going forward is to buy a bunch of another package and build another breakout board based off whatever part is available but isn't that large of a package.

Some improvements I plan on including in this next board: Adding header for programming board. There are some 10 pin headers that might work best. (https://www.adafruit.com/product/4048) Fixing clocking footprint. In last revision it was discovered that clock part was actually mirrored so it couldn't be used. Have an exportable BOM

adamyosua commented 2 years ago

I haven’t used any of my stm32s yet. If you want I could give you some. Perhaps we should start an order from digikey as well. I have a feeling that whatever we switch to will also go out of stock soon. Doesn’t mean I think we shouldn’t try to switch.

Doesn't hurt to try a couple of different angles.

derekbelsky102 commented 2 years ago

I just bought Qty 25 of the following stm32 part.

https://www.digikey.com/en/products/detail/stmicroelectronics/STM32L010K4T6/9770447?s=N4IgTCBcDaIMoBUCyBmMAZADARkwaQBYEA2QOAIQBdAXyA

The next board with include this part with the improvement I listed in the previous comment.