From 0d3894b88844ab47252994f2015092d024b0c922 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 13 Jul 2012 16:28:49 +0000 Subject: [PATCH] Calibrate lpc4330-xplorer delay loops git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4939 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 6 ++++++ configs/lpc4330-xplorer/nsh/defconfig | 2 +- configs/lpc4330-xplorer/ostest/defconfig | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ed429e907..1c1c257c3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2979,3 +2979,9 @@ 6.21 2012-xx-xx Gregory Nutt + * configs/lpc4330-xplorer/up_nsh.c: Add support for a basic SPIFI block + driver for use by NSH. Does not work! Crashes on first SPIFI write. + * configs/lpc4330-xplorer/*/defconfig: Calibrate delay loops (this is + based on the current "slow" 72MHz M4 clock and will need to be + re-calibrated when this is increased). + diff --git a/configs/lpc4330-xplorer/nsh/defconfig b/configs/lpc4330-xplorer/nsh/defconfig index 4bb270bb88..edd7406c50 100644 --- a/configs/lpc4330-xplorer/nsh/defconfig +++ b/configs/lpc4330-xplorer/nsh/defconfig @@ -81,7 +81,7 @@ CONFIG_ARCH_CHIP=lpc43xx CONFIG_ARCH_CHIP_LPC4330FET100=y CONFIG_ARCH_BOARD=lpc4330-xplorer CONFIG_ARCH_BOARD_LPC4330_XPLORER=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=7191 CONFIG_DRAM_SIZE=(72*1024) CONFIG_DRAM_START=0x10080000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/configs/lpc4330-xplorer/ostest/defconfig b/configs/lpc4330-xplorer/ostest/defconfig index 77467af7a4..1dca0cc37b 100644 --- a/configs/lpc4330-xplorer/ostest/defconfig +++ b/configs/lpc4330-xplorer/ostest/defconfig @@ -81,7 +81,7 @@ CONFIG_ARCH_CHIP=lpc43xx CONFIG_ARCH_CHIP_LPC4330FET100=y CONFIG_ARCH_BOARD=lpc4330-xplorer CONFIG_ARCH_BOARD_LPC4330_XPLORER=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=7191 CONFIG_DRAM_SIZE=(72*1024) CONFIG_DRAM_START=0x10080000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE)