STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Phase Shifting PWM2 from PWM1 on Same Timer

Is it possible to do this? I need to shift PWM2 by 180 degrees from PWM1. On a test board I am doing this with two timers, with the second timer picking up the count from the first and adding period/2. The current board will not allow this.I hope it ...

Using I2C-DMA without any interrupt

I am trying to build a system that does not use interrupts at all. This due to hard realtime requirments. Now I hat a look at the HAL code and as far as I can see even HAL_I2C_DMA functions seem to rely on IRQ, correct?Can HAL I2C DMA functions be us...

stephan2 by Associate II
  • 503 Views
  • 1 replies
  • 0 kudos

STM32L4 LSE 1Hz PPS

Hi,is it possible to use the L4's LSE in bypass mode, driven by a 1Hz signal?I have a set of L4 chips on a bus and would like to feed them a 1Hz / PPS signal from a precise / temperature-compensated clock (and then use the LSE with /1 prescaler for t...

Setting RTC Alarm For A Specific Period From Now

Hello,I would like to set an RTC alarm to wake the system, let's say, 5 seconds from current time.The example applications show how to set an alarm for a specific date+time in the future, but I want to set it for X milliseconds from current time.One ...

ISeed by Senior
  • 1118 Views
  • 4 replies
  • 0 kudos

HSE clock hardware design clarification

Hello everyone,I am designing a board using STM32L496RE and I'm currently in the HSE clock design phase.I have chosen a 16MHz crystal with CL 18pF. I have been following the AN2867 (https://www.st.com/content/ccc/resource/technical/document/applicati...

CProt by Associate
  • 729 Views
  • 4 replies
  • 0 kudos

TIM_ETR_SetConfig() static or not?

Hello,when generating a STM32CubeMX project from within Keil µVision, in stm32f4xx_hal_tim.c (STM32F4xx_DFP/2.13.0) the function TIM_ETR_SetConfig is defined as static in the .c file and none-static in the corresponding .h file, so i need to change t...

TBirk by Associate
  • 342 Views
  • 0 replies
  • 0 kudos