Why printf doesn't work?
I have some problems with printf function.For example, float valf=0;printf("%.0f",valf)The result is fI don't understand...I thought that the native printf worked...The option Use float with printf is flagged.Thank you.
Ask questions, find answers, and share insights on STM32 products and their technical features.
I have some problems with printf function.For example, float valf=0;printf("%.0f",valf)The result is fI don't understand...I thought that the native printf worked...The option Use float with printf is flagged.Thank you.
Hello,I want to use the X-Cube STL on the STM32F722RET7 and have the problem that the STL_SCH_Init () function returns STL_KO (an error). The user manual says that this is due to defensive programming in the STL. Unfortunate the STL is precompiled an...
Hi ervyone,I have a Nucleo-u575zi-q board. I started to program with this board and applied some examples within the STM32U5 Workshop.Unfortunetly, I could not overcome to run the GPDMA 2D addressing example.In the 2D addressing example, I configred ...
Hi! I don't know if this is the right place to ask this question and it may seem stupid but I am a beginner and have been trying to resolve this for one day.I am receiving one byte of data through UART to Rxdata, I want to copy this one byte to a 10 ...
Hi, I am trying to get DAC work on Nucleo-L432KC board, DAC 1 is activated, output on Pin PA4, normal mode, output buffer enabled, software trigger, no wave generation, and LL driver. I use LL_DAC_ConvertData12RightAligned or WRITE_REG(DACx->DHR12R1...
#include "main.h" #include <stdio.h> #include <string.h> RTC_HandleTypeDef hrtc; UART_HandleTypeDef huart1; /* USER CODE BEGIN PV */ #define UartHandle &huart1 #define RtcHandle &hrtc static uint16_t YearStart = 2000; char message[50]; uint8_t ...
Hello,I'm using Timer_2 channel_1 PWM with DMA to generate the low polarity Pulse.I set the value of PSC = 72, ARR = 2000 and Fosc = 72 MHz.uint16_t TIM2_CCR1_Value[25] = {2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 1200, 1500, 1500, 1500, 1500, ...
HelloI am developing a board to measure many voltages for a student project. On that board are a ADS7953, a ISO7741 and a STM32F072. Now I am at the end of my resources. I can't read anything useful from the ads. Btw I am using an ADS7953 EVAL Board,...