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.

  • Resolved

CCS/EVMK2G: EVMK2G & CMB & MCASP

Part Number: EVMK2G

Tool/software: Code Composer Studio

Hi,

I could reproduce the same issue of MCASP failure during the audioAnalogLoopbackTest initialization, that was signaled by Rob in:

https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/655489/2423369

Given the jumper settings as per TIDEP-0088 (which BTW are labeled differently on the CMB board, as Rob pointed out J2=J3,   J6=J8,J7=J10, J8=J11), I could verify that the CMB board generates the MCLK, BCLK & LRCLK (e.g. works in master mode).

By checking the wiring mapping to the K2G as per TIDEP-0088, it looks like all the signals from the CMB ADC are connected to the SOC_MCASP1, except the MCLK which is connected to SOC_MCASP2AHCLKX (pin 48 of Audio Expansion connector). This doesn't look right to me. Could you please reproduce the issue, and suggest a solution.

Setup:

K2G Board rev D1.3

CMB: TDA-01454B (latest)

pdk_k2g_1_0_9

ccsv7

xdctools_3_50_04_43

Thank you,

Adrian

  • Hi Adrian,

    I've notified the RTOS team. They will post their feedback directly here.

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    Hi Yordan,

    I would appreciate very much if you guys could help to sort out this issue.

    Best Regards,

    Adrian

  • In reply to Adrian Fratila:

    Adrian,
    Could you please try to run the demo with the previous version of the PDK v1.0.8 demo which you can download from here?
    software-dl.ti.com/.../index_FDS.html

    There was a bug reported with this demo (in PDK v1.0.9) that I wanted to see if you are hitting the same issue. Please try it out and report back. Thank you.

    There's a patch posted here as well https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/686993/2533646#2533646

    Lali

  • In reply to Lalindra Jayatilleke:

    Lali, Adrian,

    The mcasp_cfg.c file fix for cmb and audio pre-processing is slightly different as compared to the audio daughtercard anlog loopback. The TX_FIFO_EVENT_DMA_RATIO and RX_FIFO_EVENT_DMA_RATIO needs to be set to 1.

    I have attached updated mcasp_cfg.c file that we validated with CMB demo:

    5100.mcasp_cfg.c

    Regards,

    Rahul

    --------------------------------------------------------------------------------------------------------------------------------------
    Please click the
    This resolved my issue button on this post if the responses on this E2E thread answers your question.
    --------------------------------------------------------------------------------------------------------------------------------------

     

  • In reply to Rahul Prabhu:

    Hi Rahul / Lali,

    Thank you for your support. I am writing to confirm that the provided patch: 5100.mcasp_cfg.c builds and works as expected along with pdk_k2g_1_0_9, on CMB  &K2G EVM.

    Kind Regards,

    Adrian

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.