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! I2C stops working after exactly 1 minute 6 seconds

Controller : STM32L031F6P7 custom board.I2C stops working after exactly 1 minute 6 seconds? I can replicate this every time.When it stops working, i cannot reset the i2c pheriperal in any way i have found in this forum.These are attempts i already tr...

0693W00000HoANXQA3.png 0693W00000HoAKUQA3.png 0693W00000HoANmQAN.png
sde c.1 by Senior II
  • 1907 Views
  • 5 replies
  • 0 kudos

STM32F429 + OV9655

I am currently working on this topic as part of a project and I need to know how to use the camera with the STM and connect it to it, how to take a picture with it and save it in the memory , and how to take it back from the memory again when I ne...

Shreif.1 by Associate
  • 1185 Views
  • 2 replies
  • 0 kudos

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
  • 3128 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
  • 1874 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
  • 969 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
  • 1921 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
  • 8566 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
  • 741 Views
  • 2 replies
  • 0 kudos