Ask questions, find answers, and share insights on STM32 products and their technical features.
HelloI created a simple project in cubeMX, based on the STM32G030F6PX micro.I'm going to write on the micro only once, at a specific address.I defined a variable at the beginning of the sixth page and set it to 0xFFFFFFFFFFFFFFFFFUL.uint64_t TestAddr...
I am a newbee to STM32 development and I am struck with not being able to communicate with flash at all.int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration-----------------------------------------------------...
Having trouble setting my RTC with a fixed hour of 20. See image from debugger session.While attempting to set a fixed value of Decimal 20 to the RTC the register responds with 28.Edit: STM32L031G6U6
Hello!I have a number of issues with stm32g491cet6.When using the ADC interrupt, it remains in an infinite loop. When using the HAL_Delay () function, an infinite loop also results.The code is simple and runs on the application board with stm32f103 b...
Hello, I need help to implement a function for some buttons, that every time a button is pressed a CAN message will be sent and when the button is released the CAN message will be sent again. It has to send a CAN message for falling and rising edge (...
The problem is as follows: When I am trying to update HRTIM master timer registers (MPER, MCMP1-4) on the STM32G474 via Burst DMA access, every data word I write into the BDMADR register gets written into two of the specified master timer registers. ...
I had no issue writing to and erasing the banks on my nucleo a couple times but all of a sudden it started failing. I unlock the flash successfully clear flash error flags and try do a bank erase: FLASH_EraseInitTypeDef erase; erase.TypeErase = FLA...
I'm doing project that includes outputting an increasing/decreasing duty signal for led while also working on SPI communication, from my understanding I need to set up both timer output and spi in non-blocking mode and I can do both with HAL-s interr...
HAL_SYSCFG_EnableVREFBUF(); HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE); HAL_SYSCFG_VREFBUF_VoltageScalingConfig( SYSCFG_VREFBUF_VOLTAGE_SCALE1);