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

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
  • 1211 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
  • 726 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
  • 934 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
  • 988 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
  • 503 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
  • 435 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
  • 1838 Views
  • 10 replies
  • 0 kudos

New HAL_UART API

Posted on April 22, 2015 at 19:16In the good old SPL we just had UART_Init, UART_SendData (to send 1 byte) and UART_RecieveData (to receive 1 byte). All interrupt handlers and DMA operation was our own problem.And many of us already wrote them and t...

amomum by Associate III
  • 2545 Views
  • 14 replies
  • 0 kudos