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.

J722SXH01EVM: how to config GPIO for vision_app-main mcu?

Part Number: J722SXH01EVM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi TI expert,

     1. i am using J722s evm  and sdk v11  example code as environment. sdcard, spl boot mode.

     2. for mcu10 project,  ti says using syscfg-gui to generate config code from gui,  for example

             "make -C mcu_plus_sdk_j722s_11_00_00_12/examples/drivers/ipc/ipc_notify_echo/j722s-evm/mcu-r5fss0-0_freertos/ti-arm-clang syscfg-gui" 

             to get syscfg ui and generate config file. 

    3. for main mcu20 project , there build system are different and  i  can't use similar way to make the config file, 

         `make -C vision_apps vx_app_rtos_linux_mcu2_0    syscfg-gui`  , it not works.

my question is:

    1. i want config some GPIO for main mcu/mcu20 , how to make the init config file?  using syscfg is preferred, or  manully souce code api only?

thanks.

  • Hi,

      1. i want config some GPIO for main mcu/mcu20 , how to make the init config file?  using syscfg is preferred, or  manully souce code api only?

    It is your choice whether you use sysconfig or manually write the source code. SysConfig is a simply tool that auto generates source code to prevent any user errors or typos. We do recommend using SysConfig as much as you can during your development, however, it will not be as useful during later stages of application development. 

    1. i want config some GPIO for main mcu/mcu20 , how to make the init config file?  using syscfg is preferred, or  manully souce code api only?

    You can still use the same syscfg gui to generate the config file for MCU2_0 development as well. For example, for a GPIO example you could use either for the following:

    'make -C examples/drivers/gpio/gpio_input_interrupt/j722s-evm/main-r5fss0-0_freertos/ti-arm-clang/ syscfg-gui'

    'make -C examples/drivers/gpio/gpio_led_blink/j722s-evm/main-r5fss0-0_freertos/ti-arm-clang/ syscfg-gui'

    Thanks,

    Neehar

  • thanks, but how to use sysconfig tool under vision app,   souce code is  under vision_apps/platform/j722s/rtos/mcu2_0,  it use different build system "concerto",  not same as in mcu_plus_sdk. 

  • Hi,

    it use different build system "concerto",  not same as in mcu_plus_sdk. 

    That is correct, vision apps does not use the same SysConfig based build system as done in MCU+ SDK. Therefore, you SysConfig is only used for MCU+ SDK and will not be helpful for vision apps. You can write and understand some source code within MCU+ SDK, however, you will have to manually transfer the code and application to vision apps.

    Thanks,

    Neehar