Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello, I am trying to write a camera image to an SD card.I am able to write and read bmp file from PC for 160x120 sized image. However I can not read bmp file from PC for 320x240 sized image. I used below file header format. Every thing is the same e...
I'm trying to configure my custom board to only use the internal LDO, bypassing the need for the SMPS. In fact, my board doesn't even have the SMPS components. Is this allowed? The user manual seems to suggests that we can exclude the SMPS circuit ho...
the sampling logic and countig is not very standard:1) If A = rising edge and B = 0, counter++2) If A = falling edge and B = 1, counter++3) If B = rising edge and A = 1, counter++4) If B = falling edge and A = 0, counter++5) If A ...
Hi, I have a problem where my SPI SR RXNE in STM32F302R8 is never SET, causing my program always halt in while loop, waiting the RXNE status to become SET, when receive data.how I set the RXNE flag is below:#define SPI_SR_RXNE 0#define SPI_RXNE_FLAG...
Erasing memory corresponding to segment 0:Erasing internal memory sectors [0 4]Error: failed to erase memoryError: failed to erase memoryEncountered Error when opening C:\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltoo...
I bought a new NUCLEO-H755ZI-Q board. It's my first STM32. I use MXCube to create a new project for MDK-ARM. I tried both STM32H755ZI and Nucleo-H755ZU-Q. And I enter my code in Application/User/CM7/Core/main.c . Between line 163 "/* USER CODE BEGIN ...
The Pulse width value of the waveform in input capture is not matching with orginal Pulse from sensor output .Please help.#include<NEW.h>#include<stdio.h>#include<stdarg.h>void Ultra_setting();void delay(int val);void Tim3_Capture();void Uart1_config...
In detail glance on RM0368 Reference manual. I am getting confused while enablingCC1P -Capture/Compare 1 output Polarity(11: noninverted/both edges) in TIMx_CCER Register(STM32F401RE) .Whether it is possible to change Output Polarity into both Risi...