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

STM32F103 and I2C TX using DMA, byte array issue

Hello, i have the following setup code for i2c and DMA, where i use i2c1 to send some buffer data to a display. DMA_DeInit(DMA1_Channel6); DMA_InitStructure.DMA_BufferSize = DMA_I2C_BUFFER_SIZE;//BufferSize; DMA_InitStructure.DMA...

0693W00000bhQkdQAE.png
Bogdan by Senior
  • 1454 Views
  • 3 replies
  • 0 kudos

Usage of TIMER2 on STM32F103C8 for encoder & pwm generation

Hello,i am using on stm32f103 timer2 where channel1 & channel2 are used as input capture for reading a external rotary encoder.Since my design is quite tight ( using almost all pins available), i need to generate a PWM for an external LCD backlight ...

Bogdan by Senior
  • 897 Views
  • 0 replies
  • 0 kudos

bank swapping in stm32h745

Hi, I want to use OTA in stm32h743, for that I need to switch between two bank after flash write, as per reference manual//HAL_FLASH_OB_Lock(); HAL_FLASH_OB_Unlock();   /* Set OPTSTRT Bit */ SET_BIT(FLASH->OPTSR_PRG, FLASH_OPTCR_SWAP_BANK); /* Wa...

ykn by Senior
  • 1946 Views
  • 3 replies
  • 0 kudos

Calibration issue on STM32H750 - DIV256 versus DIV1

The calibration at a DIV256 works most of the time but some MCU must be calibrated with a DIV1 otherwhise I get an offset of zero. We use VREFBUFF as reference. We try to swap an MCU with good result (DIV256 worked). One MCU calibrated but with error...

guys_fr by Associate II
  • 1094 Views
  • 4 replies
  • 0 kudos