Цитата(yura-w @ Jan 25 2008, 16:50)

чип выбирается прямо в регистре передаваемых данных: SPI_TDR
-а мне надо в скорости
-пока не нашел, продолжу на след неделе, может дадите ссылку?
Откровение от Atmela. Стих 41, стр. 640
Код
SPI: LASTXFER (Last Transfer) Behavior
In FIXED Mode, with CSAAT bit set, and in “PDC mode” the Chip Select can rise depending on
the data written in the SPI_TDR when the TX_EMPTY flag is set. If for example, the PDC writes
a “1” in the bit 24 (LASTXFER bit) of the SPI_TDR, the chip select will rise as soon as the
TXEMPTY flag is set.
Problem Fix/Workaround
Use the CS in PIO mode when PDC mode is required and CS has to be maintained between
transfers.
даташит с сайта атмела.