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

I2C_frequency configuration

Hi,I would like to configure the I2C frequency based on the input clock frequency. Is there a specific formula to calculate the I2C timing values? Also, I would like to know whether this formula is applicable to all STM32 microcontrollers, or if it v...

SDhar.1 by Associate II
  • 211 Views
  • 2 replies
  • 2 kudos

Issues with interrupt priority handling

Hello,i have configured a timer interrupt an it seems like that interrupt preempt another adc interrupt. I configured the timer interrupt like that: NVIC_SetPriority(TIM1_BRK_IRQn, 2U); NVIC_SetPriority(TIM1_UP_IRQn, 2U); and the adc interrupt like t...

Resolved! STM32L011 bootloader cannot read SRAM

I have an STM32L011 on a board I am developing.I can enter the bootloader no problem, as per AN2606/AN3155.  I am using USART2, 57600 baud.I can program FLASH/erase FLASH/read FLASH - all works as expected.I note that the bootloader reserves 2048byte...

Resolved! Project not picking up RAM section from linker file

I am working with a dual core STM32H755 and attempting to create a shared memory location for the two cores to access. I am attempting to do this by modifying the linker script.  I have added the following lines to the M7 core linker script, in the S...

TomC1_0-1746627364480.png
TomC1 by Associate III
  • 437 Views
  • 5 replies
  • 1 kudos

硬件不变的情况下,SPI+DMA 循环模式主机接收 采集电压异常,Normal模式却正常

用SPI+DMA驱动AD4001,用片选信号代替 CONV,采集一个正弦信号。Normalnormal正常,循环模式却不对,求大佬解答!!Normal模式下,每次在 HAL_SPI_RxCpltCallback 函数里面重新启动数据正常,能看到正弦变化规律                                 循环模式下数据就不对了,采集的同样一个交流信号,我在半传输完成回调里面查看,按道理后半部分的数据应该是正常的正弦变化才对,实际却不是,但是去采集直流时又是正常的。        ...

154804hzpook13om0ogbkz.png 154808z1jn00040jl06znf.png 154810og0gd6z72v30cgzv.png
kevin_sa by Associate
  • 268 Views
  • 1 replies
  • 0 kudos

STM32F105 DFU Bootloader Grief

Hi all.I'm new to STM, but have been designing and making embedded MCU products for over ten years.I was drawn to the STM32F105 series because of the USB DFU, to allow for field updates for prospective customers to update a product we're developing. ...

Tad_E by Associate II
  • 579 Views
  • 5 replies
  • 0 kudos

STM32H5 GPDMA Linked list example without HAL

I am trying to implement a GPDMA driver in a C project that does not use HAL, and have been really struggling to get something working. I have read everything I can find on this peripheral, multiple times, and still don't quite understand how one wou...

tbennett_0-1746647568608.png
tbennett by Associate
  • 327 Views
  • 1 replies
  • 0 kudos