STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How fast is ADC able to work with USB?

Hello, I am trying to send ADC data (12 bit) to pc with USB as fast as possible. Now I am using STM32F405 and configured ADC like picture below. Those data of ADC is transfered to the pc by interrupt of DMA which is cirucular mode. And the data trans...

SShir.2 by Associate II
  • 3033 Views
  • 5 replies
  • 0 kudos

I am trying to use the FatFs middleware but get stuck in HAL_Delay() when trying to turn the power on to SDMMC. Could someone explain why this might be happening or point to a solution for this. I put the backtrace from gdb in the details.

#0 0x0800add0 in HAL_Delay (Delay=2) at Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c:378#1 0x0800b9ec in SDMMC_PowerState_ON (SDMMCx=0x40012c00)   at Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_sdmmc.c:316#2 0x0800c4fe in HAL_SD_InitCard (hsd=0...

SPate.4 by Associate II
  • 1567 Views
  • 5 replies
  • 1 kudos

Increasing Resolution of OV5640 Camera

Hi,I am using the STM32H747I-DISCO board and B-CAMS-OMV daughterboard with integrated OV5640 image sensor to test out using a camera on an MCU. I have been using this example as the base code I am working with but have modified it to communicate imag...

Drew M by Associate II
  • 7955 Views
  • 2 replies
  • 0 kudos

how to use 'HAL_SPI_TransmitReceive_DMA' for spi

I'm using 'CUBEIDE' / 'STM32F107VC'in deca_spi.c int readfromspi(uint16_t headerLength,const uint8_t *headerBuffer,uint32_t readlength,uint8_t *readBuffer){uint8_t spi_TmpBuffer[BUFFLEN];assert_param(headerLength+readlength < BUFFLEN ); //    decaIrq...

kim_dy_0-1688602997300.png
kim_dy by Associate II
  • 1665 Views
  • 1 replies
  • 0 kudos

Resolved! Critical problem with I2C and DMA on the latest STM32U5

I experience a strange problem with I2C, DMA and the latest STM32U575ZI-Q, not seen on L4 and H7 MCUs.After a successful data transfer from SMBus target (slave) to controller (host) the last PEC byte stays in RXDR registry. On the next transfer in th...

TDJ by Lead
  • 2550 Views
  • 4 replies
  • 1 kudos