STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

How to properly configure DMA for TIM2 timer?

TIM2 Timer initialization:static void my_TIM2_initInputCaptureTimer(void) { // enable clock source for timer RCC->APB1LENR |= (0x1 << 0); // set prescaler to 1 TIM2->PSC = 200 - 1;   // choose TIM2_CH1 input TIM2->TISEL |= (0x0 << 0); ...

esukh by Associate III
  • 517 Views
  • 4 replies
  • 0 kudos

CubeMX 4.15 input capture from comparator output

Posted on June 02, 2016 at 01:29Running stm32cubemx 4.15 and STM32Cube_FW_F3_V1.5.0 HAL I can set the output of a comparator to a timer input capture (e.g. comp1 output to timer 1 input capture 1) but I can't then set up the timer input capture with...

Trying to adapt a library, getting a syntax error,

Good day, everyone.This is the library I'm trying to us with the STM32f103.https://github.com/rogerdahl/stm32-tm1637Most all of the work was already done as this IS an stm32 library.I am however getting this error:compiling main.c... ..\libraries\stm...

MThat by Associate II
  • 769 Views
  • 4 replies
  • 0 kudos

Reset using syscfg->aircr fails when run from RAM

Running an stm32f407...I have some flash programming bootstrap code that runs in RAM and on completion the device is reset by writing 0x05FA0004 to the syscfg->aircr register. When run from flash this works fine but running it from RAM it ends up at ...

HAL_UART_Receive_IT timeout

Posted on May 14, 2018 at 15:24Hello,I plan to take the data from a meter. It works.I would now like to create a timeout on the HAL_UART_Receive_IT in case the wire connected to the meteris cut.Is it possible to create a timeout for this function or...