STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

stm32g4 adc & dma &timer

I have stm32g441 Chip. ADC1 used in external trigger  mode and triggered by Time1Channel4 (OC4REF),But when T1Ch1- T1Ch3 worked in Center-aligned mode,T1CH4 has not Worked,ADC1 DMA interrupt occured,and occured in cycle.

wjun.1 by Associate
  • 556 Views
  • 1 replies
  • 0 kudos

STM32H7~How to allocate arrays to a certain location

I tried adding this to the linker file/* used by the startup to initialize data */ _sidata_RAM_D3 = LOADADDR(.data_RAM_D3); /* Initialized data sections goes into RAM_D3, load LMA copy after code */ .data_RAM_D3 :  {  . = ALIGN(4);  _sdata_RAM_D3 = ....

CFran.1 by Associate II
  • 3515 Views
  • 9 replies
  • 0 kudos

Resolved! Hard fault when writing to FLASH->OPTKEYR

Wondering why I'm getting a hard fault when writing to the FLASH option key register on an STM32G071RBT6 (Nucleo board).I first make this call, (running from flash):LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_FLASH);Then, running from RAM, do the fo...

BCoch by Senior
  • 1271 Views
  • 2 replies
  • 0 kudos

Using HSEM of STM32H7 ( sharing data )

Hi, I am working in project in which I use an STM32H745, So am trying to share data between the two CPUs.first I create structure in the two CPU like this :I used the same memory addressstruct shared_data { uint8_t drdyM4; float32_t data_to_M7[6][1...

Resolved! STM32L0 UART/LPUART wake from STOP MODE

Hi,I am using the MX Cube example in STM32Cube_FW_L0_V1.12.0\Projects\32L0538DISCOVERY\Examples\UART\LPUART_WakeUpFromStop.I have modified it to use the STM32L0538NUCLEO BSP and to use USART2.I had to add a HAL_SuspendTick in order to get into STOP m...

Hardfault in external library.

In project i use external library without source and result is hardfault . I test many combinantion optimize and other flags, nothing helps. _ZN2MI7Version25getVersionDetailsAsStringEPcj: 08002df0: push {r4, r5, r6, lr} 08002df2: ldr ...

MM..1 by Chief III
  • 331 Views
  • 0 replies
  • 0 kudos

How to reset STM32 when a hardfault is triggered?

Is there a way to programmatically reset my STM32 program back to the beginning like when pressing the Hardware Reset Button ? I would like to reset my program when a random hard-fault has occurred, if possible, i'd also like to store to flash the da...

Xxoyo.1 by Associate III
  • 15850 Views
  • 7 replies
  • 1 kudos

uart3 can't receive entire data

Hi All​I used UART3 of STM32F429 to receive data(larger than 10K). If the baudrate is 230400,the RX can receive entire file; But If the baudrate was 460800 or 921600,I can't get the entire file(143111 of 143316 bytes). Anyone can help?Regards,

YChen.51 by Associate II
  • 1609 Views
  • 8 replies
  • 0 kudos