STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

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...

b.a. by Associate III
  • 875 Views
  • 5 replies
  • 0 kudos

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...

CLeo.1 by Senior II
  • 2517 Views
  • 9 replies
  • 0 kudos

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...

RMvP by Associate
  • 1411 Views
  • 5 replies
  • 0 kudos

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 ...

0693W00000aIWF8QAO.png
stmmm by Associate II
  • 890 Views
  • 1 replies
  • 0 kudos

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...

HTess.1 by Associate III
  • 2657 Views
  • 8 replies
  • 0 kudos

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...

NRaj.1 by Associate
  • 815 Views
  • 1 replies
  • 0 kudos

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...

0693W00000aHLg6QAG.png 0693W00000aHQq6QAG.png
ESpra.1 by Senior
  • 2464 Views
  • 13 replies
  • 0 kudos

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

0693W00000aIHLuQAO.jpg 0693W00000aIHImQAO.jpg
LimoGr by Associate II
  • 14885 Views
  • 7 replies
  • 0 kudos