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.

AM62A7: DMA questions

Part Number: AM62A7

2023-11-13: combining multiple questions about AM62A DMA into a single thread.

Dear team,

1) Would you please share how to set DMA register w/ TISCI? Sample code is best.

2) would you please share the sample source code and how to use BCDMA split Receive Channel for CSIRX? Sample code is best.

3) Would you please tell us the meaning of PSI-L and provide the material to understand the image and explanation? 

4) Would you please share how to monitor the working staus of DMASS PSI_L? We think that the device has the register to monitor the status.

5) Would you please share how to monitor the working staus of DMASS BCDMA? We think that the device has the register to monitor the status.

6) would you please shrare how to use BCDMA? We need register intro or sample source code?

7) Would you please share how to use BCDMA_DBGADDR、BCDMA_DBGDATA?

8) Would you please share the DMA register and sequence for CSI_RX/DPHY? 

Regards,

Shinji Nishio

  • Part Number: AM62A7

    Dear team,

    My customer found the error due to IRQ. would you please provide the answer to the following questions?

    Status
    we think that we issue TISCI_MSG_RM_IRQ_SET command when interrupt for DMA complete.
    Found the fail code to TISCI_MSG_RM_IRQ_SET after reload the applicaion at debug.
    As analysis, issue TISCI_MSG_RM_IRQ_SET second time because sub processor is not reset at reload.
    At this situation, we have to power off to recover. This will be big issue.

    Concern and question
    Would you please tell us how to resolve the issue?
    This issue is IRQ command, but would like to know whether the same issue find by using the other command or not.

    Regards,

    Shinji Nishio

  • Hello Shinji-san,

    These are a lot of very detailed questions. Before we start diving too deep, can you please provide some information about the overall design? What exactly is the customer trying to do with the DMAs?

    Regards,

    Nick

  • Nick,

    Customer will use the yellow and red circle.

    Let me know if you need more information.

    Regards,

    Shinji Nishio

  • Hello Shinji-san,

    Thank you.

    There are a number of questions.

    if you could add separate E2E queries based on the peripheral or specific topic, that would help in review or assigning to the right expert.

    Could you please review the questions and try to split them into E2E threads specific to a peripheral or topic.

    Regards,

    Sreenivasa

  • Hello Shinji-san,

    Looks like you could add a E2E query for every question or every 2 questions.

    Please review and separate the queries accordingly to reach to the experts with minimum delay.

    Regards,

    Sreenivasa

  • Hello Sreenivasa,

    I actually created this single thread from 9 different e2e threads, since many of the threads seemed to be related. Do you have a specific way that you want the questions to be grouped?

    Hello Shinji-san,

    The blocks are a good starting point, but they do not answer what the customer is actually trying to do.

    What is the usecase? 

    Where is the DMA taking information, and where is it putting information?

    Which core is initializing the DMA?

    For example, if the customer is trying to use DMA to take in a video stream and pass it to a core which will process the data with an edge AI algorithm, that might be something that already just works out-of-the-box. If that is the case, there is no reason to do a deep dive on how to modify the DMA settings.

    Regards,

    Nick

  • Hello Nick, 

    Thank  you and noted.

    My thought was adding replies for all the questions could make the thread big.

    I am not sure which questions i have to answer etc.

    The questions below seems to be covering 4 topics although relevant.

    1) Would you please share how to set DMA register w/ TISCI? Sample code is best.

    4) Would you please share how to monitor the working staus of DMASS PSI_L? We think that the device has the register to monitor the status.

    5) Would you please share how to monitor the working staus of DMASS BCDMA? We think that the device has the register to monitor the status.

    6) would you please shrare how to use BCDMA? We need register intro or sample source code?

    7) Would you please share how to use BCDMA_DBGADDR、BCDMA_DBGDATA?

    2) would you please share the sample source code and how to use BCDMA split Receive Channel for CSIRX? Sample code is best.

    3) Would you please tell us the meaning of PSI-L and provide the material to understand the image and explanation? 

    Regards,

    Sreenivasa

  • Kallikuppa,

    Thank you for your answer. But unfortunately we are confused which answer is to be allocate to customer questions?

    Would you please provide the answer 1 by 1?

    By the way, my customer will use the DMA for data transfer from FPGA w/ camera input .

    Let us know if you need the other information.

    ---

    1) Would you please share how to set DMA register w/ TISCI? Sample code is best.

    4) Would you please share how to monitor the working staus of DMASS PSI_L? We think that the device has the register to monitor the status.

    5) Would you please share how to monitor the working staus of DMASS BCDMA? We think that the device has the register to monitor the status.

    6) would you please shrare how to use BCDMA? We need register intro or sample source code?

    7) Would you please share how to use BCDMA_DBGADDR、BCDMA_DBGDATA?

    2) would you please share the sample source code and how to use BCDMA split Receive Channel for CSIRX? Sample code is best.

    3) Would you please tell us the meaning of PSI-L and provide the material to understand the image and explanation? 

    Regards,

    Shinji Nishio

  • Hello Shinji-san,

    Thank you for the inputs.

    Thank you for your answer. But unfortunately we are confused which answer is to be allocate to customer questions?

    https://software-dl.ti.com/processor-sdk-sitara/esd/am64x/latest/exports/docs/rtos/pdk_am64x/docs/pdk_introduction.html

    /cfs-file/__key/communityserver-discussions-components-files/791/Migrating_5F00_Applications_5F00_from_5F00_EDMA_5F00_to_5F00_UDMA_5F00_using_5F00_TI_2D00_RTOS.pdf

    Referring to the TRM  +  walking through the source code could be a good starting point.

    This is generic and applies to multiple questions.

    Most of the queries you have is described in the TRM.

    I have reached out to the team internally to check if we have any other information to support.

    Based on the initial inputs, the recommendations is to refer the above documents.

    Regards,

    Sreenivasa

  • Shinji-san,

    Per our discussion from this morning, Sreenivasa has provided the information requested in this thread.

    The questions that are being asked are detailed and do not have a simple answer, but between TRM and the app notes/training information that Sreenivasa has linked there should be adequate resources for the customer to be able to idenitfy how to use the DMASS resources.

    Please request the customer to review the provided information and trainings and if there are follow up questions please explicitly post them.

    Thanks,

    Chris