![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
added wait_us(31) in admw_spi.cpp to support hibernation mode
Diff: rtd_3w_pt100_config.c
- Revision:
- 43:e1789b7214cf
- Parent:
- 37:6acfbb4405cd
- Child:
- 45:f5f553b8c0d5
diff -r c9c5a22e539e -r e1789b7214cf rtd_3w_pt100_config.c --- a/rtd_3w_pt100_config.c Tue Dec 10 09:00:11 2019 +0000 +++ b/rtd_3w_pt100_config.c Tue Jan 07 05:45:58 2020 +0000 @@ -53,6 +53,8 @@ .externalRefVoltage =0.0, .operatingMode = ADMW1001_OPERATING_MODE_CONTINUOUS, .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, // FIX: Temporarily all values from json are hardcoded to this one in the Contracts.FileGenerator - > file translations!! + .excitationState= ADMW1001_ADC_EXC_STATE_CYCLE_POWER, + .groundSwitch = ADMW1001_ADC_GND_SW_OPEN, .cycleInterval = 0, .vBiasEnable = false, .RSenseValue = 1000.0, @@ -83,7 +85,6 @@ .rtdCurve = ADMW1001_ADC_RTD_CURVE_EUROPEAN, .gain = ADMW1001_ADC_GAIN_1X, .current = { - .excitationState= ADMW1001_ADC_EXC_STATE_ALWAYS_ON, .outputLevel = ADMW1001_ADC_EXC_CURRENT_250uA, .diodeRatio = 0, }, @@ -92,7 +93,6 @@ .sf = ADMW1001_SF_8P24HZ, .chopMode = ADMW1001_CHOP_MD_SW, .notch1p2 = false, - .groundSwitch = ADMW1001_ADC_GND_SW_OPEN }, .reference = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL, },