You are here

use SWDIO and SWCLK as normal GPIO ?

2 posts / 0 new
Last post
lqbweb
Offline
Last seen: 2 months 2 weeks ago
VESC Free
Joined: 2022-04-05 12:02
Posts: 2
use SWDIO and SWCLK as normal GPIO ?

I am trying to setup a PAS to use SWDIO and SWCLK on a Flipsky 75100 (5.03 branch). Is this something possible? or these pins are reserved only for reprogramminig? I believe I should be using:

 

#define HW_PAS1_PORT            GPIOA
#define HW_PAS1_PIN                15
#define HW_PAS2_PORT            GPIOB
#define HW_PAS2_PIN                3

 

right? what is the best way to debug it to make sure the signals are actually being read?

Thanks!

 

snovotill
Offline
Last seen: 1 month 4 days ago
VESC Free
Joined: 2022-10-23 14:59
Posts: 1

...bump