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

STM32F103 STD Periph I2C help

Hi,I want to send 2-bytes from I2C in a single transaction with std peripheral library. For 1-byte i can handle with code below, but how can i send 2 bytes ? Any advise ?void I2C_Write_Byte(I2C_TypeDef* I2Cx, uint8_t reg_addr , uint8_t reg_data, uint...

er3481 by Senior
  • 364 Views
  • 0 replies
  • 0 kudos

Implementing lwip + FreeRTOS in STM32L152

@I am using STM32L152RE Nucleo board for my development. My goal is to bring up a PPP connection using LwIP stack in a FreeRTOS environment. The evaluation board I am using does not have an Ethernet port. I will be talking to the modem serially. Cube...

Jagadish by Associate II
  • 432 Views
  • 0 replies
  • 0 kudos

DAC-USB Implementation Problem

Hi, I am using Nucleo F303re with STM32 HAL Libraries built by STMCubeMX in order to implement an USB Audio player with bulk transfers. I changed the USB-CDC code a little bit to implement my application. I receive the data in the CDC-Receive-FS func...

B??el by Associate II
  • 1416 Views
  • 4 replies
  • 0 kudos

Need demo firmware for stm32303 "E" version Eval

Unit came with demo loaded in flash and worked fine, I reflashed some test code and now I want to put demo back.I downloaded STSW-STM32124 which is the STM32303C "C" version demo firmware and compiled and loaded fine with IAR, but will not run. Co...

FJB2069 by Senior
  • 830 Views
  • 5 replies
  • 0 kudos

Multiple USB descriptor ( RNDIS + VCP)

Chip set : STM32F413xxI would like to implement RNDIS driver + VCP(FS).I wonder that usb descriptor is available or not for this combination.Descriptor was modified for this.VCP was enumerated but RNDIS was not enumerated. error code is 10 from windo...

YChun.5 by Associate
  • 382 Views
  • 0 replies
  • 0 kudos

Resolved! STM32L4xx HAL Library USB bug. Function USB_WritePMA does not work properly when compiled with "-O3" option.

I used latest CubeMX version and found another one bug in stm32l4xx_ll_usb.c generated by it. If you will compile code using "-O3" optimization level, function USB_WritePMA will not work properly. /** * @brief Copy a buffer from user memory area to ...