Hello, USART1 on the STM32F3 is places at offset 0x3800 like in F1 and not on offset 0x1000 as on F2/F4.
Bye -- Uwe Bonnes b...@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- >From f5c2d4c3471bd3140f3f5cfc215b0a74aaca53af Mon Sep 17 00:00:00 2001 From: Uwe Bonnes <b...@elektron.ikp.physik.tu-darmstadt.de> Date: Sat, 16 Nov 2013 15:31:47 +0100 Subject: include/libopencm3/stm32/f3/memorymap.h: Fix USART1 Base. --- include/libopencm3/stm32/f3/memorymap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libopencm3/stm32/f3/memorymap.h b/include/libopencm3/stm32/f3/memorymap.h index 1b579f4..081e935 100644 --- a/include/libopencm3/stm32/f3/memorymap.h +++ b/include/libopencm3/stm32/f3/memorymap.h @@ -72,7 +72,7 @@ #define TIM16_BASE (PERIPH_BASE_APB2 + 0x4400) #define TIM15_BASE (PERIPH_BASE_APB2 + 0x4000) /* PERIPH_BASE_APB2 + 0x3C00 (0x4001 3C00 - 0x4001 3FFF): Reserved */ -#define USART1_BASE (PERIPH_BASE_APB2 + 0x1000) +#define USART1_BASE (PERIPH_BASE_APB2 + 0x3800) #define TIM8_BASE (PERIPH_BASE_APB2 + 0x3400) #define SPI1_BASE (PERIPH_BASE_APB2 + 0x3000) #define TIM1_BASE (PERIPH_BASE_APB2 + 0x2C00) -- 1.8.4.3 ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ libopencm3-devel mailing list libopencm3-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopencm3-devel