From be23c931b57eb236bcbff2da4fbc52a825f984ce Mon Sep 17 00:00:00 2001 From: "Andreas \"Paul\" Pauli" Date: Tue, 14 Jul 2015 18:40:06 +0200 Subject: [PATCH 1/3] board/nucleo-f303: corrected timer 3 clock value --- boards/nucleo-f303/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/nucleo-f303/include/periph_conf.h b/boards/nucleo-f303/include/periph_conf.h index ae4014f557..5e88444b1b 100755 --- a/boards/nucleo-f303/include/periph_conf.h +++ b/boards/nucleo-f303/include/periph_conf.h @@ -120,7 +120,7 @@ extern "C" { /* PWM 0 device configuration */ #define PWM_0_DEV TIM3 #define PWM_0_CHANNELS 4 -#define PWM_0_CLK (36000000U) +#define PWM_0_CLK (72000000U) #define PWM_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM3EN) #define PWM_0_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM3EN)) /* PWM 0 pin configuration */ From 7c4e291f70acdeafe4b688f74c7cfa06c5fa5deb Mon Sep 17 00:00:00 2001 From: "Andreas \"Paul\" Pauli" Date: Tue, 14 Jul 2015 18:40:45 +0200 Subject: [PATCH 2/3] board/stm32f3discovery: corrected timer 3 clock value --- boards/stm32f3discovery/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/stm32f3discovery/include/periph_conf.h b/boards/stm32f3discovery/include/periph_conf.h index 1a15306720..a47c93c10c 100644 --- a/boards/stm32f3discovery/include/periph_conf.h +++ b/boards/stm32f3discovery/include/periph_conf.h @@ -119,7 +119,7 @@ extern "C" { /* PWM 0 device configuration */ #define PWM_0_DEV TIM3 #define PWM_0_CHANNELS 4 -#define PWM_0_CLK (36000000U) +#define PWM_0_CLK (72000000U) #define PWM_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM3EN) #define PWM_0_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM3EN)) /* PWM 0 pin configuration */ From 84c758e65a3c6adb9b7b55329f1e4d20bb940ba1 Mon Sep 17 00:00:00 2001 From: "Andreas \"Paul\" Pauli" Date: Wed, 15 Jul 2015 17:33:44 +0200 Subject: [PATCH 3/3] board/stm32f3discovery: corrected timer 4 clock value --- boards/stm32f3discovery/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/stm32f3discovery/include/periph_conf.h b/boards/stm32f3discovery/include/periph_conf.h index a47c93c10c..ea71b73df0 100644 --- a/boards/stm32f3discovery/include/periph_conf.h +++ b/boards/stm32f3discovery/include/periph_conf.h @@ -134,7 +134,7 @@ extern "C" { /* PWM 1 device configuration */ #define PWM_1_DEV TIM4 #define PWM_1_CHANNELS 4 -#define PWM_1_CLK (36000000U) +#define PWM_1_CLK (72000000U) #define PWM_1_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM4EN) #define PWM_1_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM4EN)) /* PWM 1 pin configuration */