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.

AM2432: Questions regarding GPIO interrupt router output number for different SDK/syscfg versions

Part Number: AM2432

Hello TI team, 

We noticed the GPIO interrupt router number that is allowed to be configured in syscfg is different from each SDK/syscfg version. 

For gpio_input_interrupt_am243x_evm example, we noticed that different SDK/syscfg versions have different GPIO interrupt router number range.

This caused issues with updating our project from SDK 08.05 to SDK 09.00. I see the same issue will occur when we update to SDK 09.01.

Could TI please help to understand why the Interrupt Router Output range are different between different SDK/syscfg versions? 

For SDK 08.05 with syscfg 1.14,

For SDK 09.00 with syscfg 1.17,


For SDK 09.01 with syscfg 1.18, 


Thanks,

Hong 

  • Hello Hong,

    Sorry for the delayed response as I was on sick leave.

    Thanks for sharing full Router configurations for different MCU+SDK versions.

    Yes, I agree you will have issues if the Router output is changed for every MCU+SDK.

    Please look at the image below. MAIN_GPIO_MUX_INTR Router has 16 Router outputs which are connected to different cores.

     

    The Router outputs are purely configured based on the customer's use cases. 

    For example, one customer wants to route 4 GPIO interrupt Router outputs to R5F0_0 but in MCU+SDK we have routed only two outputs. In this case this file should be, updated based on the user requirement. 

    This resource allocation will change based on different customers use cases to set proper resources allocation for all cores.

    This file is purely configured based on user requirements. If you need only two router outputs to R5F0_0, then update the below  file and compile it and load the SBL with updated board cfg.

    Typically, these resource allocation can be done in the file below please look at them.

    Regards,

    S.Anil.

  • Hello Swargam, 

    Thank you very much for the reply. 

    We have been using TI's released SYSFW and boardcfg files until now.  Do you have the instructions for building the updated boardcfg file? 

    Thanks,

    Hong 

  • Hello Hong,

    Please go through the FAQ below for updating the board cfg file and compiling the board cfg file.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1230630/faq-how-to-get-started-with-resource-partitioning-tool

    Regards,

    S.Anil.

  • Hi Swargam,

    I tried following the instructions for 9.01 SDK on AM243x and the base file opens with multiple errors. Besides, the instructions in the FAQ post only provided for the Linux target, so it is not quite clear what to do on R5F-only devices such as AM243x.

    We will greatly appreciate mode detailed instructions for the AM243x

    Thank you

    Michael

  • Hello Michael/Hong,

    I tried following the instructions for 9.01 SDK on AM243x and the base file opens with multiple errors.

    Can you please share what errors you are facing ?

    I have followed the below steps to open board cfg files .

    First step we need to give a path for the Resource partition tool and next open existing board cfg file from below path.

    The Resource Partition Tool path needs to be given in the system config : \ti\mcu_plus_sdk_am243x_09_01_00_41\tools\sysfw\boardcfg\respart

    Next, open existing Board cfg file 

    Path : \ti\mcu_plus_sdk_am243x_09_01_00_41\tools\sysfw\boardcfg\respart\am243x\k3-respart-tool-0.5\out

    After that, you can play with resources allocation.

    Next, copy the file highlighted file in your workspace and change the file name to. sciclient_defaultBoardcfg_rm.c file 

    Compile sciclient_defaultBoardcfg_rm.c file by using the below command.

    Next, we need to compile SBL for a new board configuration. 

    After that, flash the updated SBL on SOC. So, that your updated board cfg is available on SOC .

    Please let me know if you face any issues.

    Regards,

    S.Anil.

  • Hi Swargam,

    thank you for the guidance. I was using the version of the k3 partitioning tool provided in the FAQ post (https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1308689/faq-how-to-use-k3-resource-partitioning-tool-with-processor-sdk-v9-0-or-v9-1)

    When I switched to the version provided in the SDK under c:\ti\mcu_plus_sdk_am243x_09_01_00_41\tools\sysfw\boardcfg\respart\am243x\k3-respart-tool-0.5\ the board file CFG file opened with no errors. We will let you know should further questions arise.

    regards,

    Michael

  • When I switched to the version provided in the SDK under c:\ti\mcu_plus_sdk_am243x_09_01_00_41\tools\sysfw\boardcfg\respart\am243x\k3-respart-tool-0.5\ the board file CFG file opened with no errors. We will let you know should further questions arise.

    Hello Michael,

    Thanks . Please close this thread and open new threads for new queries.

    thank you for the guidance. I was using the version of the k3 partitioning tool provided in the FAQ post

    I am not sure what went wrong with this tool . If you follow the same procedure as per the FAQ, it should work.

    Earlier versions of this tool are available in Processor SDK and not in MCU+SDK. As of now, you can go with a working tool.

    Again, we can try to recreate the issue at my side and let you know.

    Regards,

    S.Anil.

  • Unlocking this thread based on the customer's request.

    Regards

    Karan