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: GPIO_DEVICE_CONFIG usage

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

Tool/software:

I'm in the 10_01 RTOS SDK for J721e, so this applies to a number of devices, but I'm doing some testing on the TDA4VM board here.

This is a question about the usage of GPIO_DEVICE_CONFIG in the main_led_blink example.

It defines the macro with parameters (port, pin); also above it, it defines GPIO_MAX_NUM_PORTS as (2U). Am I to assume that the two ports here is meant to be WKUP domain and MAIN domain? How would MCU domain come into this?

Consider the case if I want to add a few more GPIOs to the demo.  When I define the pin config, what would I use?

  • Hi Tyler,

    If wanting to develop on RTOS, recommendation will be to purchase and develop on the J721E EVM board.

    RTOS SDK is not fully supported on SK-TDA4VM. RTOS SDK was created for the J721E EVM board instead of SK board. Some of the demos that only require compute, such as some TIDL/C7x only demos that do not use any peripherals may work, but any demos that are board dependent such as the GPIO example are not supported.

    Regards,

    Takuma

  • I understand this. I have a J721E EVM board, where I was trying to do development that was using GPIOs, and was failing miserably trying to get an input GPIO to work. I switched to the TVA4VM because I could get the GPIOs working, albeit only two at a time. I'm working my way from a working example to what I want, trying to understand how the SDK is put together.

    Forgive my bluntness, but your response of recommending another product is simply not helpful in this situation and doesn't address my question.

  • Hi Tyler,

    Simply setting expectations of what is supported/not supported. What is being attempted is not an out-of-box demo for SK-TDA4VM board, so please expect some difficulties. 

    In any case, you can try referencing these two FAQs:

    Let me know if that helps.

    Regards,

    Takuma