Other Parts Discussed in Thread: SYSCONFIG
Hello,
we are using the TI System Configuration tool to configure the gpio pins of the tad4 chip, and we have two questions to ask.
1. How to configure ordinary gpio pins, how to select pull-up and pull-down? What is its initial level? What does Rx stand for?
2. How to configure high level for gpio pin? For example, for the G20 pin in the wkup domain, I have selected pull-up input and pull-up output respectively. Why is the voltage of this pin 0.5V? When I choose the default value no pull, the output voltage is 0v.
The GPIO configuration is as follows:
devicetree.dtsi
wkup_gpio0_pins_default: wkup_gpio0_pins_default {
        pinctrl-single,pins = <
            J721S2_WKUP_IOPAD(0x0cc, PIN_INPUT, 7) /* (C27) WKUP_GPIO0_3 */
            J721S2_WKUP_IOPAD(0x0e0, PIN_INPUT, 7) /* (F24) WKUP_GPIO0_8 */
            J721S2_WKUP_IOPAD(0x0e4, PIN_INPUT, 7) /* (H26) WKUP_GPIO0_9 */
            J721S2_WKUP_IOPAD(0x0e8, PIN_INPUT, 7) /* (F27) WKUP_GPIO0_10 */
            J721S2_WKUP_IOPAD(0x0ec, PIN_INPUT, 7) /* (F25) WKUP_GPIO0_11 */
            J721S2_WKUP_IOPAD(0x0f8, PIN_INPUT, 7) /* (B24) WKUP_GPIO0_14 */
            J721S2_WKUP_IOPAD(0x0fc, PIN_INPUT, 7) /* (D25) WKUP_GPIO0_15 */
            J721S2_WKUP_IOPAD(0x030, PIN_INPUT, 7) /* (G17) MCU_OSPI0_CSn1.WKUP_GPIO0_28 */
            J721S2_WKUP_IOPAD(0x03c, PIN_INPUT, 7) /* (F17) MCU_OSPI0_CSn3.WKUP_GPIO0_30 */
            J721S2_WKUP_IOPAD(0x040, PIN_INPUT, 7) /* (A19) MCU_OSPI1_CLK.WKUP_GPIO0_31 */
            J721S2_WKUP_IOPAD(0x044, PIN_INPUT, 7) /* (B20) MCU_OSPI1_LBCLKO.WKUP_GPIO0_32 */
            J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 7) /* (B19) MCU_OSPI1_DQS.WKUP_GPIO0_33 */
            J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 7) /* (D21) MCU_OSPI1_D0.WKUP_GPIO0_34 */
            J721S2_WKUP_IOPAD(0x050, PIN_OUTPUT_PULLUP, 7) /* (G20) MCU_OSPI1_D1.WKUP_GPIO0_35 */
            J721S2_WKUP_IOPAD(0x054, PIN_INPUT, 7) /* (C20) MCU_OSPI1_D2.WKUP_GPIO0_36 */
            J721S2_WKUP_IOPAD(0x058, PIN_INPUT, 7) /* (A20) MCU_OSPI1_D3.WKUP_GPIO0_37 */
            J721S2_WKUP_IOPAD(0x05c, PIN_INPUT, 7) /* (D20) MCU_OSPI1_CSn0.WKUP_GPIO0_38 */
            J721S2_WKUP_IOPAD(0x060, PIN_INPUT, 7) /* (C21) MCU_OSPI1_CSn1.WKUP_GPIO0_39 */
            J721S2_WKUP_IOPAD(0x190, PIN_INPUT, 7) /* (K26) WKUP_GPIO0_49 */
            J721S2_WKUP_IOPAD(0x120, PIN_INPUT, 7) /* (G27) WKUP_GPIO0_56 */
            J721S2_WKUP_IOPAD(0x17c, PIN_INPUT, 7) /* (J26) WKUP_GPIO0_57 */
            J721S2_WKUP_IOPAD(0x180, PIN_INPUT, 7) /* (G25) WKUP_GPIO0_66 */
            J721S2_WKUP_IOPAD(0x184, PIN_INPUT, 7) /* (J27) WKUP_GPIO0_67 */
        >;
    };
J721s2_pinmux_data.c
/* WKUP_GPIO0 -> WKUP_GPIO0_35 -> G20 */
    {
        PIN_MCU_OSPI1_D1, PIN_MODE(7) | \
        ((PIN_PULL_DIRECTION) & (~PIN_PULL_DISABLE & ~PIN_INPUT_ENABLE))
    },
 
				 
		 
					 
                           
				
