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

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
  • 691 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
  • 1174 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
  • 309 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
  • 1088 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
  • 666 Views
  • 3 replies
  • 0 kudos

Problem with UART HAL DRIVER function.

Posted on May 25, 2015 at 00:35Hi, i was trying to learn how to use the UART from m stm32f429DISCO, starting with a simple polling program that reads a caracter from pc and retransmit it. (i've reviewed reference manual, datasheet and the descriptio...

juanjojy by Associate
  • 860 Views
  • 2 replies
  • 0 kudos

STM32F3 Discovery, USB CDC bug

Posted on May 21, 2015 at 08:56Hi,I create a project using STM32CubeMx with keil MDK5. my hardware is Discovery F3 and I make a loopback just by following code:static int8_t CDC_Receive_FS (uint8_t* Buf, uint32_t *Len){  /* USER CODE BEGIN 6 */ CDC_...

rshams9 by Associate II
  • 857 Views
  • 4 replies
  • 0 kudos