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

HSI clock and baudrate ?

Dear Members,I changed my clock from MSI to HSI but my SPI and UART baudrate becoming wrong,What do I miss here ?thanks

I operated according to this instruction, but CAN failed to wake up. May I ask what is the reason?

/** * @brief Enters the low power mode. * @param CANx: where x can be 1 or 2 to to select the CAN peripheral. * @retval status: CAN_Sleep_Ok if sleep entered, CAN_Sleep_Failed in an  *        other case. */uint8_t CAN_Sleep(CAN_TypeDef* CANx){ uint8_...

hzhao.5 by Associate
  • 843 Views
  • 1 replies
  • 0 kudos

Resolved! Set date and time RTC in main()

Hello, I want to know if it is possible to set date and time of the RTC in the main() function.I'm working with the LSI and I know that is very inaccurate. My idea is to -"re-initialize" (set manually the date and time) the RTC every 1 week for examp...

Emm1592 by Associate II
  • 1049 Views
  • 1 replies
  • 0 kudos

Flash Self Write issues

Hi.I'm having some difficulties with the flash self write. This is a 2 part question, they are related but most likely with different causes and solutions. Background: I'm using a STM32L476R6T6 (256Kb flash) and I have a bootloader that erases th...

mscaff by Associate II
  • 999 Views
  • 4 replies
  • 0 kudos

What do I use the complementary PWM output?

Hi.I'm a beginner in programming stm32 microcontrollers. I am developing a control for brushless motors using DMA.I am using the microcontroller STM32F103C8T6 (Chinese development kit "bluepill") at 72Mhz.To connect two LEDs for test, set 1 TIMER1 PW...

0690X000008ATdlQAG.png 0690X000008ATdqQAG.png 0690X000008ATdvQAG.jpg

Resolved! Hi, I am trying to obtain values from potentiomater which is connected to PA0 (ADC channel 0), through ADC.

However, the values that I obtain (I show them on LCD display) are not only inconsistent, but also the potentiometer's rotation doesn't effect the value? I have searched a lot and tried different ways but I couldn't find the problem in my code. Pleas...