Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.

Dependencies:   MaximTinyTester MAX11131 CmdLine MAX541 USBDevice

Revision:
21:58de1593e2ca
Parent:
20:b156b328349d
Child:
22:0ae9ebdd471b
--- a/main.cpp	Fri Aug 02 15:05:34 2019 -0700
+++ b/main.cpp	Fri Aug 02 15:09:01 2019 -0700
@@ -3693,6 +3693,7 @@
     //
     // TODO1: MAX11131 SelfTest: if Test Fixture: drive MAX541, compare MAX32625MBED.AIN0/AIN4 and MAX11131 AIN0
     // indirectly verify the reference voltage by reading a known input voltage
+#if HAS_SPI2_MAX541
     if (SelfTest_has_max541) {
         cmdLine.serial().printf("\r\n");
         cmdLine.serial().printf("\r\n      2.1: TODO1: Check MAX11131 reference voltage using SCAN_0001_Manual");
@@ -3745,6 +3746,7 @@
         voltageV = 1.0f;
         SelfTest_MAX541_Voltage(cmdLine, max541, voltageV);
     }
+#endif // HAS_SPI2_MAX541
     cmdLine.serial().printf("\r\n");
     cmdLine.serial().printf("\r\n      3.1: Test SCAN_0001_Manual");
     cmdLine.serial().printf("\r\n      MAX11131.Init()");