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

IS_USART_BAUDRATE up to 7.5 Mbit/s is wrong for STM32F4xx

Posted on April 21, 2016 at 09:26Hi all: On an STM32F407 with the Standard Peripheral Library 1.5.0, I tried to configure USART6 to the documented maximum of 10.5 Mbit/s, and I got an assert in USART_Init(). The problem is here: #define IS_USART_BAU...

Diez.R. by Associate II
  • 557 Views
  • 5 replies
  • 0 kudos

Flash program error when using fast mode

Posted on April 22, 2016 at 19:09Hi,    I am trying to use the fast program method to write a row (256 bytes) to the flash. But when HAL_Flash_Program() function is called, the PGAERR flag is raised. The input buffer as well as the write address are...

hassan23 by Associate
  • 406 Views
  • 0 replies
  • 0 kudos

STM3220G-EVAL - FatFS with uSD

Posted on April 22, 2016 at 16:06Hello everyone,I'm trying to create FAT format files and write them to a uSD card.I built STM32CubeF2 Projects FatFs_uSD and FatFs_uSD_RTOS.I built them with CrossWorks for ARM as IDE using GCC compiler.I have no iss...

Startup.s and Emide

Posted on April 22, 2016 at 13:55Hi to all, I am trying to use Emide to develop my projects, but I encountered some problem in startup file I copied a simple working program from Keil to Emide and the only problem I encoutered is in startup_stm32f03...

[stm32cubef7] Flash : no status flag clear after error

Posted on April 12, 2016 at 12:21Hi, I am using STM32F7xx HAL Drivers v1.0.4 (09-December-2015). I found a bug in stm32f7xx_hal_flash.c : when I call HAL_FLASH_Program, and it returns an error (sector write protected for example), following calls to...

regis-k by Associate
  • 340 Views
  • 1 replies
  • 0 kudos

SPI DMA FIFO Error Issue (FEIFx)

Posted on October 25, 2013 at 01:05I'm having a terrible time diagnosing this error on an F407IG chip.  I am trying to TX/RX SPI via DMA.  Currently I am getting good transactions, according to the external logic analyzer, from lengths of 1 to hundr...

evan by Associate II
  • 797 Views
  • 2 replies
  • 0 kudos

Enabling access to backup registers

Posted on April 22, 2016 at 10:40I am using the STM32F091RC with the HAL libraries.I am trying to gain access to the backup registers and I am trying:PWR->CR |= 0x100;to set bit 8.  However it will not change the bit as though I am blocked out and i...

STM32F2 SPI

Posted on April 20, 2016 at 15:09 Hi, I need to ''translate'' a SPI program written for STM32F4 to STM32F2. I wrote SPI configuration: //STM32F4 void MX_SPI1_Init(void) { hspi1.Instance = SPI1; hspi1.Init.Mode = SPI_MODE_MASTER; hsp...

mosine by Associate II
  • 596 Views
  • 2 replies
  • 0 kudos