STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1436 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
  • 912 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
  • 2735 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
  • 836 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
  • 2587 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
  • 15092 Views
  • 7 replies
  • 0 kudos

Resolved! How can I configure 2 DMA for 2 i2s modules? [Solved]

Hi, I am trying to use a 4 I2s microphone. And I am using cubemx.I made work both of them with a sinple DMA transfer.I used I2s half duplex reciever 16of32bits sample rate 48Khz and DMA for 48*2 samples with uint16_t format. For that I used DMA1 str...

tcg by Associate III
  • 1486 Views
  • 6 replies
  • 0 kudos

Resolved! Stm32F411 Output Compare Mode Does not Work as Expected

I implemented a code of output compare mode for TIM3. However, it does not work as I expected.ky017ledmodule_config.h#ifndef KY017LEDMODULE_CONFIG_H_ #define KY017LEDMODULE_CONFIG_H_   #include <stddef.h> #include "stm32f4xx_hal.h"   #define RED_LED ...