STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 135 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
  • 275 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
  • 192 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
  • 127 Views
  • 0 replies
  • 0 kudos

STM32Cube FW_F1 V1.0.0 - USB CDC Bug

Posted on May 28, 2015 at 12:52Hi friends, I create a sample project with: - STM32Cube FW_F1 V1.0.0 - F103 - USB CDC Shortly I found this lines in usbd_conf.c [code]/**   * @brief  static single allocation.   * @param  size: size of allocated memo...

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
  • 80 Views
  • 0 replies
  • 0 kudos