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

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
  • 1123 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
  • 682 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
  • 880 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
  • 921 Views
  • 4 replies
  • 0 kudos

STM32Cube LwIP demos not working

Posted on May 28, 2015 at 19:15Hello, I'm trying to run the TCP echo client demo that comes with the STM32Cube_FW_F4_V1.5.0 using the STM3204G-EVAL and i can't get any packet from the board. I'm using echotool as the doc (UM1713) suggest and open th...

ak34780 by Associate
  • 464 Views
  • 0 replies
  • 0 kudos

CubeMX USB CDC wrong buffer handling?

Posted on May 26, 2015 at 22:13Hello, in my earlier post I asked abouot buffer handling. I investigated any further and found one potential error and one unused buffer. 1) buffer overflow in file usbd_cdc_if.c &sharpdefine APP_RX_DATA_SIZE  4 ... ui...

taraben by Senior
  • 410 Views
  • 0 replies
  • 0 kudos

STM32F072 DFU vs. App

Posted on April 18, 2015 at 23:21Hi All, I'm new on STM controllers and I don't know enough about this controller yet. I tried to use USB DFU on Discovery board. I using latest DfuSe 3.0.4 and latest STM32Cube_FW_F0_V1.2.0\Projects\STM32F072B-Discov...

anagy9 by Associate II
  • 1755 Views
  • 10 replies
  • 0 kudos