Now for limited peripheral and resource, I can only use a GPIO(P1.5/TA1) and Timer to measure temperature with NTC resistor. I want to measure NTC resistor value based on R-C discharge theory which I refer to MSP430 Capacitive Touch RC method. The circuit and measurement methodology is as follows,
When I implement the code, I has some questions that need your help,
Q1: Is this method feasible? Would you please kindly give me any other better choice?
Q2: Based on the measurement methodology, when discharge, it sets Px.y as Input with H-L INT enabled. Why don't use Timer Capture mode directly? What's the different between GPIO H-L edge INT and Timer capture on falling edge? which is more accurate?
Q3: Based on the discharge time, I need to calculate the resistor value with this formula: V(after-discharge) = V(before-discharge)* e^(-t/(RC)), if V(before-discharge)=3.0V (Vcc=3.0V), then what's the value for V(after-discharge)? I mean when get the GPIO H-L edge INT or timer capture the falling edge, at this time, what's the value for V(after-discharge)?
Thanks a lot. O(∩_∩)O~