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

STM32G0B1 USB-PD

Hi, I am using the STM32G0B1CBTX with STM32CubeMX ver 6.13.0 to produce a USB-PD DRP application. So far, I managed to implement a USB 2.0 Host as this is also needed. When trying to add the USB-PD DRP following ST-s tutorial BUT omitting the inclusi...

DDeba.1 by Associate III
  • 665 Views
  • 5 replies
  • 3 kudos

Resolved! STM32C0 RTC Init timeout

STM32C031G4I am trying to adjust the RTC time in an EXTI interrupt routine (its a button press, it should e.g. add an hour).The RTC is setup using HAL, it succesfully inits with the preset values. After Initialization everything works, the RTC is cou...

janik by Associate II
  • 638 Views
  • 1 replies
  • 3 kudos

Resolved! STM32 CubeIDE assembly code + C issue

Hello, I am working on C + Assembly and encountering an issue.I am working on a simple program on an STM32F3 (Cortex-M4) that calls an assembly function (assembly_main) from main() in a loop. However, assembly_main()executes only once and does not re...

how to get X-Cube-STL library?

Hi,I am Shantanu Ganar, Firmware Engineer in REFU DRIVE INDIA Pvt.Ltd located in PUNE.We are planning to work with STM32 MCU for our upcoming project and therefore we would like to know more about X-CUBE-STL library, its cost, procedure for purchase,...

Resolved! Unexpected output of a function

Hello. I have a problem with my code. I's supposed to send to the computer "00 82 00 00 01 01", however it sends "00 82 00 00 00 00". It can happen that the last four bytes are garbled. I've tested by printing pretty much up to the HAL functions, yet...

Adar71 by Associate
  • 437 Views
  • 1 replies
  • 2 kudos

Resolved! STM32H753: Receiving Messages via UART

I'm working with an STM32H753 MCU and trying to receive messages from a PC via UART to implement a simple state machine. The idea is that the MCU should switch to different states based on the received message.Initially, I attempted to use fgets(mess...

doronzzz by Associate II
  • 1005 Views
  • 8 replies
  • 4 kudos