STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I am getting the warning: #174-D expression has no effect.

I am trying to get the bits of an uint8_t into an array. I use two for loops for that and don't know why I get this warning. This is the code I use:void System_Info_Get_Jumper_State(I2C_HandleTypeDef* hi2c1, uint8_t* Jumper_State_Array_Address) { ...

MMüll.5 by Associate II
  • 2960 Views
  • 2 replies
  • 0 kudos

DMA issues ADC on stm32H743

Im having some problems getting DMA to work, none of the interrupt routines are called, Simplified code below, hints appreciatedADC_HandleTypeDef hadc1;DMA_HandleTypeDef hdma_adc1;static uint32_t HAL_RCC_ADC12_CLK_ENABLED = 0;boolean ADC1_done = fals...

JColl.5 by Associate II
  • 1741 Views
  • 5 replies
  • 0 kudos

Can the STM32F,H Mix 2 I2S channels?

I have a project that requires 2 I2S inputs (4 audio channels) to be level controlled, then mixed into the left channel of an I2S output. 32 bit word length 24 bit samples. I was contemplating using an STM32F or STM32H on a nucleo board to start. Can...

Russ1 by Associate
  • 893 Views
  • 1 replies
  • 0 kudos

WHY DOES I2C DMA NOT WORK

simply trying to read 9 bytes from a I2C sensor on my 446re necleo boardif I use non dma I can read data fineHAL_I2C_Master_Receive( &hi2c1, Sensor_Adr << 1 | 0x01, I2C1_DATA , 9, HAL_MAX_DELAY );this works fineBUT DMA IS BROKEN OR VERY BUGGYALL THIS...

JHERI by Senior
  • 1825 Views
  • 6 replies
  • 0 kudos

How to use the 'HAL_UART_Receive_IT' within a function?

Hello,I'm working with an STM32G4 MCU and I want to listen the UART3 with interruption. I am testing with a code which changes the color of a led. The following code works fine ://main.c   #include "main.h"       FDCAN_HandleTypeDef hfdcan3;   FDCAN_...

Marco S by Associate II
  • 8260 Views
  • 11 replies
  • 1 kudos

SPI Compatible ADC how to configure in Stm32?

Hello,I have to interface the ADS7046 12-Bit, 3-MSPS, Single-Ended Input, Small-Size, Low-Power SAR ADC. Spi compatible ADC 12 bit resolution and MSPS.1.How to set its data size in spi configuration?2.In datasheet they did not give the clock polarit...

0693W00000Ho2cAQAR.png
MDeva.1 by Associate II
  • 693 Views
  • 2 replies
  • 0 kudos

Hi ST community, I would like to use CH340G USB UART converter for programming STM32F446RE Microcontroller. How can I do this? Any advice or idea about this? Thx a lot. :)

Normally I use ST-link for programming. But I can not see data in serial port on computer. I use TMS,TCK,RST pins for programming. I would like to solve this issue for my new design. Could help me please? What I need to learn exactly ?

AElma.1 by Associate II
  • 6050 Views
  • 2 replies
  • 0 kudos

Resolved! Is there a filter in STMCU Finder to get only FDCAN parts ?

In the MCUFInder application, I can filter on the CAN bus, but it doesn't get the MCUs having a FDCAN controller.Is there a way to get only the ones having FDCAN ?Example : if you check one CAN controller, you don't get the STM32G0B1 who has FDCAN.I ...

GFalc.2 by Associate II
  • 852 Views
  • 3 replies
  • 0 kudos

Resolved! STM32G0B1 programming Option Bytes stopped after OBL_Launch

The MCU stops when the program reaches this line (FLASH->CR |= FLASH_CR_OBL_LAUNCH;) in the function below.The option bytes I want to write are at the moment still unchanged to the delivery state. Later they will be changed to RDP Level 1.void Option...

FRieb.1 by Associate III
  • 2775 Views
  • 5 replies
  • 0 kudos