linux-mips
[Top] [All Lists]

Re: Au1500 Chip Select

To: Gilad Rom <gilad@romat.com>
Subject: Re: Au1500 Chip Select
From: Pete Popov <ppopov@embeddedalley.com>
Date: Wed, 24 Nov 2004 09:57:38 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20041124143229.ADF81EB2E4@mail.romat.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041124143229.ADF81EB2E4@mail.romat.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Gilad Rom wrote:

Hello,

I am trying to implement a simple program which
Will be used to communicate with an I/O peripheral Over CS1 (Chip select 1) of the au1500.

I'm not sure I understand what you're trying to do. The chip select is setup by the boot loader or kernel, and you don't touch it anymore. The CS will get asserted/deasserted based on the addresses you're trying to access.

Has anyone ever attempted this? Could someone Point me to some sample code, perhaps? I am grepping
Through the kernel, yet having trouble locating
Chip-select specific code for reference.

Again, what sort of an example are you looking for? Setting up a chip select on the Au1x is nothing more than writing the appropriate values to the 3 chip select registers. Then you're done.

Pete


<Prev in Thread] Current Thread [Next in Thread>