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

Unusual GPIO Initialization

Posted on September 26, 2014 at 23:02I'm maintaining some software for a STM32F103 and came across the following GPIO initialization code.    /* Configure PA5 as push-pull output for LED */     GPIO_WriteBit( GPIOA, GPIO_Pin_5, Bit_SET );     GPIO_I...

amoore by Associate II
  • 547 Views
  • 2 replies
  • 0 kudos

STM32F429 Input pulse capture w/ compare?

Posted on September 26, 2014 at 14:47Greetings. I am trying to determine the best methodology to capture an input pulse train (from a motor encoder), compare the input count to a set point, and generate an event when the input count reaches the setp...

cphelan by Associate II
  • 870 Views
  • 4 replies
  • 0 kudos

Bug report Cube+FreeRTOS

Posted on September 07, 2014 at 15:43There is a bug in STM32Cube (newest version). When I use FreeRTOS then the eTaskGetState() is not available. In FreeRTOS.h which is generated by Cube, the variable INCLUDE_eTaskGetState is set to 0 which means do...

Osto by Senior
  • 783 Views
  • 4 replies
  • 0 kudos

Free RTOS - Build Error with FPU

Posted on September 26, 2014 at 14:30Hey guys, I just got my Keil MDK license and using the STM32CubeF4, tried creating a shell project with FreeRTOS selected. Looked good until I tried to build when I see the following error:error:  #35: #error dir...

bdesantis by Associate II
  • 1650 Views
  • 3 replies
  • 0 kudos

Programming independent regions in the flash

Posted on September 26, 2014 at 15:04 I'm currently using emIDE (GNU ARM) with Segger J-Link on the discovery board STM32F407VG (1 MB flash). To be able to store configuration data in sector 1 in the flash I have modified the linker scrip...

Timer Synchronization

Posted on September 23, 2014 at 21:18 I'm trying to take advantage of the ability to synchronize two timers in a master/slave config. In my case, I'm using one timer as a PWM output, and would like to have a second timer track the first as close...

jvavra by Associate III
  • 706 Views
  • 3 replies
  • 0 kudos

bit-banding GPIO->ODR not possible?

Posted on September 26, 2014 at 10:46 Hello everyone, since I'm toggling quite often some outputs, I try to access them via bit-banding. Unfortunately I can not access the GPIOs. I tested bit-banding for SRAMand RCC configuration without...

g239955 by Associate
  • 1398 Views
  • 4 replies
  • 0 kudos

STM32CubeMX NOT CREATING PROJECTS

Posted on June 01, 2014 at 07:22Hi All, I am trying to use the Cube software to generate a baseline project code. The config and manage code level is 4.2.0, and the firmware level is 1.1.0. When I step through configuring for the 429 and hit code co...

david2399 by Associate II
  • 2799 Views
  • 8 replies
  • 0 kudos

Curious behaviour of USART2 interrupt

Posted on September 26, 2014 at 10:52Hello all,I have a situation where USART2_IRQHandler is being continuously triggered.I have two control bits set, RXNIE and TXNIE, all others are set to 0.When interrupt triggers I'm checking the reason for the i...

srdjan by Associate II
  • 506 Views
  • 3 replies
  • 0 kudos