PTA0 & PTA1 can be read as analog inputs using TPMS_READ_V0 and TPMS_READ_V1 calls, but looking at ref manual and firmware guide, I assume they are digital by default and I can't see how to enable them as analog inputs. How is it done?
There is no need to enable them as analog inputs as it is done in the firmware functions TPMS_READ_V0 and V1.
You just have to configure STOP mode to be STOP4 (without entering STOP mode) and then call the function. Everything else is done inside the function: pin and ADC configuration, measure and reading. No further configuration is required.
Thanks Tomas, that has clarified it, regards, David
Retrieving data ...