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

STM32F769 Discovery board capturing input on timer 3

I am trying to capture input from an external source. Using CubeMX as a guide, I configured timer 3 like this:/* TIM3 init function */ void MX_TIM3_Init(void) { // PC8 ------> TIM3_CH3 TIM_IC_InitTypeDef sConfigIC = {0}; GPIO_InitTypeDef GPIO_...

MPlan.7 by Associate III
  • 1100 Views
  • 7 replies
  • 0 kudos

Toggle Mode of Advanced Timers

Dear AllI am playing with TIM 1 to better understand its functionalities. My tests indicate that in the toggle mode (set through OCxM bits of CCMR): 1) The counter operates in the up-down mode, even if the CMS bits of CR1 are set to 00 (which is for ...

Amir1 by Associate II
  • 1689 Views
  • 5 replies
  • 0 kudos

How inaccurate is the RTC?

Hello! I wanted to know how inaccurate the RTC is when working with LSI or LSE.Reading from posts and data sheet of the MCU, I saw that LSI is much more imprecise than the LSE. I wanted to know if there was an equation that would allow me to estimate...

Emm1592 by Associate II
  • 1260 Views
  • 6 replies
  • 0 kudos

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
  • 671 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
  • 885 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
  • 837 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