pyfastservo adc: Set default afe gain to 10x

This commit is contained in:
linuswck 2024-11-08 12:55:19 +08:00
parent 5343b3d45a
commit b1a9fa0ad4
1 changed files with 3 additions and 2 deletions

View File

@ -163,7 +163,8 @@ def configure_ltc2195():
main_adc_test_mode(spi, False) main_adc_test_mode(spi, False)
verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off
enable_adc_afe() # FIXME: AFE Gain 1x is not functional on that batch of fast servo under development
enable_adc_afe(ch1_x10=1, ch2_x10=1)
finally: finally:
spi.close() spi.close()