Ask questions, find answers, and share insights on STM32 products and their technical features.
I'm debugging a stemwin application and whenever I try to use the step over command in the debugger I wind up in the LTDC_IRQHandler routine. The program works as is but when I try to single step, I stop at the above point. Any help? The display file...
Hi everyone, I'm trying to set a timer so that it works in output compare and also in one pulse mode, as I want it to only fire once. Below is my code for initiating timer1 in output compare/one pulse. Is this setup correct? One issue I'm having is t...
Hi to All ! I'm a new in STM32 MCU programming. (But with big experience in C/C++).Just bought STM32L4R9I-DISCO, install eclipse with plugin for AC6 toolchain, STM32Cube under Linux. Build one of the examples : RTC-timestamp, erase the Flash (without...
Hello, I found a problem trying to read the Data Register of SPI over STM32L4:If I read the register after wait that RXNE is went to 0, like the follow code:// Wait until RXNE flag is reset while (!UTILITY_READ_REGISTER_BIT(SPI1->SR,SPI_SR_RXNE)); //...
I use MXCube to create a simple project based on the STM32F3Discovery board. Only USB is enabled as a CDC device. Other settings remain untouched. The code is generated for Truestudio. In Truestudio I created the syscalls.c by New->Other->System Call...
Hi,i'm using the arm_fir_f32() funktion to filter a real time input signal.My problem is, that the funktion return '-nan' for each input.#include "foc.h"#include "tim.h"#include "adc.h"#include "debug.h"#include "arm_math.h"/* FIR-FILTER */#define BL...
I have used STM32Cube_FW_L4_V1.13.0 to create a customHid device but i can't get it working correctly with PC. I get the descriptors etc. but PC always says the device is in low power state. Any ideas what might be wrong?Information from PC:[Port3] :...
I've configured I2C and I2C for reading 4 byte from a sensor. But for some reason. I currently don't have the code available here so I'd like to ask if somebody knows of an AN or has managed to receive data using DMA over I2C in master mode.Thanks fo...
Hi,I have a board with STM32F103VET6 mcu. Sometimes when power on at startup, my mcu sometimes does not start as it should start, and it only start to work when the software is reinstalled.When the problem occured, I have checked the flash data from ...