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.

AM625: TISCI archtecture

Part Number: AM625
Other Parts Discussed in Thread: SK-AM62

Edited Dec 4 2023: Customer is actually using AM625, not AM62A. Updated the thread title and part number accordingly.

Dear team,

My customer  wants to use TISCI but they didn't see the spec and how to use. Would you please share the API specification or source code for DMSC?
Because they tested but the return is error.

Regards,

Shinji Nishio

  • Hello Shinji-san,

    What exactly is your customer trying to do with TISCI?

    You can find some getting started information in the AM62A MCU+ SDK docs:
    https://software-dl.ti.com/mcu-plus-sdk/esd/AM62AX/09_00_00_19/exports/docs/api_guide_am62ax/DRIVERS_SCICLIENT_PAGE.html

    Regards,

    Nick

  • Hello Nick,


    Background:
    I'm describing what we are trying to do with TISCI.
    Our goal is to transmit CSIRX packets with DMA in a bare-metal environment.
    Question about this are in Thread ID:1255121.

    In my experiments at the time, Received a NACK response from SYSFW at the time of enabling the DMA channel and it failed.
    The application can only know the result of "success" or "failure",
    Therefore, it is not possible to investigate the cause of the failure.
    We tried to investigate in detail using the trace log function of SYSFW, but were unable to determine the cause of the error.

    Question:
    ・What is the general method of investigating the cause of an error in an application involving TISCI?
    ・Is it possible for you to provide us with DMSC's SourceCode? If you provide us with the source code, we can investigate the cause of the error.

    Regards,

    T.M.

  • Hello T.M.,

    Apologies for the Thanksgiving delay.

    Understood. I am sending your thread to another team member who can comment more about the DMSC firmware, and debugging SYSFW communication.

    Regards,

    Nick

  • Hello T.M,

    I am looking at your queries, and you may expect a reply in one or two days.

    Regards,

    S.Anil.

  • Hello T.M,

    Can you please confirm if you are trying to configure UDMA on the DM R5F core?

    ・What is the general method of investigating the cause of an error in an application involving TISCI?

    Typically, when the SCI client returns an error, to debug the issue further, we need to enable DM log. So, that DM core will print some DM logs, and after there are some scripts in the MCU+SDK, if we feed those log data to scripts, it will show exactly what the error is. I will tell you the procedure for how to enable it, but please provide a reply to the above query to better assist you. Since DM core debugging will take more time,

    ・Is it possible for you to provide us with DMSC's SourceCode? If you provide us with the source code, we can investigate the cause of the error.

    I am assuming that the DMA channel allocation query should go to the DM firmware. So, DM software is already available on the MCU+SDK.

    C:\ti\mcu_plus_sdk_am62ax_09_00_00_19\source\drivers\device_manager

    Regards,

    S.Anil.

  • Hello S.Anil.

    Can you please confirm if you are trying to configure UDMA on the DM R5F core?

    Yes, We are trying to configure UDMA on the DM R5F core. (ID: 1255121.)

    Typically, when the SCI client returns an error, to debug the issue further, we need to enable DM log. So, that DM core will print some DM logs, and after there are some scripts in the MCU+SDK, if we feed those log data to scripts, it will show exactly what the error is.

    We have already enabled DM logging(only Resource Management) and checked the logs. The parsed log content at the time of the error is attached in thread ID: 1255121.  However, we could not determine the cause from the log contents. Can you please tell me the correct way to do this?

    I am assuming that the DMA channel allocation query should go to the DM firmware. So, DM software is already available on the MCU+SDK.

    Sorry, my question was not accurate.

    The correct question is "Can you provide the source code for the DM firmware?"

    Regards,

    T.M.

  • Hello T.M,

    Currently, there are no examples available on the DM R5F core in MCU+SDK, and if you share your DM R5F example CCS project, we will first try to figure out the issue from our side.

    Regards,

    S.Anil.

  • Hello T.M,

    We can do one thing already the UDMA example is available on AM62X DM R5F, and similarly, we have to do it in AM62A as well.

    C:\ti\mcu_plus_sdk_am62x_09_00_00_19\examples\drivers\udma\udma_memcpy_interrupt\am62x-sk

    Can you try to follow the above steps?

    Regards,

    S.Anil.

  • Hello Anil,

    Double checking on "Currently, there are no examples available on the DM R5F core in MCU+SDK". Can you elaborate a bit more?

    There is an RPMsg project with builds for both MCU R5F and DM R5F here:
    mcu_plus_sdk_am62ax_09_00_00_19/examples/drivers/ipc/ipc_rpmsg_echo_linux/am62ax-sk$ ls
    c75ss0-0_freertos mcu-r5fss0-0_freertos r5fss0-0_freertos

    Or were you talking about something else?

    Regards,

    Nick

  • Hello T.M.,

    Can you please confirm whether you are asking about AM62x, or AM62Ax?

    Thanks,

    Nick

  • Hello Nick

    Can you please confirm whether you are asking about AM62x, or AM62Ax?

    I’m using AM625(SK-AM62 EVM) on this question.

    Regards,

    T.M.

  • Hello

    S.Anil.

    Currently, there are no examples available on the DM R5F core in MCU+SDK, and if you share your DM R5F example CCS project, we will first try to figure out the issue from our side.

    Thanks. We will send you the CCS project as soon as it is ready.

    We can do one thing already the UDMA example is available on AM62X DM R5F, and similarly, we have to do it in AM62A as well.

    We have already evaluated the Memory to Memory transfer sample.

    But, what we are trying to do is a Peripheral to Memory transfer(CSI_RX_IF to DDR).

    Regards,

    T.M.

  • Hello T.M,

    I thought you needed a basic example of how to transfer data from memory to memory on DM R5F.

    So, I asked you to share the CCS example to support the UDMA example for basic operations from memory to memory.

    And CSI support is not recommended to implement on DM R5F, and we will not support this driver implementation on DM R5F.

    Sorry for the inconvenience.

    Regards,

    S.Anil.

  • Anil,

    Would you please tell me the reason why we will not support for implement for CSI on DM R5F? 

    >CSI support is not recommended to implement on DM R5F, and we will not support this driver implementation on DM R5F.

    Regards,

    Shinji Nishio

  • Hello Shinji Nishio,

    We recommend not using the DM R5F core for user applications, and the DM R5F core should be used for DM applications only. like reset, clock, and power control to the SOC.
    The same approach we are following for almost all AM6X devices.
    Regards,
    S.Anil.