Maxim Integrated MAX5719 20-bit, 0.05nV-sec DAC Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.
Dependencies: MaximTinyTester CmdLine MAX5719 USBDevice
Diff: Test_Menu_MAX5719.cpp
- Revision:
- 27:485b1b2f334c
- Parent:
- 26:ec719cd9a579
- Child:
- 28:bae17ff10fa7
--- a/Test_Menu_MAX5719.cpp Wed Mar 24 13:32:33 2021 -0700 +++ b/Test_Menu_MAX5719.cpp Tue Jun 08 04:13:07 2021 -0700 @@ -186,54 +186,65 @@ // @Test='@test group CODE_LOAD CODE_LOAD(0x000000) // 0.000V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(0.000000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.print("0x01f400 = 0.500V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x01f400) // 0.500V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(0.500000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.print("0x03e800 = 1.000V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x03e800) // 1.000V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(1.000000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.050*/ /*mbed:0.075*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x05dc00 = 1.500V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x05dc00) // 1.500V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(1.500000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.050*/ /*mbed:0.100*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x07d000 = 2.000V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x07d000) // 2.000V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(2.000000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.050*/ /*mbed:0.150*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x09c400 = 2.500V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x09c400) // 2.500V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(2.500000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.050*/ /*mbed:0.200*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x0bb800 = 3.000V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x0bb800) // 3.000V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(3.000000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.075*/ /*mbed:0.250*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x0dac00 = 3.500V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x0dac00) // 3.500V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(3.500000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.075*/ /*mbed:0.500*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x0fa000 = 4.000V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x0fa000) // 4.000V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(4.000000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.100*/ /*mbed:0.750*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x0fffff = 4.095V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x0fffff) // 4.095V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(4.095000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' // @Test='@test group CODE_LOAD tinyTester.err_threshold = /*Arduino:0.050*/ /*mbed:0.200*/ /*eabi:0.050*/' // @Test='@test group CODE_LOAD tinyTester.print("0x080000 // 2.048V")' // @Test='@test group CODE_LOAD CODE_LOAD(0x080000) // 2.048V' // @Test='@test group CODE_LOAD tinyTester.Wait_Output_Settling()' // @Test='@test group CODE_LOAD tinyTester.AnalogIn0_Read_Expect_voltageV(2.048000)' + // @Test='/*mbed:@test group CODE_LOAD tinyTester.AnalogIn1_Read_Report_voltageV(); // remove unwanted loading on AIN0 */' cmdLine.serial().printf("Init"); // call function Init g_MAX5719_device.Init();