summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-14 06:33:54 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-14 06:33:54 -0600
commitcd5b1cc5775b5f666133aea9ca4f62890606550d (patch)
tree5bf6f95997dbb56383a77de5879ae7be48d6c47e
parent116ed97cf9ab7683015a2546380dfd9911073e5e (diff)
downloadnuttx-cd5b1cc5775b5f666133aea9ca4f62890606550d.tar.gz
nuttx-cd5b1cc5775b5f666133aea9ca4f62890606550d.tar.bz2
nuttx-cd5b1cc5775b5f666133aea9ca4f62890606550d.zip
EFM32GG-STK3700: Increase LEUART0 baud to 9600; Calibrate delay loop
-rw-r--r--nuttx/configs/efm32gg-stk3700/README.txt12
-rw-r--r--nuttx/configs/efm32gg-stk3700/nsh/defconfig4
2 files changed, 7 insertions, 9 deletions
diff --git a/nuttx/configs/efm32gg-stk3700/README.txt b/nuttx/configs/efm32gg-stk3700/README.txt
index c85a99c71..0f236edd9 100644
--- a/nuttx/configs/efm32gg-stk3700/README.txt
+++ b/nuttx/configs/efm32gg-stk3700/README.txt
@@ -30,6 +30,8 @@ STATUS
Starter Kit.
2014-11-12: The basic NSH configuration is functional with a serial console
on LEUART0.
+ 2014-11-14: LEUART0 BAUD increased from 2400 to 9600. Calibrated delay
+ loop.
LEDs and Buttons
================
@@ -99,10 +101,8 @@ Serial Console
Default Serial Console
----------------------
- LEUART0 is configured as the default serial console at 2400 8N1
- on pins PD5 and PD4. It certainly be possible to go to 4800 baud
- and the documentation claims that 9600 baud is possible (although
- I am not sure how).
+ LEUART0 is configured as the default serial console at 9600 8N1
+ on pins PD5 and PD4.
---------- ---- ----------- -----------
SIGNAL PGIO EXP Header Test Point
@@ -192,9 +192,7 @@ Configurations
nsh:
---
Configures the NuttShell (nsh) located at apps/examples/nsh. The
- Configuration enables the serial interfaces on LEUART0. Support for
- built-in applications is enabled, but in the base configuration no
- built-in applications are selected (see NOTES below).
+ Configuration enables the serial interfaces on LEUART0 at 9600 8N1.
NOTES:
diff --git a/nuttx/configs/efm32gg-stk3700/nsh/defconfig b/nuttx/configs/efm32gg-stk3700/nsh/defconfig
index 9eb75e6a6..499eec469 100644
--- a/nuttx/configs/efm32gg-stk3700/nsh/defconfig
+++ b/nuttx/configs/efm32gg-stk3700/nsh/defconfig
@@ -162,7 +162,7 @@ CONFIG_LEUART0_SERIAL_CONSOLE=y
#
CONFIG_LEUART0_RXBUFSIZE=64
CONFIG_LEUART0_TXBUFSIZE=64
-CONFIG_LEUART0_BAUD=2400
+CONFIG_LEUART0_BAUD=9600
CONFIG_LEUART0_BITS=8
CONFIG_LEUART0_PARITY=0
CONFIG_LEUART0_2STOP=0
@@ -194,7 +194,7 @@ CONFIG_ARCH_HAVE_RAMVECTORS=y
#
# Board Settings
#
-CONFIG_BOARD_LOOPSPERMSEC=2662
+CONFIG_BOARD_LOOPSPERMSEC=4787
# CONFIG_ARCH_CALIBRATION is not set
#