diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-10 16:10:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-10 16:10:38 +0000 |
commit | 0c0a801ee2dcda5e38bb6b86d4c7504673ea9574 (patch) | |
tree | 1b76a442aca537073bef06ab6739e37a1cf52ec8 | |
parent | e010c3c700f81f1051d720b3f18634b2e804938f (diff) | |
download | nuttx-0c0a801ee2dcda5e38bb6b86d4c7504673ea9574.tar.gz nuttx-0c0a801ee2dcda5e38bb6b86d4c7504673ea9574.tar.bz2 nuttx-0c0a801ee2dcda5e38bb6b86d4c7504673ea9574.zip |
LPC43xx fix: Logic was disabling XTAL, not enabling it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4924 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/arm/src/lpc43xx/lpc43_cgu.c | 4 | ||||
-rw-r--r-- | nuttx/configs/lpc4330-xplorer/README.txt | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_cgu.c b/nuttx/arch/arm/src/lpc43xx/lpc43_cgu.c index 036da2697..180d17bda 100644 --- a/nuttx/arch/arm/src/lpc43xx/lpc43_cgu.c +++ b/nuttx/arch/arm/src/lpc43xx/lpc43_cgu.c @@ -151,9 +151,9 @@ static inline void lpc43_xtalconfig(void) #endif putreg32(regval, LPC43_XTAL_OSC_CTRL); - /* Enable the crystal oscillator */ + /* Enable the crystal oscillator by taking it out of power down mode */ - regval |= XTAL_OSC_CTRL_ENABLE; + regval &= ~XTAL_OSC_CTRL_ENABLE; putreg32(regval, LPC43_XTAL_OSC_CTRL); /* Delay for stable clock input */ diff --git a/nuttx/configs/lpc4330-xplorer/README.txt b/nuttx/configs/lpc4330-xplorer/README.txt index 876f06890..d26595f2c 100644 --- a/nuttx/configs/lpc4330-xplorer/README.txt +++ b/nuttx/configs/lpc4330-xplorer/README.txt @@ -189,7 +189,6 @@ GNU Toolchain Options If you have problems with the dependency build (for example, if you are not building on C:), then you may need to modify tools/mkdeps.sh - The CodeSourcery Toolchain (2009q1) ----------------------------------- The CodeSourcery toolchain (2009q1) does not work with default optimization @@ -314,7 +313,7 @@ Code Red IDE http://support.code-red-tech.com/CodeRedWiki/UsingGDB and is also summarized here (see the full Wiki for additional details - and optins). + and options). The Code Red Debug Driver implements the GDB "remote" protocol to allow connection to debug targets. To start a debug session using GDB, use @@ -429,6 +428,10 @@ USART0 and UART1 are available on J8 as follows: U1_RXD pin 14 J8 P1_14 U1_RXD=Alt 1 ------ ------ ----------------------- + GND is available on J8 pin 1 + 5V is available on J8 pin 2 + VBAT is available on J8 pin 3 + FPU === |