STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

garbage value with sprintf

hi everyone,Can someone tell me if sprintf is ok in Keil? Tera term prints garbage value.2 days ago I tried sprintf and it didn't work, I tried a simple declaration of a string and it worked.what's the problem?

0690X00000AtWZDQA3.png 0690X00000AtWZSQA3.png 0690X00000AtWZXQA3.png
idrissmc by Associate III
  • 506 Views
  • 2 replies
  • 0 kudos

Hello, I am working on the stm32f373C8T6 MCU and trying to get some values out of the SDADC but I don't get any values apart from 0 and sometimes 5209/5217 for some reason. I am following the datasheet's instructions that I will display below.

Initialization 1. As prerequisite, fill in the HAL_SDADC_MspInit() :  Enable SDADCx clock interface with __SDADCx_CLK_ENABLE(). Configure SDADCx clock divider with HAL_RCCEx_PeriphCLKConfig. Enable power on SDADC with HAL_PWREx_EnableSDADC(). Enable ...

RKula.1 by Associate
  • 1103 Views
  • 0 replies
  • 0 kudos

Regression from RDP level 1 to 0

Hello,I'm trying to test RDP levels configuration on STM32H753.Here is the code I've tested (on a Nucleo 743 with STM32CubeIDE):int main(void) { HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART3_UART_Init();   OBInit.Banks = F...

Gpeti by Senior II
  • 944 Views
  • 5 replies
  • 0 kudos