aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR/ICU/readme.txt
diff options
context:
space:
mode:
authorutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-07-21 13:11:35 +0000
committerutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-07-21 13:11:35 +0000
commit2d8b1d70b43af7a72533176ccaec7b96510c07d0 (patch)
tree754bc63c3f3ea2a0543540a1d7372a0cfb3f6e54 /testhal/AVR/ICU/readme.txt
parent1fc5d692e6473c03b817186ce7e7720634b632f3 (diff)
downloadChibiOS-2d8b1d70b43af7a72533176ccaec7b96510c07d0.tar.gz
ChibiOS-2d8b1d70b43af7a72533176ccaec7b96510c07d0.tar.bz2
ChibiOS-2d8b1d70b43af7a72533176ccaec7b96510c07d0.zip
[AVR] Add ICU test (RT-only)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7052 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/AVR/ICU/readme.txt')
-rw-r--r--testhal/AVR/ICU/readme.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/testhal/AVR/ICU/readme.txt b/testhal/AVR/ICU/readme.txt
new file mode 100644
index 000000000..c9b431083
--- /dev/null
+++ b/testhal/AVR/ICU/readme.txt
@@ -0,0 +1,25 @@
+*****************************************************************************
+** ChibiOS/RT port for Atmel AVR ATmega1280. **
+*****************************************************************************
+
+** TARGET **
+
+The demo runs on an Arduino Mega board.
+
+** The Demo **
+
+This demo uses ICP3 (ICU3 input) which is located on pin PE7 to measure signal
+width and period. The signal is output on pin PD4 using standard PAL calls and
+thread sleep functions. PD4 must be wired to PE7. It outputs three different
+waveforms with aproximately 1s duration using 50%, 25% and 75% respective duty
+cycles. After that it just turns on ICU3 and waits for it to overflow. The values
+read on each of these operations is output to SERIAL1.
+
+** Build Procedure **
+
+The demo was built using the GCC AVR toolchain. It should build with WinAVR too!
+
+** Notes **
+
+This demo runs natively so the Arduino bootloader must be removed and the FUSEs
+reprogrammed. The values used for fuses are LFUSE=0xe7 and HFUSE=0x99.