S32G2: Not able to drive GPIO Pin low

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

S32G2: Not able to drive GPIO Pin low

1,220 Views
NGangadhar
Contributor II

Changes are done in device tree to drive PA_14 low on S32G2.

&pinctrl {

        status = "okay";

 

        gamma_pcie_pins: gamma_pcie_pins {

                gamma_pcie_clkreq {

                        pinmux = <S32CC_PINMUX(14, FUNC0)>;

                        output-enable;

                };

 

                gamma_pcie_reset {

                        pinmux = <S32CC_PINMUX(15, FUNC0)>;

                        input-enable;

                };

        };

 

------

 

&gpio {

                     gamma_pcie_clkreq {

                gpio-hog;

                gpios = <14 GPIO_ACTIVE_LOW>;

                output-low;

                line-name = "gamma_pcie_clkreq";

        };

NGangadhar_0-1687499371036.pngNGangadhar_0-1687499371036.png

 

This print is noticed in dmesg – “gpio-335 (gamma_pcie_clkreq): hogged as output/low”

 

But when voltage is measured using multimeter, it is high.

 

Thanks & Regards,

Gangadhar

 

 

Tags (2)
0 Kudos
Reply
1 Reply

1,172 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @NGangadhar,

Thank you for reaching out to NXP.

Which BSP Version are you using?

Have you checked the MSCR registers of GPIO14?

Also, share the device-tree file here so, I can integrate and test the same scenario.

 

Thanks,

Mayank s Patel

0 Kudos
Reply