STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F0 RTC Calibration Problem

Hello everyone,I am working on RTC of STM32F042C6. But I have a calibration problem. This is my measurement mechanism:For example: I’m measuring a +23,2 ppm error. I’m writing the value 24 (+23,2 ppm / 0,954 = 24 clocks) for the CALM bits of the CALR...

0690X0000088rUMQAY.png 0690X0000088rVPQAY.png 0690X0000088rVoQAI.png

Ho do you connect external oscillator to STM32L412 ?

I cannot find any schematics, what kind of crystal. I want to connect 20 MHz. It seems it is as high as it can go. The datasheet does not say exactly what o connect.Some of the STM have two pins to connect extearnal oscillator but this one has just o...

MNapi by Senior III
  • 758 Views
  • 4 replies
  • 0 kudos

STM 32 I2C error handing.

Hello, dear collegues!Please help me with I2C!I use I2C to transfer data between 2 controllers: STM32F051C8T6 and STM32F100RB.When I use laboratory power supply, it works without some problems. But when I use external power supply based on the pulse ...

GKlim by Associate II
  • 336 Views
  • 1 replies
  • 0 kudos

Position-Independent Code - .data initialization

I'm developing a bootloader for an STM32L0 MCU that will jump to one of two or more application partitions in flash. I'm using IAR 8.22.2.To make the application binaries position-independent, I've compiled them with the -ropi option. I've also modif...

DWann by Associate III
  • 2266 Views
  • 10 replies
  • 1 kudos

STM32L4 IWDG freeze in STOP mode

Hello,I would like to freeze the functionality of the IWDG while the microcontroller is in STOP mode, because I want stop time greater than 32 seconds. I read the documentation and I built the following code: FLASH_OBProgramInitTypeDef pOBInit; pOB...

MMoli.7 by Associate II
  • 1806 Views
  • 6 replies
  • 0 kudos

SPI is not working TXE flag remain reset

I am working on stm32f103c8 using its SPI 2peripheral to communicate to slave device which is also stm32f103c8 using SPL library . master unable to transmit 8 bit data stuck on txe flage which is remain reset mode.

Msing.4 by Associate II
  • 336 Views
  • 0 replies
  • 0 kudos

arbitrary waveform using DMA and timer

Hello,i am trying to generate arbitrary waveform. But it still dose not work. I think it's up to the configuration. I have created a array of 6 words for two waveform patterns to be send to TIM1 channel 1 (TIM1_ARR, TIM1_RCR, TIM1_CCR1) This is how t...

Samuel1 by Associate III
  • 1682 Views
  • 7 replies
  • 0 kudos