STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32 check if usb is still enumerated and active

Posted on June 05, 2015 at 05:05Hi all,I have made a simple USB HID gamepad with STM32F103. It works well, but the problem is when I restart the PC, if the usb cable is still atached, it takes the PC much much longer to pass bios screen. I guess thi...

embedonix by Associate III
  • 435 Views
  • 0 replies
  • 1 kudos

A couple of bootloader issues.

Posted on June 03, 2015 at 16:58On the STM32F429 Discovery I have managed to boot into the bootloader to upgrade the image in flash via I2C. I still have two issues I (or you) need to solve, however. 1. Flash erase. At first I tried a mass erase of ...

anders23 by Associate II
  • 945 Views
  • 3 replies
  • 0 kudos

SVC with CMSIS-RTOS RTX

Posted on June 04, 2015 at 14:39Hi everyone,I am trying to learn the CMSIS-RTOS RTX. I have experience in FreeRTOS. I am trying to test this example: https://www.keil.com/pack/doc/CMSIS/RTX/html/_example_r_t_x__tutorial.html&sharpRTX_Tutorial_SVCBut...

STM32Cube CAN Driver locks up with bus errors

Posted on June 01, 2015 at 19:28I am using a STM32F072, code generated by CubeMx 4.7.1 with F/W 1.2.1 My CAN code looks exactly like the Example code in ...\STM32Cube_FW_F0_V1.2.0\Projects\STM32072B_EVAL\Examples\CAN My device is connected to a very...

jesper by Associate II
  • 647 Views
  • 1 replies
  • 0 kudos

Starting ROM bootloader on STM32F429 Discovery

Posted on May 28, 2015 at 20:23I want to enter the Bootloader on STM32F429 Discovery and reprogram the internal flash via I2C. I read AN2606 and then connected the following pins from my I2C master: SDA <-> PB9 SCL <-> PB6 GND <-> GND BOOT0 <-> 3v I...

anders23 by Associate II
  • 1114 Views
  • 4 replies
  • 0 kudos

STM32F4xx standard peripheral drivers add defines

Posted on June 02, 2015 at 08:42Hello,this is targeted for STM32F4xx developers for standard peripheral drivers.You did a great job when you add defines for new libs only included in F446 by using/* For example: STM32F4xx QSPI: *//* stm32f4xx_qspi.c...

tm3341 by Associate II
  • 285 Views
  • 0 replies
  • 0 kudos

USB Serial with STM324x9I-EVAL

Posted on May 29, 2015 at 15:33I am trying to interface a pair of XBees with a pair of STM324x9I-EVAL boards to open up a wireless communication link. I'm considering using the microUSB breakout board to interface with the dev. board but am unsure w...

STM32CubeMX failing to set PWM complment channel

Posted on May 26, 2015 at 23:26 I have an F103-Nucelo, Kiel, and want to set Tim1 with PWM on Ch2,Ch2n,Ch3,Ch3n. I have this set as correctly as I can see in STM32Cube. I have a scope and can verify the Ch2/Ch3 work perfectly. The complmenet/neg...

este00 by Associate II
  • 1041 Views
  • 3 replies
  • 0 kudos

HAL SPI DMA Transmit vs TransmitReceive

Posted on May 30, 2015 at 04:14 Hi, when dealing with SPI with DMA this works: SPI_CS_on(); if (HAL_SPI_TransmitReceive_DMA(&hspi2, &dataout, &input, 1) != HAL_OK) { /* error */ } while (HAL_SPI_GetState(&hspi2) != HAL_SPI_STATE_READ...

USB Virtual COM port problem on STM32F4

Posted on May 06, 2015 at 12:06Hi at all,I'm using a STM32F4 (with HAL libraries) and I have configured the USB as device in order to realize a communication wit the PC through the virtual COM port.When I send the first packed (from PC to MCU) I hav...

luca2399 by Associate II
  • 640 Views
  • 3 replies
  • 0 kudos