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

LPUART fail wakeup in STOP2

Hello, Using Modbus master and slave communication, where Modbus master working fine, I have issue with slave device communication. Using HAL_UARTEx_ReceiveToIdle_IT() for receiving modbus frame, and HAL_UART_Transmit_IT() to transmit response. Curre...

npatil15_0-1762921775853.png npatil15_1-1762921798795.png
npatil15 by Associate III
  • 148 Views
  • 8 replies
  • 0 kudos

Getting HAL_Delay() working in external loader

Hello, i created a custom external loader for a STM32F429 board.The problem is now, my code needs HAL_Delay() for generating short delays between flash device accesses. And the code freezes when executing HAL_Delay(). So i have read that interrupts a...

sk-st by Associate III
  • 43 Views
  • 2 replies
  • 0 kudos

Accurate timing of events - SPI DMA

In the above image (logic analyzer) , SPI in DMA was supposed to start at the end of high on the second signal, but it starts a bit later. (3rd signal CS of SPI, 4th signal SCLK)And the SPI was to supposed to be active at every period (the first sign...

sreyas40_0-1762943386543.png sreyas40_1-1762943518981.png sreyas40_2-1762943888502.png

STM32U073 LPUART not waking from STOP2

Hello,I'm working on a low power project using STM32U073 with FreeRTOS, LPUART2 and LPTIM1.To achieve the lowest system power possible I am trying to use STOP2 for when the system is idle.Currently I have LPTIM1 releasing a semaphore every 1 second w...

USB PD enable display port [STM32N6 - SNK]

* board - STM32N6570-DK*  using STM Cube 1.19.0* Example - USBPD_SNK Goal - to enable Display port Problem - is i'm getting stuck with the current example.  It gets stuck at SVDM_deiscovery_identity part.  Which in that packet i should be able to sta...

PD_Example_results.png

G4 vs H5 speed

Hi,We are running a crypto key generation library on both an STM32G474 (170MHz) and an STM32H563 (240MHz).Over about 80 runs, the average generation time is around 12 seconds for the H5 and 38 seconds for the G4.These times are fine for our applicati...

JimJW by Visitor
  • 59 Views
  • 5 replies
  • 0 kudos

HAL functions using archaic terms - why?

Hi, I am compiling the STM32U0 HAL library and I get errors like this one:/Users/kiwanda/techniek/swexternals/STM32/HAL/Libraries/STM32U0xx_HAL_Driver/Inc/stm32u0xx_ll_comp.h: In function 'uint32_t LL_COMP_GetCommonWindowMode(const COMP_Common_TypeDe...