STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I2C DMA synchronization not triggering

Hi guys,I am trying to run a demo on STM32U083C-DK board. This demo consists of LPTIMER generating PWM that is used for synchronization of I2C read from on-board temperature sensor. Rising edge writes the addres of read and falling edge reads data. T...

dryet_0-1724843526621.png dryet_1-1724843567189.png dryet_2-1724843593231.png dryet_3-1724843626795.png
dryet by Associate II
  • 267 Views
  • 4 replies
  • 0 kudos

Problems with CubeMx 6.12 + adc5 + dma

In my project I use 4 adc, managed with the same code. With adc5, and two channels, I had a problem: I read two equal values, that is, the second was equal to first channel.After several searches I discovered that, in the adc.c file created by cubemx...

Data Format I2S PCM5102A DAC Synthesizer

Hi guys,I have successfully connected a PCM5102 DAC to my STM32F401CCU6 black pill board. The CubeMX Setup with DMA and I2C works fine. I have interrupt routines and a double buffer which create samples. Electrically, I connected 3.3V supply (from ST...

Stipe by Associate II
  • 339 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX project created ADC LL lib problem

I had used STM32CubeMX generated ADC with STM32H750VBT6:ADC_REG_InitStruct.TriggerSource = LL_ADC_REG_TRIG_EXT_TIM1_CH1;ADC_REG_InitStruct.SequencerLength = LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS;ADC_REG_InitStruct.SequencerDiscont = ENABLE;ADC_REG_InitSt...

SangMV by Associate
  • 411 Views
  • 1 replies
  • 1 kudos

STM32H7 interleaved ADCs and single DMA confusion

Hi all,I am trying to implement ADC acquisition on one channel, with 14 bit, 4x oversample, at 1 Msmps (1 megasample per second). This is possible only using dual interleaved mode. Moreover, I want to acquire continuosly with circular DMA.But it is n...

Clipboard01.gif Clipboard02.gif
linuxfan by Associate II
  • 387 Views
  • 2 replies
  • 0 kudos

HAL_UART_Transmit_DMA() doesn't?

I am porting code from an existing project that runs on an STM32F4 chip onto an STM32H7 chip, and have been losing my sanity for a couple of days trying to get over hurdle #1: I use a UART for communicating with the chip, and have not been able to ge...

E P by Associate III
  • 8772 Views
  • 17 replies
  • 5 kudos

STM32CubeMX always enables UART5 interrupt

Hi All! Using STM32CubeMx 6.11.1, and the STM 32L475 processor, I have successfully configured UART 5 to use DMA with interrupts on TX and just interrupts (no DMA) on receive. But whatever I do, STM32Cube seems to generate these lines: /* UART5 inter...

Vandermyer_0-1716368071597.png

Resolved! Stm32H562 ADC DMA

When generate code for STM32H562 with active ADC + GPDMA1, I can't see code for configuration of GPDMA1. I see only this :static void MX_GPDMA1_Init(void){ /* USER CODE BEGIN GPDMA1_Init 0 */ /* USER CODE END GPDMA1_Init 0 */ /* Peripheral clock enab...

Brussl by Associate II
  • 376 Views
  • 1 replies
  • 0 kudos