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

Position-Independent Code - .data initialization

I'm developing a bootloader for an STM32L0 MCU that will jump to one of two or more application partitions in flash. I'm using IAR 8.22.2.To make the application binaries position-independent, I've compiled them with the -ropi option. I've also modif...

DWann by Associate III
  • 3213 Views
  • 10 replies
  • 1 kudos

STM32L4 IWDG freeze in STOP mode

Hello,I would like to freeze the functionality of the IWDG while the microcontroller is in STOP mode, because I want stop time greater than 32 seconds. I read the documentation and I built the following code: FLASH_OBProgramInitTypeDef pOBInit; pOB...

MMoli.7 by Associate II
  • 2257 Views
  • 6 replies
  • 0 kudos

SPI is not working TXE flag remain reset

I am working on stm32f103c8 using its SPI 2peripheral to communicate to slave device which is also stm32f103c8 using SPL library . master unable to transmit 8 bit data stuck on txe flage which is remain reset mode.

Msing.4 by Associate II
  • 540 Views
  • 0 replies
  • 0 kudos

I'm having trouble using multiprocessor communication.

I'm involved in the developmentof a project where I will use STM MCU that has the capability of multiprocessor communication ("Multiprocessor communication").This type of communication allows multiple USARTs to be connected on the same network and on...

arbitrary waveform using DMA and timer

Hello,i am trying to generate arbitrary waveform. But it still dose not work. I think it's up to the configuration. I have created a array of 6 words for two waveform patterns to be send to TIM1 channel 1 (TIM1_ARR, TIM1_RCR, TIM1_CCR1) This is how t...

Samuel1 by Associate III
  • 2257 Views
  • 7 replies
  • 0 kudos

Resolved! LPUART RX DMA Configured But Does Not Start!

Hello:I seemingly have the LPUART now configured correctly. For sure the transmit (without DMA) functions OK. I only have receive DMA configured. As usual, it was done in Cube.uint8_t rxBuff[40];#define RX_DMA_SZ 10The start is the same as I am using...

STM32L452 + SD + DMA + FATFS + STM32CubeMX v5.0.0: DMA and SD interrupts can signal end of transfer before it's complete

We are using an STM32L452, running directly from an HSE crystal at 8 MHz (i.e. no PLL), using the SDMMC peripheral with an SD clock of 8 MHz, and DMA for transferring data to and from SDMMC.When the DMA part of an SD read is complete, HAL_DMA_IRQHand...