aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC564Axx
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/SPC564Axx')
-rw-r--r--os/hal/platforms/SPC564Axx/hal_lld.h7
-rw-r--r--os/hal/platforms/SPC564Axx/spc564a_registry.h4
2 files changed, 5 insertions, 6 deletions
diff --git a/os/hal/platforms/SPC564Axx/hal_lld.h b/os/hal/platforms/SPC564Axx/hal_lld.h
index c7ffd1400..7b26945a9 100644
--- a/os/hal/platforms/SPC564Axx/hal_lld.h
+++ b/os/hal/platforms/SPC564Axx/hal_lld.h
@@ -129,10 +129,9 @@
/**
* @brief External clock pre-divider.
* @note Must be in range 1...15.
- * @note The effective divider factor is this value.
*/
#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__)
-#define SPC5_CLK_PREDIV_VALUE 2
+#define SPC5_CLK_PREDIV_VALUE 8
#endif
/**
@@ -140,14 +139,14 @@
* @note Must be in range 32...96.
*/
#if !defined(SPC5_CLK_MFD_VALUE) || defined(__DOXYGEN__)
-#define SPC5_CLK_MFD_VALUE 80
+#define SPC5_CLK_MFD_VALUE 60
#endif
/**
* @brief Reduced frequency divider.
*/
#if !defined(SPC5_CLK_RFD) || defined(__DOXYGEN__)
-#define SPC5_CLK_RFD RFD_DIV4
+#define SPC5_CLK_RFD RFD_DIV2
#endif
/**
diff --git a/os/hal/platforms/SPC564Axx/spc564a_registry.h b/os/hal/platforms/SPC564Axx/spc564a_registry.h
index a879ae012..4ba03c260 100644
--- a/os/hal/platforms/SPC564Axx/spc564a_registry.h
+++ b/os/hal/platforms/SPC564Axx/spc564a_registry.h
@@ -49,8 +49,8 @@
#define SPC5_ESCIB_NUMBER 149
#define SPC5_HAS_ESCIC TRUE
-#define SPC5_ESCIB_HANDLER vector473
-#define SPC5_ESCIB_NUMBER 473
+#define SPC5_ESCIC_HANDLER vector473
+#define SPC5_ESCIC_NUMBER 473
/* SIU attributes.*/
#define SPC5_HAS_SIU TRUE