Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: C027_BootTest_revb C027_EthernetSniffTest C027_M3_SerialEcho C027_HelloWorld_revb ... more
Fork of C027 by
Revision 22:2ab87e985526, committed 2013-12-15
- Comitter:
- dixter1
- Date:
- Sun Dec 15 21:17:22 2013 +0000
- Parent:
- 21:db7c445289f5
- Commit message:
- Comment Updates
Changed in this revision
| C027.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/C027.cpp Fri Dec 13 23:32:11 2013 +0000
+++ b/C027.cpp Sun Dec 15 21:17:22 2013 +0000
@@ -57,6 +57,11 @@
wait_ms(3000);
}
+
+// this is a test function designed to turn on all hardware that
+// might leak current into the LISA chip, while disabling the
+// LISA chip itself. This is intended to be as harsh as possible,
+// and is most relevant to REV B hardware.
void C027::LeakageTest( void )
{
mdmEn = 0; //disable
@@ -73,9 +78,9 @@
mdmUsbDet = ( use_mdmuart? 0:1 ); // USBDET: 0=enable uart, 1=USB Only
wait_ms(10);
mdmEn = 1; // LDOEN: 0=off -> 1=on
- wait_ms(50); // RST line will come up as soon as
+ wait_ms(50); //
mdmPwrOn = 0; // PWRON: 0=turn on -> 1=idle
- wait_ms(300); // power on sequence is triggered by keeping reset 50ms-300ms low
+ wait_ms(300); // power on is triggered by asserting PwrOn
mdmPwrOn = 1; // PWRON: 0=turn on -> 1=idle
mdmIsEnabled = true;
wait_ms(1000);
