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?
Ask questions, find answers, and share insights on STM32 products and their technical features.
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?
Hi all,I'm trying to write a small program that will read the values from the temperature/humidity sensor. I will try to explain in detail what I have at the moment, but bear with me, I'm still a beginner in bare metal development.I am using an STM32...
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 ...
Hello,i want to use the STM32F446RE MC to controll a PMSM. For that reason I need to measure 2-3 currents simultaneously.I'm working with CubeMX used for the initialization and Keil for the further programming.Also i am mainly using the HAL functions...
Someone have suggest ?
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...
Hi,Saw this (popular) issue on the Q&A and also found many google result regarding this issue, but none of them solve my issue.I'm trying to configured I2C2 bus to work with eeprom.During the configuration, right after setting the I2C RCC clock, the ...
Hi I have omron D6t 32x32 thermal sensor and it give 1023 field of data , How to receive more than 1 byte data in stm? Can any one help me? Also I am storing the value to an character array but i need the value in decimal how to obatin that?
Hello,my intention is to catch a 'thin spike' from the input analog signal. Therefore I wish the sample times from 2 ADCs may cover echo other's conversion time, so that the thin spike will not be missed.My plan is to use 8.5 cycles for sampling and ...
Hello,I don't understand the description of the Clock Security System in the Ref Manual of STM32H7 (section 7.5.3).First question is : what exactly is the CSS doing ? (what kind of control is done on the clock). What is a definition of "a failure of...