I got some excellent advice on a previous question and have a new related question. I have a app that needs to run a control loop at a specific rate with something like a few percent jitter. For example, if the control loop is supposed to run every...
Hello, I am beginner and I am trying to write a code without HALL. The goal is switch LED when button press using interrupts. I check the button and the LED separately. Everything works fine. But interrupt code don't want to. What am I doing wrong? U...
It seems to me that st-flash still have not got any support for STM32H7xx devices yetIs there other command line options available that run under Ubuntu? Could be payware even.. I have both stlink/v2 and a segger j-link (EDU version) available but ha...
In order to create a faster scrollbar function I need to fill a bitmap structure with an area get from the screen.I have starting to develop this new function starting from the BSP_LCD_DrawBitmap source but how to reverse the LL_ConvertLineToARGB8888...
I am using a self compiled arm-none-eabi gcc 10.2 toolchain and I am trying to write a minimal program to switch on a GPIO LED (putting that output to 0 because is cathode connected) on pin PA1. I have the following resulting binary:Disassembly of se...
Hi,I want to use the VEREFINT to get the voltage of my battery. According to the formula provided by the datasheet (screenshot attached), I need the VREFINT calibration value and the VREFINT_DATA.What is the register to read the calibration value fr...
Hello,I am working with the evaluation board STM32L412 Nucluo64, but I noticed that the MCU sends only garbage from UART.The code I am using has been used many times in other projects and should work fine (it's just a matter of calling LL_UART_Transm...
Hello,I'm encouring one problem with STM32F405 interrupts.I'm working on a project that using a MCU STM32F405,I have created a CubeMx Projet, set all the clock (input frequency, Sysclck, APB1, ...), set timer2, CAN2 and UART2. I have set enable TIM2 ...
I am trrying to send messages via the second fdcan in classic can format. I am watching the bus with CANoe, but only FDCAN1 (classic master) seems to be able to transmit. If I try to transmit with FDCAN2 (classic slave) my buffer fills up but nothing...