summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorja Martinez2016-09-11 03:29:51 -0500
committerBorja Martinez2016-09-11 03:29:51 -0500
commit8df6e8e4d9de1915332fd2d1a09619dcff28b7fd (patch)
tree51626481e592cfbea88f58ec1300d5de22c9948b
parent3bd5e8b8900d5d8878d4ff16db69c896a131dd2f (diff)
downloadi3-mote-8df6e8e4d9de1915332fd2d1a09619dcff28b7fd.tar.gz
i3-mote-8df6e8e4d9de1915332fd2d1a09619dcff28b7fd.tar.xz
i3-mote-8df6e8e4d9de1915332fd2d1a09619dcff28b7fd.zip
Completed Basic Test Package for MSP432
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_3wSPI_M25P40/i3mote.h2
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/i3mote.h2
-rwxr-xr-x[-rw-r--r--]Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/main.c15
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_Blink_SysTick/i3mote.h2
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_ClockSystem/i3mote.h2
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_DebugUART_EchoPC/i3mote.h2
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_I2C_M24xx256/i3mote.h2
-rw-r--r--Basic-Test-Package/MSP432/Test_MSP432_I2C_Sensors/i3mote.h2
8 files changed, 15 insertions, 14 deletions
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_M25P40/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_M25P40/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_M25P40/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_M25P40/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/main.c b/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/main.c
index 45cc2b0..26ca9a2 100644..100755
--- a/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/main.c
+++ b/Basic-Test-Package/MSP432/Test_MSP432_3wSPI_SlaveIRQ_CC2650_Master/main.c
@@ -14,8 +14,6 @@
14 * 14 *
15 * ACLK = ~32.768kHz, MCLK = SMCLK = DCO 3MHz 15 * ACLK = ~32.768kHz, MCLK = SMCLK = DCO 3MHz
16 * 16 *
17 * Use with SPI Slave Data Echo code example.
18 *
19 * MSP432P401 17 * MSP432P401
20 * ----------------- 18 * -----------------
21 * | | 19 * | |
@@ -27,7 +25,10 @@
27 * | | 25 * | |
28 * | P2.0|<- CS 26 * | P2.0|<- CS
29 * | | 27 * | |
30 * Author: Timothy Logan 28 *
29 * Use with Test_CC2650_3wSPI_Master_MSP432_SlaveIRQ
30 *
31 * I3Mote: B.Martinez
31*******************************************************************************/ 32*******************************************************************************/
32 33
33#include "i3mote.h" 34#include "i3mote.h"
@@ -112,8 +113,8 @@ int main(void)
112 /******************************************************************************/ 113 /******************************************************************************/
113 114
114 /* Configure INT Pin */ 115 /* Configure INT Pin */
115 MAP_GPIO_setOutputHighOnPin(CC2650_INT_PORT, CC2650_IRQ_PIN); 116 MAP_GPIO_setOutputHighOnPin(CC2650_IRQ_PORT, CC2650_IRQ_PIN);
116 MAP_GPIO_setAsOutputPin(CC2650_INT_PORT, CC2650_IRQ_PIN); 117 MAP_GPIO_setAsOutputPin(CC2650_IRQ_PORT, CC2650_IRQ_PIN);
117 118
118 /* CS Configuring P2.0 as Input */ 119 /* CS Configuring P2.0 as Input */
119 MAP_GPIO_setAsInputPin(CC2650_SPI_PORT, CC2650_SPI_CSN_PIN); 120 MAP_GPIO_setAsInputPin(CC2650_SPI_PORT, CC2650_SPI_CSN_PIN);
@@ -221,9 +222,9 @@ void SysTick_Handler(void)
221{ 222{
222 int i; 223 int i;
223 /* Generate Periodic Interrupt */ 224 /* Generate Periodic Interrupt */
224 MAP_GPIO_setOutputLowOnPin(CC2650_INT_PORT, CC2650_IRQ_PIN); 225 MAP_GPIO_setOutputLowOnPin(CC2650_IRQ_PORT, CC2650_IRQ_PIN);
225 for(i=0;i<10000;i++); 226 for(i=0;i<10000;i++);
226 MAP_GPIO_setOutputHighOnPin(CC2650_INT_PORT, CC2650_IRQ_PIN); 227 MAP_GPIO_setOutputHighOnPin(CC2650_IRQ_PORT, CC2650_IRQ_PIN);
227 228
228 //MAP_GPIO_toggleOutputOnPin(GPIO_PORT_P6, GPIO_PIN2); 229 //MAP_GPIO_toggleOutputOnPin(GPIO_PORT_P6, GPIO_PIN2);
229 230
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_Blink_SysTick/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_Blink_SysTick/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_Blink_SysTick/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_Blink_SysTick/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_ClockSystem/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_ClockSystem/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_ClockSystem/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_ClockSystem/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_DebugUART_EchoPC/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_DebugUART_EchoPC/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_DebugUART_EchoPC/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_DebugUART_EchoPC/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_I2C_M24xx256/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_I2C_M24xx256/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_I2C_M24xx256/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_I2C_M24xx256/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/
diff --git a/Basic-Test-Package/MSP432/Test_MSP432_I2C_Sensors/i3mote.h b/Basic-Test-Package/MSP432/Test_MSP432_I2C_Sensors/i3mote.h
index 6f7dbef..d048b5b 100644
--- a/Basic-Test-Package/MSP432/Test_MSP432_I2C_Sensors/i3mote.h
+++ b/Basic-Test-Package/MSP432/Test_MSP432_I2C_Sensors/i3mote.h
@@ -39,7 +39,7 @@
39#define CC2650_SPI_MISO_PIN GPIO_PIN2 39#define CC2650_SPI_MISO_PIN GPIO_PIN2
40#define CC2650_SPI_MOSI_PIN GPIO_PIN3 40#define CC2650_SPI_MOSI_PIN GPIO_PIN3
41 41
42#define CC2650_INT_PORT GPIO_PORT_P4 42#define CC2650_IRQ_PORT GPIO_PORT_P4
43#define CC2650_IRQ_PIN GPIO_PIN0 43#define CC2650_IRQ_PIN GPIO_PIN0
44 44
45/* On Board EEPROM 25xx256*/ 45/* On Board EEPROM 25xx256*/