Mark_B
Mechanical
- Jan 21, 2024
- 25
I am setting up a circuit for reading a 10k type 3 thermistor (10kohms). I have an MPC3008 ADC I will be interfacing with an AVR/Atmega644P microcontroller. Why does Microchip recommend higher clock speeds for higher Vdd? I came to believe higher operating voltage allows higher ADC clock speed, but can't understand why it requires it. Or maybe their choice to place table 6-1 next to the paragraph about minimum clock speeds is just confusing me?
How much do I need to worry about these things when reading a thermistor for comfort HVAC applications where a 0.25* misreading is totally acceptable? I'm interested in relevant math.
The datasheet, regarding SPI clock speed:
"Figure 4-2: Maximum Clock Frequency vs Input resistance (RS) to maintain less than a 0.1 LSB deviation in INL from nominal conditions." At my input resistance of 10kohms and Vdd of 5V, it shows a clock speed around 0.75 Mohms. I take this to mean if I set SPI clock speed around 0.75 MHz, that will avoid any accuracy issues.
Later in the sheet:
Page 22, Maintaining minimum clock speed: "the time between the end of the sample period and the time that all 10 data bits have been clocked out must not exceed 1.2 ms (effective clock frequency of 10 kHz)" (page 22, "maintaining minimum clock speed"). Again, this seems to suggest my clock speed will be fine.
But then this part comes along:
Table 6-1: Shows recommended clock speed increasing to 3.6MHz with Vdd greater than 4V.
Here is the datasheet:
How much do I need to worry about these things when reading a thermistor for comfort HVAC applications where a 0.25* misreading is totally acceptable? I'm interested in relevant math.
The datasheet, regarding SPI clock speed:
"Figure 4-2: Maximum Clock Frequency vs Input resistance (RS) to maintain less than a 0.1 LSB deviation in INL from nominal conditions." At my input resistance of 10kohms and Vdd of 5V, it shows a clock speed around 0.75 Mohms. I take this to mean if I set SPI clock speed around 0.75 MHz, that will avoid any accuracy issues.
Later in the sheet:
Page 22, Maintaining minimum clock speed: "the time between the end of the sample period and the time that all 10 data bits have been clocked out must not exceed 1.2 ms (effective clock frequency of 10 kHz)" (page 22, "maintaining minimum clock speed"). Again, this seems to suggest my clock speed will be fine.
But then this part comes along:
Table 6-1: Shows recommended clock speed increasing to 3.6MHz with Vdd greater than 4V.
Here is the datasheet:
Last edited: