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

Has anyone ported LwIP 1.4.1 to CMSIS-RTOS/RTX

Posted on December 19, 2014 at 22:48Hi,I am new to programming ST microcontrollers, and I am trying to get a demo tcpecho application running on my custom hardware.  We are using an STM32F407.  I notice that all the examples seem to use FreeRTOS and...

separating bitmaps from code

Posted on March 10, 2015 at 11:21Hi All,I'm on the tail end of a large development for an stm32 using gcc and openocd. As I add more code and bitmaps (for the LCD) I'm finding the load times getting rather long, mainly due to the bitmaps.I'd therefo...

mark2399 by Associate II
  • 776 Views
  • 4 replies
  • 0 kudos

How to detect MCU at run time?

Posted on March 10, 2015 at 14:57Hi,Is there a way to determine which MCU is being used on a board?  We are developing software for an STM32F4 and some of our tools are using the 407 and others are using a 429.  I would like to know when our code is...

DMA works only first time

Posted on March 10, 2015 at 22:16Hi,I'm using ADC and DMA. For learning purposes no interrupts, just polling LIFR. Staring conversion with ADC_CR2_SWSTART. As soon as TCIF is set,  I'm writing 1 to ALL flags to LIFCR (LIFR becomes 0) then re-enablin...

Different jump address for STM32F429?

Posted on March 10, 2015 at 18:19Hi,I have a legacy boot loader that was developed on an STM32F407.  There is a line of code that computes the JumpAddress before it jumps to the main application.  The line is:    JumpAddress = *(__IO uint32_t *)(vec...

DMA FIFO level

Posted on March 09, 2015 at 08:39Please, confirm my assumption: it is typing error in RM0090? Register DMA_SxFCR STM32F4xx Bits 1:0 FTH[1:0]: FIFO threshold selectionThese bits are set and cleared by software.00: 1/4 full FIFO01: 1/2 full FIFO10...

cahmep by Associate
  • 560 Views
  • 3 replies
  • 0 kudos

PMSM FOC code stuck

Posted on February 24, 2015 at 18:30I have a custom motor controller board with STM32F303RB. I took the STM32 PMSM FOC Lib 4.0 project for STM3230x as basis for code. I only generated new motor configuration with MC studio and replaced evaluation bo...

STM32F405 32-bit timer in encoder mode

Posted on March 09, 2015 at 23:42I'm using STM32F405 TIM5 in encoder mode. As it is 32-bit timer I want to have the CNT register to hold actual position so I wouldn't need software assistance once it is setup, just read the counter. However it looks...

ksi by Associate II
  • 1052 Views
  • 4 replies
  • 0 kudos

STM32F205 bootloader resets when RDP is enabled

Posted on March 10, 2015 at 15:05Hi, I have a design using an STM32F205. It needs the capability to be upgraded via the USART interface, and I'd like to be able to use the built-in bootloader for this purpose. My application contains a command which...

andy by Associate II
  • 916 Views
  • 4 replies
  • 0 kudos

FLASH_OB_Launch() hangs

Posted on March 07, 2015 at 12:12Hello to all, I am using a STM32F2xx device. I need to set Readout Protection via the firmware itsself (not via JTAG). I use this code: if (FLASH_OB_GetRDP() == RESET) {         FLASH_OB_Unlock();         FLASH_OB_R...

andywild2 by Associate III
  • 1132 Views
  • 6 replies
  • 0 kudos