I am receiving data from UART in uint8_t array.I want to convert array to string to work on it:if (Received Data=="Reset") { resetFunc(); }if (Received Data.substring(0,8)=="ABCDASD"){ Do something }if (Received Data.substring(4,8)=="ABC1234"){ int...
I'm currently working on custom board that uses a stm32f2xx chip and PHY chip that is different than the one in dev/nucleo boards. I noticed that I need to change HAL code to get this combination working as the MAC and PHY initialization is combined ...
Hello, I have a custom STM32F439VITx based board, with two analog sources wired to PC0 (ADC1_IN10) and PC1 (ADC1_IN11). The sources need to be read infrequently, on the order of every five to ten seconds, and independently of each other (so sometimes...
/* Private variables ---------------------------------------------------------*/ SPI_HandleTypeDef hspi1; TIM_HandleTypeDef htim17; UART_HandleTypeDef huart1; /* Private function prototypes -----------------------------------------------*/ void Syste...
I'm trying to use HAL_ADC_GetValue to get the ADC value from an STM32L082 attached to a battery giving 3.7V. My goal is to use the ADC value to estimate the battery percentage so I need the ADC value when the battery is full and when it's mostly empt...
Could you tell me what I'm doing wrong?I want to draw a sinusoidal chart. But for some reason, it is not displayed in the window of "SWV Data Trace Timeline Graph".PS - A "cleanSignal" it is a global variable.
i use stm32f410rb microcontroller. one board contain four stm32f410rb micro controller,my requirement is load firmware all four microcontroller using single connection(uart bootload or jtag or swd or any other programming method ,) so please suggest ...
I have a customized bootloader and a main application.Both of them init the wathcdog, and refresh it. But when my bootloader jump to application, the refresh of watchdog from application sometime does not work. The watchdog still timeout.But if run t...
Hello,Is it possible to generate high accuracy in terms of the frequency sine wave using STM32?My goal is to generate a sine wave using STM32 whose frequency varies from 5KHz to 20KHz insteps of 0.1Hz with a delay of 1 sec is it possible to use STM3...