Forum Posts
STM32F746G-DISCO, FLASH, PWR, PVD
How to use HAL_FLASH_Program_IT? I set up: static void MX_NVIC_Init (void){ / * PVD_IRQn interrupt configuration * / HAL_NVIC_SetPriority (PVD_IRQn, 5, 0);HAL_NVIC_EnableIRQ (PVD_IRQn); } ...................... HAL_FLASH_Unlock (); // FLASH unlock fo...
Resolved! TIM2 Output Compare is generating unwanted interrupts every ARR period
Please note: what I am describing is my experimentation to try to figure out how all this works. Yes, there are likely things you wouldn't do in a real life situation, but I want to understand all the edge cases.Also note, I am not using a HAL or lib...
Hello All, I am facing following problem while working with STM32L4R5 MCU. Can you please give why this problem occurs? What will be solution for this? Please explain step by step process to resolve this issues.
11:42:17 **** Programming project stm32l4xx_drivers on chip ****"C:\\Ac6\\SystemWorkbench\\plugins\\fr.ac6.mcu.externaltools.openocd.win32_1.23.0.201904120827\\tools\\openocd\\bin\\openocd.exe" -f stm32.flash.1849521082279362012.cfg -s "C:\\Users\\Hi...
BOOT probem
I have working with STM32L083... Since now no problem observed but my last pcb has BOOT problem... Namely when I ACTIVATE BOOT signal STM enter to boot mode but when I relesed taster for boot signal MCU resume from boot mode... earlier version of pcb...
HAL_ADC_Init failed after wake up from STOP mode in STM32L0x2
Hello, everyone.I am trying to figure out the HAL_ADC_Init issue after wake up from STOP mode. I am using the STOP mode in STM32L0x2 and build the project using CubeMX.At first, I have initialized ADC before main loop, then enter STOP mode. After wak...
How to detect and count lost interrupts of continuous circular DMA transfers (complete, half complete)?
Currently I implemented it using simple counteruint32 frameCount=0; ... halfcplt(); { frameCount++; ... } cplt(); { frameCount++ ... }and compare frameCount value to hardware timer value.I am in search of better solution without using hardware timer...
Output compare to turn on a LED
Hello,I am working on a STM32F723E-Disco,I am learning the use of timers and their functionalities.In particular, I try to use the output compare.What I'm trying to do is to use the output compare to turn on a LED when the output compare is triggered...
I want to mak a decoder input signal by counting 25Mhz clock. The 25Mhz clock signal should also come out to the output port.
Set the APB2 timer to 180MHz to generate a 25MHz clock signal in output compare mode.And it tries to increase the decoder signal by 1 by counting every 513 rising edges.However, the decoder input signal is toggled on more than 513 signals.By changing...