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

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
  • 583 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
  • 1116 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 III
  • 1006 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
  • 1179 Views
  • 6 replies
  • 0 kudos

Timer Arithmetic: What am I missing?

Posted on March 10, 2015 at 16:53I want a timer to generate events at 2KHz. From the manual I see that TIM6 uses TIMxCLK for its input. TIMxCLK is the processor clock, right? My H/W is a STM32F428I-DISCO board using a STM32CubeMX generated project w...

hbarta2 by Associate III
  • 698 Views
  • 3 replies
  • 0 kudos

Generate a square wave in output compare mode

Posted on March 10, 2015 at 14:34Hi, I'm using the STM32F411RE Nucleo board and I would like to generate a 25 MHz square wave by using the output compare of timer3 in toggle mode. Timer is configure as follow :   TimHandle.Instance = TIM3;   TimHan...

How to set up the IWDG with multiple applications

Posted on March 10, 2015 at 15:07Hello,I am running a boot loader and main application on an STM32F429.  I am just getting to know how to use the ST Cube v1.4 and I have the following question:I have set up the IWDG in the boot loader and I wanted t...