Change Rsense for AtoI supplies
authorDan White <dan@whiteaudio.com>
Tue, 17 Jul 2012 18:14:22 +0000 (13:14 -0500)
committerDan White <dan@whiteaudio.com>
Tue, 17 Jul 2012 18:14:22 +0000 (13:14 -0500)
python-lib/mpsse-test.py

index 5582585cd2fbcf205f56d45353a101bf4123409e..dce3e8338d82652741a62e7841cee94993cd0fc2 100755 (executable)
@@ -92,8 +92,8 @@ SETTLE_TIME = 250e-6
 # Supply current sense circuitry
 RS = {  'Vdd_ns430':    1.0,
         'DVdd_ns430': 100.0,
-        'Vdd_digi':    50.0,
-        'AVdd_atoi':  100.0 }
+        'Vdd_digi':     1.0,
+        'AVdd_atoi':   20.0 }
 
 IPS_CH = {  'Vdd_ns430':    0,
             'DVdd_ns430':   1,
@@ -170,6 +170,7 @@ def get_i_supply():
     # give atoi outputs time to settle
     vatoi.gpo1 = 1
     v430.gpo1 = 0
+    sleep(1e-3)
 
     #get the two results
     for name in ('Vdd_digi', 'AVdd_atoi'):