This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]