cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U595 used PA11 and PA12 as gpio

Sunwaz
Associate III

I used PA11 and PA12 as standard GPIO in STM32U595ZJT6Q and system frequency is 4MHz. Config PA11 and PA12 to PP output mode ,no pull up.Don't set this gpios to high, the mini system current is 3mA,but set this gpios to high, the current is 22mA.

Test PA10 or PA0,this current no changed.

I reference RM0456 rev4  13.3.16  and 10.7.12 ,used PA11 and PA12 as standard GPIOS,the USBPWREN and VDD11USBDIS bits in PWR_VOSR must be set.

I config these bit before config GPIO, but this current no changed,still is 22mA.

Sunwaz_0-1699191009843.png

13 REPLIES 13

Hi @Sunwaz ,

Could you please tell me the REV_ID of the devices you used for test (0xE004 4000)?

-Amel

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.

This picture is the MCU message read by STM32CubeProgram.

Sunwaz_0-1699581886549.png

 

Sunwaz_0-1699836509783.png

 

Sunwaz
Associate III

The value is 0X30016481 @0xE004 4000.