Hi Team, we are assisting a customer with his project and we are hoping for your inputs.
In the project the number of thermistors is flexible (0..3) and they can be attached on any of the TS1, TS3 and HDQ pins.
The thermistors need to be detected only once after the uC boots. The thermistors used will be 10 kOhms Semitec 103-AT.
What would be the recommended procedure?
The attempt is to:
- Switch all pins to ADCIN with 18 kOhms Pullup: 0x33 written to RAM - this is necessary to bias the thermistor I assume. Is this setting valid or does it cause undefined behavior?
- Wait for the measurement cycle to complete
- Calculate resistance and check for range (between reported values for O/C and S/C)
- Switch detected pins to 18 kOhms Pullup, Thermistor Mode for Cells: 0x07 written to RAM
- Leave undetected pins as they are (not cell temperature)
They can detect the pins with a thermistor attached using this procedure.
However, using DASTATUS5 we receive one correct reading (min/max temp both at ~25°C) and only implausible ones afterward (min 3003, max -273). The reading for TS1 specifically gives -228 which is also very strange. The reading does not change when we touch the thermistor so we do not think a real measurement is taking place.
Hoping for your assistance.
Thank you.
-Mark