PP4/PW4 pin

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

PP4/PW4 pin

Jump to solution
2,695 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
2,676 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
2,677 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

 

2,667 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
2,636 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2021377%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPP4%2FPW4%20pin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021377%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20newbie%20here%2C%3C%2FP%3E%3CP%3EI'm%20looking%20at%20a%20mc9s12gc%20(52%20pin)%20on%20HVAC%20board%20and%20noticed%20that%20a%20Thermostat(Basically%20a%20potentiometer)%20what%20I%20would%20think%20should%20be%20tied%20to%20an%20input%20pin%20is%20wired%20to%20the%20PP4%2FPW4%20pin.%20Can%20the%20PW4%20pin%20be%20configured%20as%20an%20input%3F%20Everything%20I've%20read%20says%20it%20is%20a%20Pulse%20width%20modulated%20waveform%20output.%3C%2FP%3E%3CP%3EI%20know%20most%20thermostats%20are%20just%20open%2Fclosed%20contacts%20but%20this%20one%20is%20not.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2022143%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PP4%2FPW4%20pin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2022143%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F245042%22%20target%3D%22_blank%22%3E%40P0zburn%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThis%20is%20not%20an%20ATD%20(ADC)%20pin%2C%20it%20can%20be%20a%20digital%20input%20only.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielmartynek_0-1736112308677.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielmartynek_0-1736112308677.png%22%20style%3D%22width%3A%20335px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F318116i291371EAFA2E874B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22danielmartynek_0-1736112308677.png%22%20alt%3D%22danielmartynek_0-1736112308677.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2021990%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PP4%2FPW4%20pin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021990%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20the%20response.%26nbsp%3B%20I%20have%20a%20follow%20up%20question.%20Once%20it%20is%20configured%20as%20an%20input%2C%20can%20it%20be%20used%20as%20a%20analog%20input%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2021765%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PP4%2FPW4%20pin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021765%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F245042%22%20target%3D%22_blank%22%3E%40P0zburn%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20PP4%2FPW4%20pin%20is%20a%20GPIO.%3C%2FP%3E%0A%3CP%3EThe%20direction%20is%20configurable%20in%20the%20DDRP%20register.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielmartynek_0-1735894186337.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielmartynek_0-1735894186337.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F318017iA005F1BE24CC5823%2Fimage-dimensions%2F620x344%3Fv%3Dv2%22%20width%3D%22620%22%20height%3D%22344%22%20role%3D%22button%22%20title%3D%22danielmartynek_0-1735894186337.png%22%20alt%3D%22danielmartynek_0-1735894186337.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E