Fork to support REVB hardware.
Dependents: C027_BootTest_revb C027_EthernetSniffTest C027_M3_SerialEcho C027_HelloWorld_revb ... more
Fork of C027 by
Revision 10:bc9e2eb5daa8, committed 2013-11-06
- Comitter:
- mazgch
- Date:
- Wed Nov 06 10:23:53 2013 +0000
- Parent:
- 9:7e038529bfff
- Child:
- 11:722101675ce4
- Commit message:
- need to wait after reset (avoid using USB too early on LISA-U)
Changed in this revision
C027.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/C027.cpp Wed Nov 06 08:17:21 2013 +0000 +++ b/C027.cpp Wed Nov 06 10:23:53 2013 +0000 @@ -20,7 +20,7 @@ } C027::C027() : - mdmEn(MDMEN), mdmRst(A5/*MDMRST*/), mdmPwrOn(MDMPWRON), // MDM CTRL + mdmEn(MDMEN), mdmRst(MDMRST), mdmPwrOn(MDMPWRON), // MDM CTRL mdmRts(MDMRTS), mdmLvlOe(MDMLVLOE), mdmUsbDet(MDMUSBDET), // MDM IF gpsEn(GPSEN), gpsRst(GPSRST) // GPS CTRL { @@ -59,7 +59,11 @@ mdmLvlOe = 0; // LVLEN: 0=enabled mdmUsbDet = 1; // USBDET: 1=enabled mdmIsEnabled = true; - // the modem schould be fully ready after 3000ms + // the interfaces of the modem should be fully ready after a certain period + // LISA-U200 5000ms + // SARA-G350 3000ms + // LISA-C200 + wait_ms(1000); } else if (mdmIsEnabled && !enable) // disable modem {