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

ADC SampleRate

I wonder why I have data in the buffer when my sample rate is 30KHz and 0 when the sample rate is 50KHz.     My code:/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file ...

f99145d781a5fcb8359072aa8206816.png f1be29b49f1cb0445c3628c3ac7be42.png b165ac61fbe58954536a4774397358b.png cee005af684f9800dd5c4568c02061d.png
smile by Associate II
  • 114 Views
  • 1 replies
  • 1 kudos

Resolved! can't print ADC data at high Sample Rate

I configured dual DAC synchronous sampling,DMA is in normal mode for data transfer.When the timer frequency of the ADC is 10KHz, the main cycle can print serial port information, but when the timer frequency is 50KHz, the main cycle does not print AD...

smile_1-1749565503034.png smile_2-1749565669615.png smile_4-1749565734482.png smile_11-1749566098919.png
smile by Associate II
  • 179 Views
  • 5 replies
  • 4 kudos

Resolved! STM32N6570-DK SPI DMA inconsistent transfers

Hi all,I'm having trouble getting reliable SPI communication using the STM32N6570-DK board. I'm using SPI5 with DMA, but the data I receive is only correct about 50% of the time.I'm expecting to receive the value 1025, but often get corrupted values ...

TerZer by Associate II
  • 146 Views
  • 2 replies
  • 0 kudos

USBX CustomHID OUT Report size issue

USB HID Endpoint Size Challenge - My Experience Issue Description I'm experiencing an issue with USB HID endpoint sizes in my firmware running on an STM32U5 microcontroller with ThreadX RTOS and USBX middleware. Specifically: My host is sendin...

nicco by Associate
  • 295 Views
  • 1 replies
  • 0 kudos

Resolved! Changing default memory sections

I'm working on some code that has a boot loader and an application. At the moment I am using one linker script for each, which means I have to make sure I keep them in sync. Is it possible to configure the build for (e.g.) the boot loader so that .bo...

CTapp.1 by Senior II
  • 120 Views
  • 2 replies
  • 2 kudos