(STM32F103C8)My program continuously sends UART messages with regular blocking calls like this: HAL_UART_Transmit(&huart1, buf, size, timeout); The result on my logic analyzer normally looks like: I also handle interrupts coming from HAL_SPI_TxRx...
I'm trying a simple blinking LED on a STM32H743VIT6 with STM32CubeIDE 1.13.2, using the clock configuration wizard. When the clock rate is set to 90MHz everything is fine, but at 480MHz the program cannot get past the SystemClock_Config() call. When ...
I was using STM32CubeIDE 1.10.1 today, and something went strange with the .ioc editor. I was clicking on a pin to set it as GPIO_In, and suddenly the editor seemed to reset as if it had just been opened afresh (frame sizes reset and view position of...
The uninstaller.bat uses a temporary folder like:set tmp_dir="C:\Users\%USERNAME%\AppData\Local\Temp\MX-JRE-%random%%random%"Which on my computer becomes like:"C:\Users\HP 8460p1\AppData\Local\Temp\MX-JRE-73025091"Then it tries to use xcopy with this...
Can anyone tell me why the value of 'c' here should be NaN ??On other platforms I get the same result for 'a' and 'c', as expected.#include <math.h>
float a = atanf( -1.0f ); // returns -0.785398185
float b = -1.0f;
float c = atanf( b ); // retur...
The problem was SystemClock_Config() not working properly above certain clock speeds, causing the ST-Link to lose connection when the debug port didn't respond. I'll start a different thread for that. Almost a whole day spent and I'm only just gettin...
I'm getting the same problem, although on Linux, trying to flash a STM32H743VIT6 -------------------------------------------------------------------
STM32CubeProgrammer v2.14.0
-------------------...
I found a workaround.Remove offending project folder from workspace, this prevents splash screen hangingStart the IDE, close all editor views, close IDEReplace the project folder in the workspaceStart IDE and import the project (File -> Import, Exist...
Just find the gdb process that is using the port in question and kill it. Eg. in my case on Linux I do this:killall ST-LINK_gdbserverYou can likely find the process by doing:ps -aux | grep gdbAs to why this problem happens or how to prevent it in fut...
I just wasted about 6 hours on this exact same problem. The only conclusion I came to is that this sample rate with only two entries in the buffer is not appropriate for continuous conversion:sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES;The ADC is s...