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! Wait for HSI/PLL/Sysclk etc etc ready - Why???

I am new to Arm but old to assembly coding (inc Toshiba 32 bit CISC - now extinct).. Just completed RCC startup code for a STM32F344 chip by looking at the 1124 pages (!) of the RM0364 manual and the CUBE LL start up code (!!!). The CUBE code has wai...

RexG by Associate III
  • 1652 Views
  • 10 replies
  • 4 kudos

STM32H7 USB DEVICE CDC PROBLEM

I am trying to use STM32H747IGT6 as a USB device. I want to sent data using CDC. Below you can find my configuration and code. The MX_USB_DEVICE_Init() is successful. Although when I call the CDC_Transmit_FS, it never returns USB_OK and I wasn't able...

Screenshot 2024-01-09 at 8.22.23 PM.png Screenshot 2024-01-09 at 8.23.09 PM.png Screenshot 2024-01-09 at 8.24.47 PM.png Screenshot 2024-01-09 at 8.25.29 PM.png
PanosGial by Associate II
  • 4268 Views
  • 10 replies
  • 2 kudos

Resolved! Write/Read SPI directly (no ISR) using LL

Hallo to everybody.Still working on SPI&Display  adapting a code for M4 (see Different data after the 1st transfer using SPI via DMA ).I need to write only one byte at a time due to control pins of display.Starting from a NUCLEO-H563ZI and LL example...

TheRaprus by Associate III
  • 634 Views
  • 1 replies
  • 0 kudos

SPI crc error every time

Hello everyone, I have enabled an spi1 port on a STM32G473CET6 as a slave and am using a raspberry pi as a master.I have verified with known packets to ensure I have implemented the correct crc algorithm on the raspberry pi both in transmission and r...

STMaspirant_0-1732566292501.png STMaspirant_1-1732566526918.png STMaspirant_4-1732567303619.png STMaspirant_3-1732567224523.png