CDMS_CODE_samp_23SEP_DMA_flag

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE_samp_23SEP_DMA by iitm sat

Files at this revision

API Documentation at this revision

Comitter:
chaithanyarss
Date:
Sat Aug 06 05:54:53 2016 +0000
Parent:
282:74a04dec4b95
Commit message:
CDMS V1.1

Changed in this revision

CDMS_HK.h Show annotated file Show diff for this revision Revisions of this file
cdms_sd.h Show annotated file Show diff for this revision Revisions of this file
i2c.h Show annotated file Show diff for this revision Revisions of this file
--- a/CDMS_HK.h	Sat Jul 30 15:25:21 2016 +0000
+++ b/CDMS_HK.h	Sat Aug 06 05:54:53 2016 +0000
@@ -146,6 +146,7 @@
     if(BAE_HK_I2C == 0) {
         crc = crc16_gen((unsigned char *)BAE_HK,132);
         if(crc == ((uint16_t)BAE_HK[132] << 8) | (uint16_t)BAE_HK[133]){
+            gPC.printf("BAE HK data recieved through I2C\t");
             TIME_LATEST_I2C_BAE = FCTN_CDMS_RD_RTC() >> 7;
             /*for(int i = 0; i<15; i++)
                 gPC.printf("\r 0x%02X\n",BAE_HK[i]);*/
--- a/cdms_sd.h	Sat Jul 30 15:25:21 2016 +0000
+++ b/cdms_sd.h	Sat Aug 06 05:54:53 2016 +0000
@@ -452,6 +452,7 @@
             cmd58();
             debug_if(SD_DBG, "\n\rInit: SDCARD_V2\n\r");
             cdv = 1;
+            gPC.printf("\rLoop = %d\n",i);
             return SDCARD_V2;
         }
     }
--- a/i2c.h	Sat Jul 30 15:25:21 2016 +0000
+++ b/i2c.h	Sat Aug 06 05:54:53 2016 +0000
@@ -45,7 +45,7 @@
         }
         if(((pdirr1 & 0x03000000)==0x03000000))//if SCL and SDA are both high
         {    
-            gPC.printf("\n\rData received from BAE");
+            gPC.printf("\n\rData received from BAE\n");
         }
         else 
         {