[ECOS] ARM - AT91 - SPI

Sebastian Block SebastianBlock@gmx.net
Mon Nov 8 11:14:00 GMT 2004


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



More information about the Ecos-discuss mailing list