cancel
Showing results for 
Search instead for 
Did you mean: 

PWR_DIRECT_SMPS_SUPPLY is undefined in Keil and 100pin CPU.

LMI2
Lead

I have two protoboards for 100pin F746/H750 CPU. Both have problems with reset voltage. I use an external pull up resistor for reset on both and they work, but the voltage on reset pin is still low.

The post "FAQ: Unable to connect to STM32H7 devices

" says incorrect power setting is a problem. But when tried it, Keil says "PWR_DIRECT_SMPS_SUPPLY" is undeclared. Besides, there are not SMPS pins, what the figure 22 shows on the post, on either 100pin CPUs

What should I do to get reset pull up working.

0693W000000VV0fQAG.png

void SystemClock_Config(void)
{
  RCC_OscInitTypeDef RCC_OscInitStruct = {0};
  RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
  RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
 
  /** Supply configuration update enable 
  */
//  HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);//PWR_DIRECT_SMPS_SUPPLY
	HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
  /** Configure the main internal regulator output voltage 

0 REPLIES 0