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

Custom USB PD Implementation on STM32G0

Hi everyone,I have been searching for about 3 days straight for a reasonable solution to a USB PD project, and I am still feeling lost. Maybe someone can point me in the right direction.We need to design a USB PD sink circuit which authenticates the ...

TLaux by Associate II
  • 1553 Views
  • 4 replies
  • 1 kudos

Resolved! STM32F411VE - How to use one USB-A connector to read/write flash USB keys and to send/receive data with a PC

Hello everybody,I'm new to USB development then excuse me if my questions are trivial.I have a board with the attached electric scheme (only USB section shown).The application I want to realize must do, with the provided HW, the following:Read/Write ...

0690X000009Z0ixQAC.jpg

USB ZLP send on STM32F429 does not work!

Has *ANYONE* *EVER* gotten USB to work on STM32 without linking in the thousands of lines that Cube framework is?Calling the documentation inadequate is an injustice to that word! The quality of the documentation approaches negative inf! And the cube...

dmitrygr by Associate II
  • 629 Views
  • 1 replies
  • 0 kudos

Resolved! CDC Device descriptior request failed

I want to realize CDC function to transimit/receive data to/from PC via STM32F105RB. I get the code from Cube. Set clock, enable CDC and modify heap size to 0x1000. But when I power on deivce, "Device descriptior request failed" shown.1.I don't know ...

Creating spi shift register

is it possible to create spi shift register on the slaves.for example, the master sends 200 bytes. the slaves keeps shiftting bytes until the NSS goes high. kindly advise how can this be implemented?Thanks

AOmar by Associate II
  • 258 Views
  • 0 replies
  • 0 kudos

USB ID pin interrupt

GPIO configuration as followsvoid HAL_HCD_MspInit(HCD_HandleTypeDef *hhcd){...  GPIO_InitStruct.Pin = GPIO_PIN_10;  GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;  GPIO_InitStruct.Pull = GPIO_PULLUP;  GPIO_InitStruct.Speed = GPIO_SPEED_HIGH;  GPIO_InitStruc...

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

stm32f7 + freertos +USBFS MSC stack not working

I am starting to use stm32f7 + freertos +USBFS MSC stack in the produce, but never work. I start from CubeMX, and it works if no freeRtos. The file can be written and opened without a problem, but with the FreeRtos, the code always stuck in the file-...

kqian by Associate II
  • 305 Views
  • 0 replies
  • 0 kudos