Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Jul 2005 04:32 PM by  mikea@logicpd.com
Chip selection
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
snair
New Member
New Member
Posts:


--
07 Jun 2005 04:21 PM
    Hello All,

    I am wondering what is the configuration setup that is required to select a particular bank of asynchronous memory like nCS0 or nCS1. I have nCS0 selected now...What would I need to do for selecting Bank 1 or nCS1

    Any suggestion would be greatly appreciated.

    Thanks,
    Sajiv
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    08 Jun 2005 12:06 PM
    I am not sure I understand your question, but if you are looking to use nCS1 to select an external device, the signal comes off the SODIMM connecter J1C pin 10. Any memory reads or writes in the range of 0x10000000 to 0x1FFFFFFF will select the nCS1 area and cause nCS1 to drive low based on the parameters defined in the Bank Configuration Register BCR1 at 0x80002004.

    Try rephrasing your question if this doesn't help.
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    13 Jul 2005 04:32 PM
    For those also looking to use an external device in memory area 1, you will want to remember that LogicLoader does not map all physical memory. You must use the 'remap' command to do this.

    losh> remap 0x10000000 0x10000000 0x200000

    Another note is to be sure you are setting up the BCR# register correctly for how you expect to use the area. For example, on reset, the BCR1 register does not allow proper writes to this area.
    For example, if I wanted a 32 bit, writable area, I would use:
    losh> w /w 0x80002004 0x2000ffe0

    Here are two decent application notes from Sharp, if you have questions about timing of the bus control signals and can't find it in their user guide or data-sheet. For timing details, the Technical Datasheet for the LH7A400 is your best bet.
    http://document.sharpsma....xxx_StaticMemory.pdf
    http://document.sharpsma....LH7A4xx_SMC-Diff.pdf
    http://document.sharpsma....atasheet_lh7a400.pdf

    Thanks,
    -Mike A.
    You are not authorized to post a reply.