summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-18 14:02:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-18 14:02:34 +0000
commit10fa68d97d18d9e51b11e1406385aec1c15cf2b1 (patch)
tree2a58eeb81482b17197e2f924cad71d1f6afb00e4 /nuttx/configs/stm3210e-eval/README.txt
parent4a0c26ecaafa4f817d120955bcec6fefde876f71 (diff)
downloadnuttx-10fa68d97d18d9e51b11e1406385aec1c15cf2b1.tar.gz
nuttx-10fa68d97d18d9e51b11e1406385aec1c15cf2b1.tar.bz2
nuttx-10fa68d97d18d9e51b11e1406385aec1c15cf2b1.zip
CAN ISO-11783 support contributed by Gary Teravskis
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4400 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval/README.txt')
-rwxr-xr-xnuttx/configs/stm3210e-eval/README.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt
index 9b1615f42..e08d0bfa5 100755
--- a/nuttx/configs/stm3210e-eval/README.txt
+++ b/nuttx/configs/stm3210e-eval/README.txt
@@ -458,7 +458,7 @@ STM3210E-EVAL-specific Configuration Options
CONFIG_STM32_I2C1
CONFIG_STM32_I2C2
CONFIG_STM32_USB
- CONFIG_STM32_CAN
+ CONFIG_STM32_CAN1
CONFIG_STM32_BKP
CONFIG_STM32_PWR
CONFIG_STM32_DAC1
@@ -698,6 +698,22 @@ Where <subdir> is one of the following:
Failure to do this could result in corruption of the SD card format.
+ The nsh2 contains support for some built-in applications that can be
+ enabled by make some additional minor changes:
+
+ (1) examples/can. The CAN test example can be enabled by changing the
+ following settings in nsh2/defconfig:
+
+ CONFIG_CAN=y # Enable CAN "upper-half" driver support
+ CONFIG_STM32_CAN1=y # Enable STM32 CAN1 "lower-half" driver support
+
+ The default CAN settings may need to change in your board board
+ configuration:
+
+ CONFIG_CAN_EXTID=y # Support extended IDs
+ CONFIG_CAN1_BAUD=250000 # Bit rate: 250 KHz
+ CONFIG_CAN_TSEG1=12 # 80% sample point
+ CONFIG_CAN_TSEG2=3
nx:
---
An example using the NuttX graphics system (NX). This example