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.

  • TI Thinks Resolved

DM3730 - BSL and CSL for DSP

Intellectual 325 points

Replies: 5

Views: 2583

Hi ti.forum users,

I have a basic question about OMAP3 platforms. I am using Mistral DM3730 EVM, I need to drive McSPI from DSP but i couldnt find any CLS and BSL for DSP side. All i found for ARM side. Where can i found CLS and BSL for DSP side of Mistral DM3730 EVM? Is there any McSPI sample project for DSP side?

  • There is no BSL/CSL for the DSP in DM3730.  Generally speaking the DM3730 was designed such that all peripheral control would happen from the ARM.  For example, if you look in the TRM at Table 5-3 "IVA 2.2 Interrupt Mappings" you will notice that the McSPI interrupt is not physically connected to the DSP.  In other words, the DSP is capable of writing to the SPI registers, but it's not possible to get an interrupt from the SPI.

    So you'd be swimming upstream to try and use McSPI from the DSP.  It's certainly possible, but there's not any code to get you started and it would have to be implemented entirely with polling.  The McBSPs and UARTs interrupts are connected to the DSP.  Can you use one of those instead?

    Brad

    ---------------------------------------------------------------------------------------------------------
    http://processors.wiki.ti.com/index.php/User:BradGriffis
    --------------------------------------------------------------------------------------------------------- 

  • In reply to Brad Griffis:

    Hi Brad

    I need SPI to connect a radar board and get radar signals, Radar board only support SPI so according to you we have to communicate with radar from ARM side. I think you are right. Can you supply a McSPI sample project for arm?

     

    Thanks for your help,

    Ahmet

  • In reply to Ahmet Caliskan:

    Here's a related wiki page:

    http://processors.wiki.ti.com/index.php/AM35x_McSPI_FAQ

    It links to the LogicPD AM3517 Board Support Library which would have some bare metal McSPI code.  Is that what you're looking for?  If you're looking for Linux drivers then I recommend starting a new thread in the Linux forum.

    ---------------------------------------------------------------------------------------------------------
    http://processors.wiki.ti.com/index.php/User:BradGriffis
    --------------------------------------------------------------------------------------------------------- 

  • Hi Ahmet, Brad and others who read my post.

    I'm working on data acquisition device which uses DM3730 and one of the TI ADCs connected via SPI. The target works under WinCe 6.0 on ARM + DSP BIOS on DSP.

    On the ARM side it is hard to handle DATA_READY(connected to GPIO) interrupts on rates above 1KHz so I am thinking to implement SPI data transfer by polling on the DSP side. Unfortunately, when I tried to read McSPI module registers from dsp I get some garbage instead of the proper values. It seems I configured MMU properly, similar configuration works right for I2C.

    Would you please share your experience on accessing McSPI? Is it needed to configure L3 and L4 interconnects specifically for McSPI.

    Some working code or even hits are welcome!

    Thanks you in advance

    Sergey

  • In reply to Sergey Venkov:

    Sergey/anyone else,

    Any luck on reading the McSPI registers from the DSP?

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.