I am trying to flash options bytes on a STM32H7 via the code below. Both the code snippets return HAL_ERROR from the HAL_FLASH_OB_Launch(). What am I doing wrong?I am referring to the following STM32Cube example code: https://github.com/STMicroelectr...
We are currently using an F4 (STM32F407IGH6) and an F3 (STM32F303VC) in our product. We want to pull the temperature sensors to get an idea of chip temp. Looking at the datasheets, the F3 data sheet explicitly states that factory calibraiton is done...
Hi,I want to use an ADC with DMA in a STM32F103. I configured it in Cube as you can see in the following picures.When I start the conversion with HAL_ADC_Start_DMA(&hadc1,(uint32_t*)AdcData,5);HAL_ADC_ConvCpltCallback() is called and I see that the A...
We need that do do the UL certifications..anyone could help?thanks.
I am using STM32F439ZGT6.I have flashed the code to this controller. After flashing the code when I restart (power off and power on ) the MCU first time, that time unit is working absolute fine but if I power off and power on the unit, that time I am...
STM32CubeMX 5.6.1 , Atollic TrueStudio 9.3.0 , MCU is a STM32L053 with VDD wired to a coin cell. LSE is connected to a watch crystal.The RTC works fine. Going into standby mode works fine. Waking up from standby mode works fine. Checking and resettin...
Hello,I'm using TIM2 on STM32H743 (Nucleo, rev Y, Keil 5.31).Just before setting the bit TIM_CR1_EN the setting of the timer is the following:DIER : bit UIE setPSC: expected value (0x4E1F)ARR expected value (0x4E20). it is almost the same as PSC but ...
I am trying to understand how to setup the microcontroller (STM32F030 in this case) to use external oscillator. I am using blinking LED as a test to see if the code is running. To setup the HSE I did following:selected Crystal/Ceramic Resonator in Hi...
Strange behavior of STM32H743. It continuously reset every few seconds.I check reset reason with this part of code after system startup:if (__HAL_RCC_GET_FLAG(RCC_FLAG_IWDG1RST)) { _PRINTF("RESET_CAUSE_INDEPENDENT_WATCHDOG_RESET\n"); } else...