• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » C6000 Single Core DSP » C67x Single Core DSP Forum » TMS320C6727B : EMIF bus utilisation with three devices connected
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

TMS320C6727B : EMIF bus utilisation with three devices connected

TMS320C6727B : EMIF bus utilisation with three devices connected

This question is answered
Ashwin5763
Posted by Ashwin5763
on Oct 22 2008 03:00 AM
Prodigy70 points

Hello,


We are using the deivce TMS320C6727B. As per design, three devices connected onto the same EMIF Bus viz. Flash(16-bit), FPGA(16-bit), SDRAM(32-bit).

Following are the two transfers on EMIF Bus,
1) Application will be residing in the Flash and at Boot-up it needs to be transferred to SDRAM. And the code execution will be done from SDRAM. So the program access will be done by the CPU. This will use the bridge BR3 of the crossbar switch.
2) Application needs to periodically transfer data from FPGA to SDRAM. This will be a two-stage transfer i.e. from FPGA data will be transferred to DSP internal memory and then from internal memory to SDRAM. This will use the bridge BR4 of the crossbar switch.

The EMIF Bus being common in both the transfers, will it cause any problems. We would like to know how that is there any bus arbitration that can help when these two transfers occur simultaneously as both the devices are connected onto same EMIF bus.

Is any similar implmentation being done earlier by anyone?

Regards,
Ashwin.

EMIF
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • TimHarron
    Posted by TimHarron
    on Oct 22 2008 10:25 AM
    Verified Answer
    Verified by clam
    Genius16720 points

    Ashwin
    The EMIF Bus being common in both the transfers, will it cause any problems.


    There should not be any inherent problems in transferring between two external parts on the EMIF bus. I would like to know how you have connected these three devices as there are only two Chip Selects on the C672x. I realize that the Flash is connected to CS2 and the SDRAM to CS0, but which Chip Select does the FPGA utilize?

    If using the dMAX to copy data from Flash or FPGA into L2, then from L2 to SDRAM there should be minimal issues. Note that if you are caching the contents of external memory that you may need to occasionally Invalidate and/or write-back to ensure that you are always working with current data.


    Ashwin
    We would like to know how that is there any bus arbitration that can help when these two transfers occur simultaneously as both the devices are connected onto same EMIF bus.

    The EMIF does not have any built-in logic to allow multiple devices to connect directly on the same Chip Select. If the FPGA and SDRAM utilize the same Chip Select, data will need to be buffered in internal memory and then sent back out in 2 stages as you have outlined above.

    For transfers from CS2 to CS0 (Flash to SDRAM) the dMAX can be used to automatically copy from one CS to the next without buffering the memory internally.

    -Tim

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------- 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ashwin5763
    Posted by Ashwin5763
    on Oct 23 2008 01:18 AM
    Prodigy70 points

     

    Our scheme is to connect both Flash and FPGA on the ASYNC 16-bit interface with chip select CS2. SDRAM is connected on 32-bit SYNC interface on EMIF bus with chip select CS0.

    Flash memory will be required only during the start, till the application program from Flash is copied to SDRAM. This process will happen only during Boot-up. After this FPGA will come into picture on the chip select-CS2. We have used one address line A20 to distinguish the access between FPGA anbd FLASH. During application execution, the data from FPGA needs to be transferred to SDRAM. Hence during Boot-up FLASH will be selected and during run-time, FPGA will be selected.

    Currently we are trying to manage the data to be transfered from FPGA to SDRAM in the DSP internal 256k unified Program/data RAM itself. If the data fits in less than 256k then there is no need to transfer data from FPGA to SDRAM.

    Hope this gives a fair idea about the system.

    Regards,
    Ashwin.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TimHarron
    Posted by TimHarron
    on Oct 23 2008 09:34 AM
    Genius16720 points

    Yes, this helps paint a better picture.

    With your setup I do not see any significant problems that you will run into. The copies between FPGA and SDRAM will probably not be extremely fast, but if your system can handle the transfer delays there should not be any other side effects I can see to deal with.

    -Tim

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------- 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use