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.
Dependencies: MaximTinyTester CmdLine MAX541 MAX5715 USBDevice
Revision 9:9b4232e20020, committed 2019-06-21
- Comitter:
- whismanoid
- Date:
- Fri Jun 21 11:25:28 2019 +0000
- Parent:
- 8:6bdfb1376fed
- Child:
- 10:228a52f8107d
- Commit message:
- MaximTinyTester status LED blink timing adjustment
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jun 21 11:06:46 2019 +0000
+++ b/main.cpp Fri Jun 21 11:25:28 2019 +0000
@@ -2801,6 +2801,7 @@
SelfTest_print_Vref(cmdLine);
//~ cmdLine.serial().printf("\r\n");
//
+ tinyTester.blink_time_msec = 20; // quickly speed through the software verification
// tinyTester.FunctionCall_Expect replaces SelfTest_DACCodeOfVoltage_Expect
tinyTester.FunctionCall_Expect("MAX5715.DACCodeOfVoltage", fn_MAX5715_DACCodeOfVoltage, 10.0, 0x0FFF); // overrange FS
tinyTester.FunctionCall_Expect("MAX5715.DACCodeOfVoltage", fn_MAX5715_DACCodeOfVoltage, 4.0950, 0x0FFF);
@@ -3009,6 +3010,7 @@
//
// Device Testing: DAC commands, verify using on-board ADC inputs
//
+ tinyTester.blink_time_msec = 75;
cmdLine.serial().printf("\r\n MAX5715.Init()");
g_MAX5715_device.Init();
//
@@ -3111,6 +3113,7 @@
//
// Device Testing: ADC commands, verify with on-board ADC and SPI framing
//
+ tinyTester.blink_time_msec = 75;
// MAX11131 SelfTest: MAX11131 SPI connections (Power Supply and GND, SCLK, MOSI, MISO, CS)
cmdLine.serial().printf("\r\n");
cmdLine.serial().printf(
@@ -3452,6 +3455,7 @@
tinyTester.err_threshold = (g_MAX5171_device.VRef / 16383); // 14-bit DAC FS
//
// tinyTester.FunctionCall_Expect replaces SelfTest_DACCodeOfVoltage_Expect
+ tinyTester.blink_time_msec = 20; // quickly speed through the software verification
tinyTester.FunctionCall_Expect("MAX5171.DACCodeOfVoltage", fn_MAX5171_DACCodeOfVoltage, 2.499847412109375, 0x3FFF);
tinyTester.FunctionCall_Expect("MAX5171.DACCodeOfVoltage", fn_MAX5171_DACCodeOfVoltage, 2.49969482421875, 0x3FFE);
tinyTester.FunctionCall_Expect("MAX5171.DACCodeOfVoltage", fn_MAX5171_DACCodeOfVoltage, 2.499542236328125, 0x3FFD);
@@ -3485,6 +3489,7 @@
//
// Device Testing: DAC commands, verify using on-board ADC inputs
//
+ tinyTester.blink_time_msec = 75;
cmdLine.serial().printf("\r\n MAX5171.Init()");
g_MAX5171_device.Init();
//