STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DMA to receive unknown length frames with UART

HiI need to listen to Rx UART to receive unknown length frames (I will search for a frame start byte, then read the frame size and then test a CRC for frame validating)I would like to use DMA for performance but I only see half or full reception int...

po221 by Senior
  • 2414 Views
  • 6 replies
  • 0 kudos

SPI Transmit only last word of byffer

HiI'm trying to transmit 4 16-bit words via SPI as slave using interrupts and HAL.I'm using STM32F107VCT6So I specified a buffer:uint16_t buf[] = {0x000F, 0x00F0, 0x0F00, 0x0004};And started to transmit in main:MX_SPI2_Init(); HAL_SPI_Transmit_IT(&hs...

0693W000000XIgzQAG.png
MAnik by Associate
  • 648 Views
  • 3 replies
  • 0 kudos

Resolved! STM32H7 - SAI sampling frequency is 45.5kHz instead of 44.4kHz

Dear all, I am using SAI in STM32H7 to control an external audio codec. Everything works fine except the fact that when I look at the actual sampling frequency (SAI FS signal ) I measure 45.5kHz rather than 44.1kHz as specified in the init. The clock...

Mdi c by Associate III
  • 1201 Views
  • 2 replies
  • 0 kudos

Question about DMA

I have few question about DMA.1)Is that callback function need to be register?2)During the memory copied the source to the destination using DMA is that necessary need include the callback function?CH

Cl.1 by Associate II
  • 301 Views
  • 0 replies
  • 0 kudos

RTC date update - Problem with VBAT / Low Power Mode

Hi all,I searched the forum for my specific problem, but i did not find any solution for this weird occurrence. On my STM32F103 i run the RTC, which is working fine, as long as it is connected to the USB power. I store the date on 2 backup registers,...

MMuts.1 by Associate II
  • 2832 Views
  • 8 replies
  • 0 kudos

memory to memory DMA transfer

Hi all, i want to ask about except from the reference manual where can i find out more question about the memory to memory DMA transfer.I want to figure out is there trade-off for memory to memory DMA transfer when the data size is big and small?Rega...

Cl.1 by Associate II
  • 883 Views
  • 4 replies
  • 0 kudos