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

Dependencies:   MaximTinyTester CmdLine MAX541 USBDevice

Revision:
90:d6ed8a8c5f26
Parent:
89:20fd6ce5e4dd
Child:
91:9e78c6194d6e
diff -r 20fd6ce5e4dd -r d6ed8a8c5f26 MAX11043/MAX11043.cpp
--- a/MAX11043/MAX11043.cpp	Fri Feb 28 07:59:58 2020 +0000
+++ b/MAX11043/MAX11043.cpp	Fri Feb 28 23:46:49 2020 +0000
@@ -710,7 +710,7 @@
     VRef = 2.500;
     
     //----------------------------------------
-    // shadow of register config CMD_0010_0010_d16_Rd08_Configuration
+    // shadow of register config CMD_0010_0000_d16_Wr08_Configuration
     config = 0x6000;
     
     //----------------------------------------
@@ -1490,7 +1490,7 @@
 
     //----------------------------------------
     // read register ADCabcd -> &adca, &adcb, &adcc, &adcd
-    RegRead(CMD_0001_1010_d16o8_d16o8_d16o8_d16o8_Rd06_ADCabcd, 0);
+    RegRead(CMD_0001_1010_d16o8_d16o8_d16o8_d16o8_Rd06_ADCabcd, 0); // updates &adca, &adcb, &adcc, &adcd
     
     //----------------------------------------
     // success
@@ -1596,7 +1596,7 @@
     
     //----------------------------------------
     // read register
-    RegRead(CMD_0000_0010_d16o8_Rd00_ADCa, &adca);
+    RegRead(CMD_0000_0010_d16o8_Rd00_ADCa, 0); // updates &adca
     
     //----------------------------------------
     // success
@@ -1616,7 +1616,7 @@
     
     //----------------------------------------
     // read register
-    RegRead(CMD_0001_1110_d8_Rd07_Status, &status);
+    RegRead(CMD_0001_1110_d8_Rd07_Status, 0); // udpates &status
     
     //----------------------------------------
     // success