DEBUGGER NOT WORKING WHEN GPIO A13 IS SET AS INPUT PIN (#7) WITH EXTERNAL INTERRUPT, MCU STM32G031J6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-03 9:00 AM
Hi, when I try to use pin #7 of STM32G031J6 as GPIO A14 configured as input with external interrupt, the debugger crashes and lose control of the application. This is not happening if I change pin, eg. use GPIO B0 on pin #5 the same way.
Has anybody encountered a similar problem? Thanks, Elena
Solved! Go to Solution.
- Labels:
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-03 9:33 AM
PA14 is used by the SWD protocol which is used by the debugger. Using it for another purpose is okay, but it means your debugger won't work and you won't be able to connect over SWD.
It's best to leave PA14 and PA13 alone whenever possible for this reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-03 9:33 AM
PA14 is used by the SWD protocol which is used by the debugger. Using it for another purpose is okay, but it means your debugger won't work and you won't be able to connect over SWD.
It's best to leave PA14 and PA13 alone whenever possible for this reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-04 12:27 AM
Sorry, in the description I reported PA14 but my problem is with PA13. In any case, your explanation is clear.
Thanks,
Elena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-04 1:29 AM
.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-04 2:02 AM
SOLVED
