STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F1 PC14 and PC15 don't be output ?

Posted on February 21, 2018 at 13:01Hi;I have a problem.I want to be output pins PC14 and PC 15, so make the registers PWR -> CR = 0x00000100, RCC-> BDCR = 0x00000000. probably  LSE ocillator isn't off. thim my code :#include 'stm32f10x.h'#include '...

I'm trying to use the MultibufferDMA mode of HAL driver for STM32F769 device. There's not a single example I could find which uses this mode in the list all the applications/demos/examples for STM32 devices. Here's an example call I use :

 // using Double-Buffer DMADMA_HandleTypeDef hdma ;StreamBaseAddr = DMA_CalcBaseAndBitshift(&hdma) ; // get the stream base addr if (HAL_DMAEx_MultiBufferStart_IT(&hdma, StreamBaseAddr, Buffer[0], Buffer[1], BUF_SIZE))     {       Error_Handler();   ...

canbu22 by Associate III
  • 1386 Views
  • 3 replies
  • 0 kudos

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
  • 2712 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
  • 761 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
  • 1394 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
  • 349 Views
  • 0 replies
  • 0 kudos