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

View File

@ -162,8 +162,9 @@ def configure_ltc2195():
main_adc_test_mode(spi, False)
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:
spi.close()