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.

Accessing ADC directly from TMS320C6748 in an OMAPL138 processor

Other Parts Discussed in Thread: TMS320C6748, OMAPL138, MSP430F5529, OMAP-L138

Hi Experts,

There is a real-time requirement for our application (digital Stethoscope) .  From what i've seen, the TMS320C6748 can be connected to a ADC. My question is - can incoming analog data be directly accessed by the TMS320C6748 by bypassing the ARM processor. Since there is a real time constraint  we would like the TMS320C6748 to directly have access to the ADC and process the signals before it transfers control to the ARM processor for control operations or should the ARM processor always function as Master over the TMS320C6748? 

Thanks a lot

Smita

  • Hello Smita,

    I hope you are using TMS320C6748 SoC for your application. In that case, the SoC doesn't have ARM processor rather it has only DSP processor. 

    OMAPL138 - ARM + DSP processors

    C6748 - DSP Processor

    Yes, you can interface ADC directly to TMS320C6748 through any interface supported by your ADC.

     

    Regards,

    Senthil

  • Hi Senthil, 

    Thanks for the information. 

    Yes, we were considering using OMAP-L138 simultaneously (instead of going in for a TMS320C6748 + MSP430F5529 microcontroller). But we have a real time requirement of accessing heart sounds and it being displayed on an LCD in real-time. I was wondering if  the TMS320C6748 can be directly connected to the ADC and after processing pass the data to the ARM for display on LCD. So could you please tell me if such a set up is possible (Basically using TMS320C6748 as Master  and ARM as slave in the OMAPL138...can the TMS320C6748 and ARM interchange their roles as Master / Slave). Also, we would like to use the DSP only for computationally intensive tasks, so we would like to connect the LCD to the ARM. 

    Thanks a lot for your suggestions and help!

    Warm regards

    Smita

  • Hello Smita,

    When you are using OMAPL138, you have an option to run both ARM and DSP cores simultaneously. Having this feature, you can get the data from ADC, process it in DSP core and display the content in LCD using ARM core.

    In my understanding, there is no master and slave setup between ARM and DSP cores. Both cores have the liability to access all peripherals and able to run its own application.

    Please refer the OMAPL138 starterware codes for better understanding.

    http://www.ti.com/tool/starterware-dsparm

    http://processors.wiki.ti.com/index.php/OMAPL138_StarterWare_Booting_And_Flashing#Booting_an_ARM.2BDSP_System

    Regards,

    Senthil

  • Hi Smita,

    Thanks for your update.

    It is absolutely possible for the TMS320C6748 to be directly connected to the ADC and you can develop your own DSP based application project to process data and later, you can pass the control data to ARM through establishing dsplink between ARM and DSP or IPC link to notify message from DSP to ARM such that, DSP intimate to ARM that it had finished processing data directly from ADC. Once ARM receives notify message from DSP via IPC, again, you can develop your own ARM application running simultaneously waiting for control data from DSP to display on LCD. This can be accomplished in ARM application polling for a particulart bit to set until the DSP sends the control data to ARM through IPC notify message.

    Also, there is nothing like Master/Slave mechanism on OMAPL138 and you are allowed to access independantly the ARM and DSP cores based on the application requirement you are developing for ARM or DSP correspondingly.

    Thanks & regards,
    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
  • Awesome...Thanks a lot  for your help Sivaraj and Senthil.