STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to set USB_PD PDO

We are planning to use STM32G071 in our next project.We would like to have 9V@3A in PDO1.​So we edited the PDO1 data in the usbpd_pdo_defs.h file as follows.​[0x0202D12C]00 0 0 0 0 1 00 000 0010110100 0100101100​Bit Description ...

Sodag.1 by Associate II
  • 3783 Views
  • 11 replies
  • 0 kudos

Resolved! USB CDC receving more than one char

Hello,I wonder, is it possible to receive more than one char (1 byte) at the time? For now I can only receive one in one message, i can't find the solution to receive more. Here is my code:/**usbd_cdc_if.c**/ static int8_t CDC_Receive_FS(uint8_t* Buf...

bmak by Senior
  • 1299 Views
  • 12 replies
  • 0 kudos

Resolved! Unable to send any message

Dear members,I'm working on an adapter project using the USB PD library to connect a NUCLEO-DRP1M1 and a SINK1M1 to an STM32G0C1-EV. The connection is a wire.I have already ported from the manual and the sample program, and implemented USBPD_DPM_Time...

YKubo.1 by Associate
  • 840 Views
  • 1 replies
  • 0 kudos

Resolved! Source to READ/WRITE txt files from usb

Hello community!In the project I'm working on, after the UART communication, I need to configure the USB to be able to read a txt file, creat or write another txt file and to update the frimware. I'm asking you if there is any source that shows how t...

OBorr.1 by Associate II
  • 1279 Views
  • 3 replies
  • 0 kudos