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

Resolved! Trying to de-initialize the USBPD library

I'm using ST's USBPD middleware library and have it successfully working as both a source and a sink. However, I have a use case where I will need to de-initialize the USBPD library and reset the state machine back to it's initial state. Ideally when...

RHelv.1 by Associate III
  • 2453 Views
  • 7 replies
  • 0 kudos

how can i convert my simple few lines i2c wire library based arduino code to STM HAL api based code ?

Could someone please help me to convert My tested arduino code on STM32, now using HAL apis to drive same code :#include <Wire.h>int16_t X, Y, Z = 0;const uint8_t STK8321 = 0x0F;const uint8_t startRegister = 0x02;void printAcceleration() { byte accel...

Nverm.1 by Associate II
  • 4344 Views
  • 5 replies
  • 0 kudos