From 6ee0ba7abd0a90fb8b5cd39cccf3ddf080114b4d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 23 Apr 2013 12:15:29 +0000 Subject: [PATCH] Fixed parameters for SPC564Axx. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5608 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/ST_EVB_SPC564A/board.h | 2 +- os/hal/platforms/SPC564Axx/hal_lld.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/ST_EVB_SPC564A/board.h b/boards/ST_EVB_SPC564A/board.h index 0ae7ff350..eab337464 100644 --- a/boards/ST_EVB_SPC564A/board.h +++ b/boards/ST_EVB_SPC564A/board.h @@ -31,7 +31,7 @@ * Board frequencies. */ #if !defined(SPC5_XOSC_CLK) -#define SPC5_XOSC_CLK 40000000 +#define SPC5_XOSC_CLK 8000000 #endif /* diff --git a/os/hal/platforms/SPC564Axx/hal_lld.h b/os/hal/platforms/SPC564Axx/hal_lld.h index 196646a04..d2ee43f55 100644 --- a/os/hal/platforms/SPC564Axx/hal_lld.h +++ b/os/hal/platforms/SPC564Axx/hal_lld.h @@ -133,7 +133,7 @@ * @note Must be in range 1...15. */ #if !defined(SPC5_CLK_PREDIV_VALUE) || defined(__DOXYGEN__) -#define SPC5_CLK_PREDIV_VALUE 8 +#define SPC5_CLK_PREDIV_VALUE 2 #endif /** @@ -141,7 +141,7 @@ * @note Must be in range 32...96. */ #if !defined(SPC5_CLK_MFD_VALUE) || defined(__DOXYGEN__) -#define SPC5_CLK_MFD_VALUE 60 +#define SPC5_CLK_MFD_VALUE 75 #endif /**