2021377_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2021377_en-US

2021377_en-US

PP4/PW4 pin

Hello newbie here,

I'm looking at a mc9s12gc (52 pin) on HVAC board and noticed that a Thermostat(Basically a potentiometer) what I would think should be tied to an input pin is wired to the PP4/PW4 pin. Can the PW4 pin be configured as an input? Everything I've read says it is a Pulse width modulated waveform output.

I know most thermostats are just open/closed contacts but this one is not.

Thanks

Re: PP4/PW4 pin

Hi @P0zburn,

This is not an ATD (ADC) pin, it can be a digital input only.

danielmartynek_0-1736112308677.png



Best regards,

Daniel

Re: PP4/PW4 pin

Thanks for the response.  I have a follow up question. Once it is configured as an input, can it be used as a analog input?

Re: PP4/PW4 pin

Hello @P0zburn,

The PP4/PW4 pin is a GPIO.

The direction is configurable in the DDRP register.

danielmartynek_0-1735894186337.png


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 12:06 PM
Updated by: