I have a single hex file for F & G series microcontroller. What is the best way to detect the MCU and load the appropriate hex file section from the single hex file
I will be able to detect if its an F series or G using DEV_ID register
Ask questions, find answers, and share insights on STM32 products and their technical features.
I will be able to detect if its an F series or G using DEV_ID register
I am not an ST expert nor RTC expert, whatever that means. but I have seen several implementations made by other companies and I have to say RTC as counter (the HW that provide interface to a posix compatible timestamp, usually 32 bit seconds + 15 fr...
I am trying to communicate with an SD card using SPI.I have found a library, that can work on an STM32g031f6, but if I try to do the same on an STM32g030j6, it crashes/resets when it calls the function "__HAL_SPI_ENABLE" in "stm32g0xx_hal_spi.c".I ha...
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.