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

Can I use ADC5 in standalone mode when ADC34 are in Dual Mode ? Code fail to start ADC5 . Documentation missing data.

Hello ST community,I use ADC3, 4 and 5 of STM32G474 and configure them to ADC3/4 dual mode, ADC5 standalone (no other option in CubeMx). HAL function HAL_ADC_Start_DMA fail for ADC5 , because it check if it is in correct mode of ADC3 master. So ther...

MMatj.1 by Associate II
  • 985 Views
  • 2 replies
  • 1 kudos

Virtual Com Port Not Recognize STM32G0B1KCT6

I am using STM32G0B1KCT6Clock Configurations as like thatAnd pin configurations are like that I generated code and run to debug. When i connected the MCU to USB port at PC, There is a error message "USB not recognized". I changed the usb_cdc.c at 516...

0693W00000BdQcSQAV.png 0693W00000BdQeOQAV.png
EKahr.1 by Associate
  • 2748 Views
  • 3 replies
  • 2 kudos

STM32L476RG perform a DFU via UART from another board

 Hello all, I'm pretty stuck and could use a pointer in the right direction. I have a nucleo communicating with another board via UART. I would like to be able to update the application on the nucleo board via UART from the other board. Is there any ...

0693W00000D0OTJQA3.png
devtty by Associate III
  • 3455 Views
  • 15 replies
  • 0 kudos

Configuring SAI to record mono on FS/LR low

I don't think that what I am asking is possible with the STM32476 that we are using, but it would be nice to have confirmation. We currently have a stereo setup that uses two I2S microphones hooked up to SAI1. Everything works great, but sometimes we...

jw56 by Associate III
  • 717 Views
  • 0 replies
  • 0 kudos

Hello ST Experts! While using fatfs and mass storage device. Things that I write to mass storage device seen after unplug and plug the device. Can you help me? Thank you for your time and consideration.

Firstly I use internal sram of stm32f7 discovery and now its seen like a mass storage device. After that I try to write to that device. I can write and read properly but when I try to look at the device from my pc its seen empty but when I unplug and...

0693W00000D1zLiQAJ.png 0693W00000D1zLxQAJ.png 0693W00000D1zMHQAZ.png 0693W00000D1zMMQAZ.png

Resolved! [BUG] about PLL checking code in STM32F4xx

I use STM32CubeF4 1.25.2. I found bug about PLL checking code. Please confirm the following. --- a/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c +++ b/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c @@ -542,9 +542,9 @@ __weak HAL_StatusTy...

ADP (USB Attachment Detection Protocol) on STM32L4

Hi All,Does anyone use the ADP feature in any STM MCUs? I'm trying to set it up on an STM32L496AG. The reference manual (47.15.19) says: "In order to read from the OTG_GADPCTL register, program AR=0b01 and keep polling till AR=0b00. The core updates ...

TNagy.1 by Associate
  • 987 Views
  • 3 replies
  • 0 kudos

STM32G474RETX UCPD Rx/Tx Problem

Hi,  Used UCPD module to transfer UVDM packets. After some time, the UCPD module is not transmitting and receiving the data. For reception we have enabled RXMSGENDIE , RXNEIE and RXHRSTDETIE interrupts. for transmission ,we have enabled TXISIE , TXMS...

0693W00000D15AjQAJ.png
Alagesan by Associate II
  • 670 Views
  • 1 replies
  • 0 kudos

I am using STM32H7A3 board and integrated an SD card using SPI. I am trying to transfer a large file and found that in first card if the number of sector to read is coming as 64, read works upto sector 36.

After 36, it will give error and exited from code.I tried another card , the code will set the sector count to 16 and loops through it to make the read complete. As i am trying a large file, its taking so much time.I just want to know, is the se...

JJoy.1 by Associate III
  • 1298 Views
  • 1 replies
  • 0 kudos