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
  • 3306 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
  • 1689 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
  • 8174 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
  • 1841 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
  • 2828 Views
  • 4 replies
  • 1 kudos

Hello, I am using USB -FS and it seems conflict with UART-1, VBUS pin PA9. I am using STM32H743VIT6 100 PIN, and UART -2 I am using for debugging but it does not work, Why? For the previous UART -1 runs fine for debugging, STMcubeProgrammer i am using

Hello, Every time I am using UART -1 of the same controller and its works fine, but for now I am using USB -FS and for that VBUS pin I am using for the VBUS sensing, Wher, this VBUS Sense pin conflict with the UART-1 which is the PA9 pin of the S...

SRath.3 by Associate
  • 913 Views
  • 1 replies
  • 0 kudos

Resolved! [BUG] Update to STM32CubeIDE 1.12.0 (STM32CubeMX 6.8.0) removes Middleware folder and breaks STL build.

Hello,I have a project with a working implementation of the STL (X-Cube-STL).I recently updated my STM32CubeIDE to version 1.12.0 and everything worked as expected. Now when I open .ioc I get asked if I want to update the .ioc-file to the version 6.8...

MKori.1 by Associate III
  • 2791 Views
  • 5 replies
  • 0 kudos