cancel
Showing results for 
Search instead for 
Did you mean: 

Can i read 'real' inputs from my Nucleo in STM32cubeIDE debug mode?

deep_rune
Associate III

As the title says, I want to look at pin PA9 on my STM32F031K6 nucleo board as I run my program in the STM32cudeIDE debug mode. Will 'real' external inputs be viewable in the watch list? Which register do I have to view? I tried GPIOA->IDR but there seems to be no change

4 REPLIES 4
berendi
Principal

Is GPIOA enabled in RCC->AHBENR ?

Try viewing it in the SFRs view.

TDK
Guru

GPIOA->IDR is updated during debug mode. You need to ensure it's refreshed appropriately.

If you feel a post has answered your question, please click "Accept as Solution".

Ok sounds good, how do i make sure it's refreshed appropriately?

is that the IOPAEN bit? yes, it is enabled