To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: DefinitionsAndGlobals.h
- Revision:
- 1:a0055b3280c8
- Parent:
- 0:f016e9e8d48b
- Child:
- 2:2caf2a9a13aa
--- a/DefinitionsAndGlobals.h Tue Dec 01 10:56:10 2015 +0000 +++ b/DefinitionsAndGlobals.h Mon Dec 14 12:04:01 2015 +0000 @@ -1,6 +1,6 @@ // **************DEFINITIONS********************* // COM_RX - #define RX_TIMEOUT_LIMIT 2.0 + #define RX_TIMEOUT_LIMIT 1.0 #define COM_RX_UART_TX PTE22 #define COM_RX_UART_RX PTE23 @@ -8,6 +8,8 @@ #define SPI_MOSI PTE1 #define SPI_MISO PTE3 #define SPI_CLK PTE2 + #define SPI_CS_ADF PTA15 + #define SPI_CS_SDC PTB1 // TC LIST #define TCL_STATE_IDLE 0x00 @@ -86,6 +88,8 @@ // COMMON SPI SPI spi( SPI_MOSI, SPI_MISO, SPI_CLK ); +DigitalOut gCS_ADF(SPI_CS_ADF); +DigitalOut gCS_SDC(SPI_CS_SDC); Mutex SPI_mutex; // TC LIST