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! STM32G484 HardFault_Handler

Hi, I got stuck in the HardFault_Handler every time after editing some code. I'm using FreeRTOS in c++ combination with classes. First I thought this would be a memory issue. After increasing configTOTAL_HEAP_SIZE and configMINIMAL_STACK_SIZE, I was ...

ErX by Associate III
  • 453 Views
  • 4 replies
  • 3 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...

STM32F767ZI Custom Board with KSZ8081RND PHY

I have designed a custom board based on the STM32F767ZI MCU. To enable Ethernet connectivity, I integrated the KSZ8081RND PHY, along with the necessary magnetics and an RJ45 connector. You can find the full schematics in the attached PDF.On the hardw...

debug_link_phy.png debug_txconfig.png
pp3reira by Associate II
  • 372 Views
  • 1 replies
  • 1 kudos

Resolved! LIN BUS non blocking HAL_LIN_SendBreak?

Hi, HAL_LIN_SendBreak seems to be blocking CPU, is there a way to bring UART TX pin down then wait for timer and bring it up? I have done it making GPIO pin GPIO_MODE_OUTPUT_PP then back to GPIO_MODE_AF_PP but init after takes long time. I was wonder...

JBond.1 by Senior II
  • 421 Views
  • 2 replies
  • 0 kudos

Resolved! UART output data gets corrupted

So here is the outline of my code. I'm getting data every 5 seconds (example data: "vref:2975.12, voltage_max:30.00, voltage_min:-1219.00,avg_error: 4136.04") via UART and i transmit it again to view it in putty via ST Link (USART3). Problem is some ...

sreyas40_0-1768217556423.png

Implement WebSocket Protocol on STM32?

Hello,I am currently working on a project with an HTTP server, successfully implemented using FreeRTOS. In this setup, I handle client requests for opening and collecting data from the client side. However, since I need to display real-time data on a...

AS5 by Associate II
  • 5889 Views
  • 11 replies
  • 4 kudos