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.

SK-TDA4VM: How to toggle wakeup GPIO

Part Number: SK-TDA4VM
Other Parts Discussed in Thread: TDA4VM

Tool/software:

Hi Ti,

We are trying to access wakeup GPIO from MCU. For that I referred forum, they have mentioned that LED_blink as an example, but when i try to run, i can not able to blink LED. It get locked into the while loop because wkup_gpio_intr_triggered = 0.

By referring the user guide, I simple toggle by following steps

GPIO_write(MAIN_GPIO_PIN_NUM, GPIO_PIN_VAL_HIGH);
AppDelay(DELAY_VALUE); GPIO_write(MAIN_GPIO_PIN_NUM, GPIO_PIN_VAL_LOW);
AppDelay(DELAY_VALUE);

but no response from GPIO.

Could you support how to toggle GPIO?
  • Hi,

    Are you using the Firmware Builder package?

    Can you provide the pinmux and GPIO instantiation that is done?
    Thanks,

    Neehar

  • Hi,

    We are using default package of 9.02 version. we didn't change any pinmux configuration. Trying the default package and default LED_blink.

  • Hi,

    Our expert is OoO and he will support you next week.

    Regards,

    Karthik

  • Hi,

    Can you confirm what board you are using? Are you using the SK-TDA4VM?

    The SK-TDA4VM does not have a RTOS SDK and instead uses a Firmware Builder package with similar features.

    Thanks,

    Neehar

  • Hi,

    Yes, we are using SK-TDA4VM board.

    We have tried with existing examples in RTOS LED_BLINK[/pdk_jacinto_09_02_00_30/packages/ti/drv/gpio/test/led_blink/src$ ]. It is also asking interrupt.

    1.Here does Firmware Builder package mean that in build package of TDA4VM RTOS/ ti_linux_edgeai?2.Can we have exact procedure to handle GPIO in SK-TDA4VM?

  • Hi,

    We are using default package of 9.02 version. we didn't change any pinmux configuration. Trying the default package and default LED_blink.

    If you are using the default pinmux configuration from the 9.2 SDK that will include the configuration for the J721E EVM. This will not work on the SK-TDA4VM. You will need to take a look at the Firmware Builder package for the GPIO drivers and APIs to use GPIO.
    Thanks,

    Neehar

  • Hi,

    1.What is Firmware Builder package mean that in build package of TDA4VM RTOS/ ti_linux_edgeai?Can we have sample procedure to handle GPIO in SK-TDA4VM?

    2. Where are Pinmux configuration related details available?

  • Hi,

    You will have to request access to the firmware builder package using MySecureSW and you can find more information here. This package has very similar driver examples as the RTOS PDK which you can use for more information on how to handle GPIO.

    2. Where are Pinmux configuration related details available?

    They should be set up in firmware builder but you can make changes to the default if you require different pins/instances from the examples given.

    Thanks,

    Neehar