cancel
Showing results for 
Search instead for 
Did you mean: 

In STM32U5G7VJT6, GPIO Input Mode not working PA11 and PA12 pin

Message:

I have configured PA11 and PA12 pins in input mode, but they are not responding — I’m continuously getting a low level from the MCU side.

For testing purposes, I configured the same pins as output, and they work fine in output mode.

To verify hardware, I removed the MCU and checked the lines — they remain high, confirming that the hardware is OK.

Please suggest the possible reason or solution at the earliest.

 

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello @Dharmendra_Singh and welcome to the community,

PA11 and PA12 have bot the USB function. Are you sure you configured the GPIO in the right way?

I suggest to attach your project in the discussion in zip file.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
mƎALLEm
ST Employee

Hello @Dharmendra_Singh and welcome to the community,

PA11 and PA12 have bot the USB function. Are you sure you configured the GPIO in the right way?

I suggest to attach your project in the discussion in zip file.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
mƎALLEm
ST Employee

@Dharmendra_Singh 

Did you really accept the solution?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.