On Tue, Oct 23, 2007 at 02:38:07PM +0200, Tom Deconinck wrote:
> Hi,
>
> I'm currently working on porting eCos to support the Atmel
> AT91SAM7SE-EK board. This board hosts the Atmel AT91SAM7SE512, which
> is very similar to the AT91SAM7S which is already supported. The main
> differences are the support for an EBI (external bus interface) to
> interface all kind of memory devices and the incorporated SDRAM
> controller.
> I'm using the normal eCos branch enhanced with the flash_v2 branch extensions.
>
> I was playing around with the SPI peripheral and an Atmel AT45DB041B
> and the dataflash driver. The AT91SAM7SE512 forces me to pick a
> certain SPI mode, so I configured the controller to use SPI mode 0
As far as i can remember, the SAM7 supports all modes and each device
can configure its own mode. What is the reason you cannot use the mode
the opcodes are valid for?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss