SKR-3 icon indicating copy to clipboard operation
SKR-3 copied to clipboard

SWD connection on SKR3 EZ board

Open dresco opened this issue 2 years ago • 3 comments

Hi,

I see from the schematic that the SWCLK and SWDIO connections on the SWD header are shared with SCL and SDA on the AT24C32 EEPROM. The SDA pin on the EEPROM is open drain, and I think SWDIO is usually push pull?

Any recommendations for safely using SWD with this device? My concern is that the EEPROM may attempt to pull SDA low while it's being driven high by an attached ST-Link..

dresco avatar Jul 05 '22 09:07 dresco

I used STLink on my SKR3 and it works just fine.

kisslorand avatar Jul 11 '22 05:07 kisslorand

I used STLink on my SKR3 and it works just fine.

Thanks @kisslorand, debug as well as programming? I was concerned that the AT24C32 may try to drive the data line low while SWD is driving it high, but am probably worrying unnecessarily. I suppose it won't do anything with the data line without receiving a valid address first anyway...

dresco avatar Jul 11 '22 16:07 dresco

I did just programming but debug must work as well.

kisslorand avatar Jul 11 '22 17:07 kisslorand