Forum Posts
Assymetric Timer output [STM32G031]
Hi,I am playing around with Timers on Nucleo-G031 at 64MHz clocked from HSI and PLL.I use TIM1 with AutoReload of 6 and Capture/Compare Value of 3 to create an 9.17MHz 50% duty-cycle signal.The signals turns out to have 46.4ns high-pulse and 62.8ns l...
Resolved! Can't get max frequency out of STM32H7
Hi everyone,I am having a hard time trying to get the max clock frequency out of the STM32H753ZIT6U.This is the revision V model and is capable of hitting 480MHz unlike its Y revision. This is my code to get to 480MHz:LL_PWR_ConfigSupply(LL_PWR_LDO_S...
Resolved! Hi, I am losing data when sending longer as 8 Bytes messages over HAL_UART_Transmit_IT. Only when adding a Hal_delay of 40 ms the correct data will appear. The buffer is and TX/RX are not used in the meantime.
I'm using FDCAN and UART (9bits) on a custom board STM32G0B1RBT6. The longer messages from FDCAN are split up in 8 bytes max and combined on the board, which works. I can see the correct array of data until the transmit function, but on the bus not a...
I am using stm32 nucleo-L552ZE-Q. The ADC reading with the DMA doesn't work
I am trying to read an analog signal from a sensor with the ADC of my board. I set the pins correctly I think ( DMA_continuous_requests enable, circular mode, etc. ) and I started the DMA with HAL_ADC_Start_DMA outside the while(1) loop and I put a b...
How to store user input in a variable?
I am working with a Nucleo-L476RG and I am using PuTTY as an interface using UART. I am trying to use PuTTY to read a numerical value from the user and then store that entered value in a variable. Below is how I am initializing UART to receive user ...
Resolved! Code stop running at NVIC_EnableIRQ
#define HWREG(x) (*((volatile uint32_t *)(x))) int dataFromRegister = 0; void EXTI9_5_IRQHandler(); void GPIOH_Port15_Toggle(); void GPIOH_Init(); void GPIOK_Port5_Toggle(); void GPIOK_Init(); void SystemCLCKInit(); void setup() { // put your se...
Why is the overflow flag (OVR) set as soon as the I2S peripheral has been enabled when using I2S2 in Interrupt mode with Nucleo F401RE?
I am trying to use the I2S2 interface in Master Rx mode with the Nucleo 401RE and X-Nucleo-CCA02M2 audio shield. I enable the SPI2 global interrupt in NVIC settings, setup the required GPIOs and generate the code. I want to receive data from the on-b...
STM32L552XX UART not able to read responses from BNO055.
I'm trying to configure and collect data from a BNO055 IMU over UART/RS232, using an STM32L552ZET6Q. The BNO055 is on a remote board, connected via cable to the STM32L5 microcontroller. Additionally, I am using a MAX3232CUE+T on either side of the ca...
Resolved! Flash Download failed - Could not load file .axf
Hi! I am working on a project using a STM32f407 board, I wrote the code but when I try to load it, an error shows. I saw a similar problem but the solutions didnt work for me. Here is the build output