PP4/PW4 pin

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

PP4/PW4 pin

Jump to solution
880 Views
P0zburn
Contributor II

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

0 Kudos
Reply
1 Solution
861 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @P0zburn,

The PP4/PW4 pin is a GPIO.

The direction is configurable in the DDRP register.

danielmartynek_0-1735894186337.png

 

View solution in original post

3 Replies
862 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @P0zburn,

The PP4/PW4 pin is a GPIO.

The direction is configurable in the DDRP register.

danielmartynek_0-1735894186337.png

 

852 Views
P0zburn
Contributor II

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?

0 Kudos
Reply
821 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @P0zburn,

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

danielmartynek_0-1736112308677.png

 

 

Best regards,

Daniel

0 Kudos
Reply