This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ARM - AT91 - SPI
- From: Sebastian Block <SebastianBlock at gmx dot net>
- To: ecos-discuss at sources dot redhat dot com
- Cc: Savin Zlobec <savin at elatec dot si>
- Date: Mon, 8 Nov 2004 11:33:51 +0100
- Subject: [ECOS] ARM - AT91 - SPI
Hi,
I think that there is an error in implementation of the function
spi_at91_transaction_begin(cyg_spi_device *dev) in spi_at91.c (Line 412)
HAL_WRITE_UINT32(AT91_SPI+AT91_SPI_CSR0, val);
Using other devices on the spi-bus is not possible.
Only the Chip on CS0 is supported, because even if you write to another
device-number the generated baudrate and signal mode is only for chip one.
Regards
Sebastian
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss