STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 4.7.1 code generation issue

Posted on April 30, 2015 at 16:08 Generating code from STM32CubeMX 4.7.1 (for STM32F072RBTx controller) messes up USER sections of stm32f0xx_hal_msp.c. For instance, USER CODE ''TIM2_MspInit 0'' and ''TIM3_MspInit 0'' of function HAL_TIM...

STM32F030 Value Line and I2C IAP Programming

Posted on April 15, 2015 at 16:32I want my main board (STM32F4-Discovey) be able to upload/flash firmware to another small & cheap device (to be created) using I2C. Currently I must select a micro-controller for the small device but I couldn't find ...

32F429IDISCOVERY ADC single conversion

Posted on April 27, 2015 at 19:58Hi,I am having issue regarding an ADC configuration on 32F429IDISCOVERY board. I have a battery power application where I want to measure the battery voltage. This voltage is above the reference of the board (VCC) so...

possible bug in UART code generation cubemx 4.7.1

Posted on April 30, 2015 at 14:48 was trying to configure the UART to the Futaba SBUS spec (100000/8E2) and cubemx generated the following initialization code: void MX_USART1_UART_Init(void) { huart1.Instance = USART1; huart1.Init.Bau...

noobee by Associate II
  • 275 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 4.7.0 code generation issue

Posted on April 29, 2015 at 15:09 Generating code from STM32CubeMX 4.7.0 (for STM32F072RBTx controller) messes up USER CODE 3 section of main.c, when an if instruction with braces is present. For instance, original code /* Infinit...

Connecting two STM32F4s with HC-05 Bluetooth

Posted on April 29, 2015 at 19:20I connected HC-05 to my STM32F4 through USART. I have tested it with android app, and everything seems to work good (sending, receiving data). But how to connect two STM32F4s with each other? Do I have to know addres...

STM32L151 Can't set SCM or RI

Posted on April 30, 2015 at 02:39In debug mode SCM just reverts to 0 everytime I try to set it. I can set ASCR1 Channels just fine in debug, but my code won't set the channels. Here's the section that should set these bits RI->ASCR1 |= RI_ASCR1_SCM;...