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

Hard Fault when calling the HAL_TIM_Encoder_Start_DMA function on the STM32F103C8T6 microcontroller. Can I fix it?

 HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_DMA_Init(...

AndrewCh by Associate
  • 983 Views
  • 4 replies
  • 1 kudos

Cube External Memory question

Hi everyone,I have recently starting becoming familiar with the M-Cortex structure and instruction set ( I was raised on Atmel MCUs in school and this is my first time working with M-Cortex and .thumb instructions) I am trying to learn as much as I c...

belair55 by Associate III
  • 490 Views
  • 1 replies
  • 0 kudos

I2S DMA Complete transfer IRQ on circular mode

Hi, I'm using an audiocodec with a STM32F4011 through I2S interface. I configure I2S to transmit/receive in DMA mode and circular buffer. I need to get an ISR on HalfComplete and Complete transfer.HAL_I2SEx_TxRxHalfCpltCallback is fired on half compl...

leonardo by Associate III
  • 2246 Views
  • 9 replies
  • 0 kudos

STM32F205 USART2 Long zero level in tx transmitting

I use USART2 for connect whith gsm module.When trafic is big enough some byte in transmitting from cpu to modem can be corrupted.It may be happen one time in few minutes.I see corrupted byte by signal analisator. And the same corruption i see on the ...

0690X00000BuhXxQAJ.png

extra byte in front of USART buffer received with DMA

I have inherited code that received 1400 bytes over a 2mbps serial link. I've increased that to 1892 bytes and on occasion (not always, but frequently enough to be annoying) I receive my buffer "shifted" by one byte and a garbage byte for byte 0 in t...

RPhil by Associate
  • 923 Views
  • 3 replies
  • 0 kudos

DMA stop working after a sucessful receiving data USART.

In a noisy media, I need to receive 10bytes with DMA (about 1Mb). I have set the DMA and its interrupt as shown below:void DMA_Configuration(void) { DMA_InitTypeDef DMA_InitStructure;   RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE);      ...

parisa by Senior
  • 1491 Views
  • 9 replies
  • 0 kudos