MAX11410 high speed 24-bit Delta-Sigma ADC

Dependents:   MAX11410BOB_24bit_ADC MAX11410BOB_Serial_Tester

Revision:
28:441633d97018
Parent:
27:1cb6c42c6a93
Child:
29:a677458ac250
--- a/MAX11410.cpp	Tue Apr 21 00:44:59 2020 +0000
+++ b/MAX11410.cpp	Tue Apr 21 05:54:07 2020 +0000
@@ -1807,6 +1807,15 @@
         futility_countdown--)
     {
         RegRead(CMD_r011_1000_dddd_dddd_dddd_dddd_dxxx_dddd_STATUS, &status);
+        if (loop_limit > 5) {
+            wait_ms(20); // timing delay function, platform-specific
+        }
+        if (loop_limit > 10) {
+            wait_ms(50); // timing delay function, platform-specific
+        }
+        if (loop_limit > 30) {
+            wait_ms(100); // timing delay function, platform-specific
+        }
     }
     
     //----------------------------------------