STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32H7 USBX hub class flaky - Bug???

There seems to be a bug when using the USBX hub class.  Sometimes it works, but most often it does not.  The problem appears to be with file: ux_host_stack_enum_thread_entry.c.  The code:  VOID _ux_host_stack_enum_thread_entry(ULONG input) { UX...

matt-crc by Senior II
  • 378 Views
  • 7 replies
  • 3 kudos

STM32U545 AES GCM Tag mismatch

Hi,I am trying to use the AES hardware on the STM32U545 with the STM HAL libraries.I am able to correctly encrypt and tag an number of bytes of plain text. However, whenever I try to decrypt an encrypted message with a length not divisible by 4 I get...

STM32F103RBT6 USB problem

Hello, I have a problem with communication between my PC and MCU. I have connected my project according to this diagram (with external 12MHz oscillator):  I attempted to connecting the 1,5k GPIO pin (PA10) to control the pull up. Then I connected a 1...

radekklepal99_0-1741793253915.png radekklepal99_0-1741794688405.png radekklepal99_1-1741794719699.png prtscr1.jpg

Resolved! HAL_I2C_Mem_Read disables interrupts

I have set up a STM32F103 as a I2C master. I have found that calling the function HAL_I2C_Mem_Read sometimes disables all interrupts for more than 140us. Needless to say this causes significant problems with the timing of other external interrupts. T...

JGaby.1 by Associate III
  • 431 Views
  • 5 replies
  • 1 kudos

How to connect a removable sim (not truphone) with B-L462E-CELL1? Some AT commands don't work neither in X-Cube-Cellular nor by talking with the modem directly through USART3.

I've been trying to connect the modem for weeks (Not the truphone sim, a removable one). I would like to connect by talking with the modem directly (through the AT commands), however I have also tried the X-Cube-Cellular.Some AT commands don't work n...

0693W00000GVtWNQA1.png
SPere.2 by Associate III
  • 804 Views
  • 3 replies
  • 0 kudos

HAL_DSI_Init() stuck on error

Hi,the application gets stuck on the Error_Handler() in the piece of code below in main.c    hdsi.Instance = DSI; hdsi.Init.AutomaticClockLaneControl = DSI_AUTO_CLK_LANE_CTRL_DISABLE; hdsi.Init.TXEscapeCkdiv = 4; hdsi.Init.NumberOfLanes = DSI_...

Ricko_1-1741496086965.png Ricko_2-1741496396470.png Ricko_0-1741496058160.png
Ricko by Senior III
  • 216 Views
  • 1 replies
  • 0 kudos

Resolved! I couldn't find the link to the svd file

Hi I'm bit lost and I couldn't find the link to the svd file. Is it somewhere in here https://www.st.com/en/microcontrollers-microprocessors/stm32g051f6.html#tools-software? If I search for svd I get zero result. Which link is it that takes me direct...

Johansa by Associate
  • 179 Views
  • 1 replies
  • 1 kudos

Custom context in callback handlers

Hello,I would like to request a feature to be added to the STM32 HAL.Would it be possible to be able to add a custom user context when registering peripheral callbacks.Example: HAL_StatusTypeDef HAL_SPI_RegisterCallback(SPI_HandleTypeDef *hspi, HAL_S...