Question
STM32U599 PA11 as input
Hey,
I have a U599 and would like to use the PA11 pin as an input with a pull-up. I've set the CR1_FORCE_USBPWR, USBPWREN, and VDD11USBDIS bits. However, the pull-up voltage only reaches 1.21V in this configuration. The pin works fine as an output.
/* USER CODE BEGIN SysInit */
SET_BIT(PWR->CR1 , PWR_CR1_FORCE_USBPWR);
SET_BIT(PWR->VOSR , PWR_VOSR_USBPWREN);
SET_BIT(PWR->VOSR , PWR_VOSR_VDD11USBDIS);
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
.
.
