We are having problems asserting GPIO0_0/EXTINTn high (pin AC18) when using as a GPIO. When configured as a GPIO, is the output push-pull?
Part number we are using: XJ721EGALF
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We are having problems asserting GPIO0_0/EXTINTn high (pin AC18) when using as a GPIO. When configured as a GPIO, is the output push-pull?
Part number we are using: XJ721EGALF
Hi Kevin,
Few questions:
1) Are you using a custom board or standard TI TDA4 EVM board?
2) What is the issue that you are facing?
3) Can you share the changes you have done to enable GPIO0_0.
The pinmux tool: https://dev.ti.com/sysconfig/?fromPinmux=true#/
Output for configuring gpio0_0 is:
&main_pmx0 { mygpio1_pins_default: mygpio1_pins_default { pinctrl-single,pins = < J721E_IOPAD(0x0, PIN_INPUT, 7) /* (AC18) EXTINTn.GPIO0_0 */ >; }; };
If you are using the SDK by default this is configured in gpio0_0 & used for SWITCH10 on the board.
gpio_keys: gpio-keys { compatible = "gpio-keys"; autorepeat; pinctrl-names = "default"; pinctrl-0 = <&sw10_button_pins_default &sw11_button_pins_default>; sw10: sw10 { label = "GPIO Key USER1"; linux,code = <BTN_0>; gpios = <&main_gpio0 0 GPIO_ACTIVE_LOW>; };
File: arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
The GPIO0_0 is working perfectly fine. You can press SW10 i.e switch 10 if you are using TDA4 EVM
& you can see that gpio interrupts are firing.
Let me know if you have all the questions answered.
Best Regards,
Keerthy
Kevin Parmenter said:When configured as a GPIO, is the output push-pull?
Table 4-1 (Pin Attributes) in the data sheet shows the buffer type as "I2C open drain".