A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.

Dependencies:   FATFileSystem

Dependents:   LPC4088test LPC4088test_ledonly LPC4088test_deleteall LPC4088_RAMtest ... more

Files at this revision

API Documentation at this revision

Comitter:
embeddedartists
Date:
Thu Oct 31 13:23:11 2013 +0000
Parent:
5:3290d7b766d5
Child:
7:e431d9d47db6
Commit message:
Updated SPI clock frequency for TSC2046

Changed in this revision

TSC2046.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TSC2046.cpp	Fri Oct 18 10:57:50 2013 +0000
+++ b/TSC2046.cpp	Thu Oct 31 13:23:11 2013 +0000
@@ -55,7 +55,12 @@
     _cs = 1; // active low
 
     _spi.format(8, 3);
-    _spi.frequency(1500000);
+    
+    // We are limiting the clock rate to 500000 since
+    // we have experienced a lot of noise when running with
+    // higher rate. It has not been examined why there is a
+    // lot of noise with higher rate.
+    _spi.frequency(500000);
     _calibrated = false;
     _initialized = false;