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! STM32H7 dual core Break at address; no debug info

Hello,I am using STM32H7 dual core series. My STM32CubeIDE works fine when I am using HSI. But whenever I set the configuration to HSE, I am getting Break at address "0xa05f0000" with no debug information available, or outside of program code error. ...

HDesa.1 by Senior
  • 5868 Views
  • 12 replies
  • 6 kudos

Resolved! Unexpected UART interrupt in STM32G0

Hi All,I'm facing a strange issue on UART, I generate the code by CubeMx for UART functionality, UART is working fine but when ever i remove the TTL (Serial to USB) and keep Rx pin float, UART interrupt occurred continuously and main application stop...

vchau.2 by Associate III
  • 1309 Views
  • 3 replies
  • 0 kudos

PWM DMA generation with variable period

Hi all,I am trying to generate a PWM signal with both variable pulse width and period. I think the HAL_TIM_Base_Start_DMA function can only generate it with variable pulse width but not variable period. I have checked the timer cookbook and found the...

OFN by Associate II
  • 3883 Views
  • 9 replies
  • 0 kudos

LIN

Bonjour, J'essaie de faire communiquer ma carte Nucleo-723ZG avec un périphérique LIN.Apriori, ma carte est adapter au protocole LIN et j'arrive à configurer mon périphérique USART1 en LIN. J'utilise avec ma carte un transceiver LIN. Quand j'envoi un...

L4 Flash erase issue

MCU is STM32L4R9 with 1MB. I'm having trouble getting the device to erase the upper half of the flash programmatically. Apparently the device ships with opt bytes set for dual bank.I connected the device to the STM32 programmer through USB and turn...

EFrie.3 by Associate II
  • 2434 Views
  • 6 replies
  • 0 kudos

error in TLS communication with Azure IoT hub

Hello,I am working on stm32u585 (B-U585I-IOT02A) board with BG95 M3 as cellular modem, I have intergrated x-cube-cellular package with freeRTOS for cellular modem.Now I am creating task that connect with Azure IoT hub for that I have integrated azure...

amolchor25_0-1696325259671.png

Resolved! STM32 F7: lock flash CR and avoid bus fault

Hi,On a STM32 F7, I would like to lock access to the FLASH_CR by writing a wrong key to the FLASH_KEYR register. Writing a wrong key results in a bus fault (disabling the bus fault raises it to a hard fault).Could someone help me with a way to write ...

LeeK by Associate II
  • 4256 Views
  • 7 replies
  • 3 kudos

Resolved! STM32G0 USBPD periphery seems to be deaf

Hello,I am developing a USB PD sink application on custom board with STM32G0B1VETI am using periphery UCPD2. I followed AN5418 to set up eveyrthing in CubeMX and add the specified pieces of code.Hovewer, ithe USBPD stack doesn't seem to send or recie...

Tadeas_Pilar_0-1695580295446.png

Resolved! USB HOST bootloader, start application

Starting from this video (https://www.youtube.com/watch?v=CGUC1wqSLCE) I'm trying to write my bootloader for DFU from an USB stick. The code works but I would like to tweak it such that:if at boot an USB stick is detected, than start the update, othe...

DamianoF by Associate III
  • 2335 Views
  • 2 replies
  • 1 kudos