RevB Hardware This is the BootTest for revb hardware, for the C027 platform. This code performs a boot operation on the LISA-C200 module, bringing up the signals in the correct order, as reviewed by the hardware team at U-Blox. This simple code performs the boot operation on the LISA-C200, and proceeds into an infinite loop toggling an LED on the board, so that we visually know that the LISA boot operation is complete.

Dependencies:   C027-REVB mbed

Revision:
1:ba85fcc30fe1
Parent:
0:048bb9e158e9
Child:
2:7f1ba05e56f7
--- a/main.cpp	Thu Dec 12 19:17:36 2013 +0000
+++ b/main.cpp	Fri Dec 13 20:26:52 2013 +0000
@@ -1,9 +1,5 @@
-#include "mbed.h"
+#include "mbed.h"   
 #include "C027.h"
-#include "WANDongle.h"
-#include "USBSerialStream.h"
-#include "UbloxCDMAModemInitializer.h"
-#include "UbloxGSMModemInitializer.h"
 
 DigitalOut myled(LED);
 DigitalOut mdm_activity(LED1);
@@ -13,10 +9,12 @@
     // the instantiation of the type, calls C027::C027
     C027 c027;
     
-    // c027.mdmUsbEnable(true);
+    // power on the LISA chip
+    c027.mdmPower(true,false);
     
-    c027.mdmPower(true);
-
+    // power on the GPS chip
+    c027.gpsPower(true);
+    
 #if 1
     while(1) {
         myled = !myled;