Maxim Integrated MAX5719 20-bit, 0.05nV-sec DAC

Dependents:   MAX5719BOB_20bit_DAC MAX5719BOB_FunctionGen MAX5719BOB_Serial_Tester

Files at this revision

API Documentation at this revision

Comitter:
whismanoid
Date:
Sat Jun 12 01:34:21 2021 -0700
Parent:
2:6ffccf9a34d0
Commit message:
SelfTest . runall= runfail= loopall= loopfail=

Changed in this revision

MAX5719.cpp Show annotated file Show diff for this revision Revisions of this file
MAX5719.h Show annotated file Show diff for this revision Revisions of this file
--- a/MAX5719.cpp	Tue Jun 08 04:11:28 2021 -0700
+++ b/MAX5719.cpp	Sat Jun 12 01:34:21 2021 -0700
@@ -378,6 +378,33 @@
 // @test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(2.048000)
 // @test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
 //     //
+//     //
+// @test group CODE_LOAD_2V5 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// @test group CODE_LOAD_2V5 tinyTester.err_threshold =  0.150
+// @test group CODE_LOAD_2V5 tinyTester.print("0x09c400 = 2.500V")
+// @test group CODE_LOAD_2V5 CODE_LOAD(0x09c400) // 2.500V
+// @test group CODE_LOAD_2V5 tinyTester.Wait_Output_Settling()
+// @test group CODE_LOAD_2V5 tinyTester.AnalogIn0_Read_Expect_voltageV(2.500000)
+// @test group CODE_LOAD_2V5 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+//     //
+//     //
+// @test group CODE_LOAD_3V0 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// @test group CODE_LOAD_3V0 tinyTester.err_threshold =  0.200
+// @test group CODE_LOAD_3V0 tinyTester.print("0x0bb800 = 3.000V")
+// @test group CODE_LOAD_3V0 CODE_LOAD(0x0bb800) // 3.000V
+// @test group CODE_LOAD_3V0 tinyTester.Wait_Output_Settling()
+// @test group CODE_LOAD_3V0 tinyTester.AnalogIn0_Read_Expect_voltageV(3.000000)
+// @test group CODE_LOAD_3V0 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+//     //
+//     //
+// @test group CODE_LOAD_4V1 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+// @test group CODE_LOAD_4V1 tinyTester.err_threshold =  0.750
+// @test group CODE_LOAD_4V1 tinyTester.print("0x0fffff = 4.095V")
+// @test group CODE_LOAD_4V1 CODE_LOAD(0x0fffff) // 4.095V
+// @test group CODE_LOAD_4V1 tinyTester.Wait_Output_Settling()
+// @test group CODE_LOAD_4V1 tinyTester.AnalogIn0_Read_Expect_voltageV(4.095000)
+// @test group CODE_LOAD_4V1 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+//     //
 //
 //
 void MAX5719::Init(void)
@@ -396,7 +423,7 @@
 // @param[in] voltage = physical voltage in Volts
 // @return raw 20-bit MAX5719 code (right justified).
 //
-// @test group DACCodeOfVoltage // Verify function DACCodeOfVoltage (enabled by default)
+// @test group DACCodeOfVoltage // Verify function DACCodeOfVoltage (enabled by default) (no run on button)
 // @test group DACCodeOfVoltage tinyTester.blink_time_msec = 20 // quickly speed through the software verification
 // @test group DACCodeOfVoltage tinyTester.print("VRef = 4.096   MAX5719 20-bit LSB = 0.000004V = 3.90625uV")
 // @test group DACCodeOfVoltage VRef = 4.096
--- a/MAX5719.h	Tue Jun 08 04:11:28 2021 -0700
+++ b/MAX5719.h	Sat Jun 12 01:34:21 2021 -0700
@@ -600,6 +600,33 @@
     /// @test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(2.048000)
     /// @test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
     ///     //
+    ///     //
+    /// @test group CODE_LOAD_2V5 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+    /// @test group CODE_LOAD_2V5 tinyTester.err_threshold =  0.150
+    /// @test group CODE_LOAD_2V5 tinyTester.print("0x09c400 = 2.500V")
+    /// @test group CODE_LOAD_2V5 CODE_LOAD(0x09c400) // 2.500V
+    /// @test group CODE_LOAD_2V5 tinyTester.Wait_Output_Settling()
+    /// @test group CODE_LOAD_2V5 tinyTester.AnalogIn0_Read_Expect_voltageV(2.500000)
+    /// @test group CODE_LOAD_2V5 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+    ///     //
+    ///     //
+    /// @test group CODE_LOAD_3V0 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+    /// @test group CODE_LOAD_3V0 tinyTester.err_threshold =  0.200
+    /// @test group CODE_LOAD_3V0 tinyTester.print("0x0bb800 = 3.000V")
+    /// @test group CODE_LOAD_3V0 CODE_LOAD(0x0bb800) // 3.000V
+    /// @test group CODE_LOAD_3V0 tinyTester.Wait_Output_Settling()
+    /// @test group CODE_LOAD_3V0 tinyTester.AnalogIn0_Read_Expect_voltageV(3.000000)
+    /// @test group CODE_LOAD_3V0 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+    ///     //
+    ///     //
+    /// @test group CODE_LOAD_4V1 // Verify function CODE_LOAD vs platform AIN0 analog input (enabled by default) (no run on button)
+    /// @test group CODE_LOAD_4V1 tinyTester.err_threshold =  0.750
+    /// @test group CODE_LOAD_4V1 tinyTester.print("0x0fffff = 4.095V")
+    /// @test group CODE_LOAD_4V1 CODE_LOAD(0x0fffff) // 4.095V
+    /// @test group CODE_LOAD_4V1 tinyTester.Wait_Output_Settling()
+    /// @test group CODE_LOAD_4V1 tinyTester.AnalogIn0_Read_Expect_voltageV(4.095000)
+    /// @test group CODE_LOAD_4V1 tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0
+    ///     //
     ///
     ///
     void Init(void);
@@ -612,7 +639,7 @@
     /// @param[in] voltage = physical voltage in Volts
     /// @return raw 20-bit MAX5719 code (right justified).
     ///
-    /// @test group DACCodeOfVoltage // Verify function DACCodeOfVoltage (enabled by default)
+    /// @test group DACCodeOfVoltage // Verify function DACCodeOfVoltage (enabled by default) (no run on button)
     /// @test group DACCodeOfVoltage tinyTester.blink_time_msec = 20 // quickly speed through the software verification
     /// @test group DACCodeOfVoltage tinyTester.print("VRef = 4.096   MAX5719 20-bit LSB = 0.000004V = 3.90625uV")
     /// @test group DACCodeOfVoltage VRef = 4.096