STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DMA Performance

Do some homework assigned by the lecture but have no direction so ask for some help.I need to write a function DMASpeed() to demosntrate the speed improvement of DMA over a software loop for memory to memory transfers. I include polling DMA for my ho...

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

STM32L073 - Init RTC via external clock (PC)

Hi, ​My client has an existing circuit which is logging some data (no information given)Until the logging just has a counter which starts, when a power source is connected.Now they want to add a real clock to the logging entry, and I saw that the STM...

LSchm.1 by Associate II
  • 1152 Views
  • 9 replies
  • 0 kudos

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
  • 945 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
  • 1820 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
  • 479 Views
  • 3 replies
  • 0 kudos