STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

watchdogtimer parameters cubemx

Posted on July 05, 2018 at 13:53hello , im testing watchdogtimer in stm32f103cb , now i started by independant wdt  i suceed ,MX_IWDG_Init();/* USER CODE BEGIN 2 */HAL_GPIO_WritePin(led_GPIO_Port, led_Pin, GPIO_PIN_SET);//offHAL_Delay(1000);/* USER ...

0690X0000060LdfQAE.png

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
  • 269 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
  • 341 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 ...