CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
151:e6c7d4f87704
Parent:
136:8074893cd24e
Child:
152:8e4155426581
--- a/main.cpp	Sat Apr 02 13:54:24 2016 +0000
+++ b/main.cpp	Sat Apr 02 20:31:31 2016 +0000
@@ -5,7 +5,7 @@
 uint8_t rcv_isr = 0; // flag for interrupt
 
 #define DEBUG 1
-#define SDCARD 1
+#define SDCARD 0
 #define I2C_PL 0
 
 
@@ -37,6 +37,8 @@
 
 int main()
 {
+    CDMS_I2C_GPIO = 0;   
+    
     //gLEDR = 1;
     
     // ******************INITIALISATIONS START******************
@@ -52,8 +54,9 @@
     #if I2c
     //I2C to Payload    (depends on pl interrupt design)
     PYLD_I2C_Int.rise(&isr_pyldtm);
+    
     #endif
-    
+    master.frequency(100000);
     // DEBUG
     //gPC.puts("welcome to mng_tm_tc\r\n");
     gPC.baud(115200);