I2C code testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by Siva ram

Revision:
109:78f2912e3473
Parent:
101:bece931236a2
Child:
110:e5091ab345de
--- a/DefinitionsAndGlobals.h	Tue Jan 26 13:15:01 2016 +0000
+++ b/DefinitionsAndGlobals.h	Tue Jan 26 14:15:04 2016 +0000
@@ -2,6 +2,10 @@
 
 #define bypass_adf 0
 
+// DEBUG
+    #define DEBUG 1
+    #define USE_SD 0
+
 // COM_RX
     #define RX_TIMEOUT_LIMIT 0.5
     //#define COM_RX_UART_TX PTE20    // For bypassing RX1M (SET BAUD RATE 1200) #define COM_RX_UART_TX USBTX
@@ -14,7 +18,7 @@
     #define SPI_MOSI PTE1
     #define SPI_MISO PTE3
     #define SPI_CLK PTE2
-    #define SPI_CS_ADF PTA15
+    #define SPI_CS_ADF D8
     #define SPI_CS_SDC PTE22
     #define SPI_CS_RTC PTE29
     
@@ -23,7 +27,7 @@
     #define COM_TX_TICKER_LIMIT 32
 
 // ADF INTERRUPUT
-    #define ADF_IRQ PTA14
+    #define ADF_IRQ D9
 
 // TC LIST
     #define TCL_STATE_INCOMPLETE 0x00
@@ -108,10 +112,10 @@
     
 // PAYLOAD or SCIENCE
     #define PAYLOAD_BUFFER_LENGTH 6723
-    #define PAY_SPI_MOSI D11
-    #define PAY_SPI_MISO D12
-    #define PAY_SPI_CLK D13
-    #define PAY_SPI_CS D10
+    #define PAY_SPI_MOSI PTA16
+    #define PAY_SPI_MISO PTA17
+    #define PAY_SPI_CLK PTA15
+    #define PAY_SPI_CS PTA14
     
     
 // ****************GLOBAL VARIABLES******************