Цитата(dmelniko @ Mar 2 2007, 15:58)

Народ подскажите пожалуйста,
Имеем AT91M42800, на spi висят ацп и флешка, spi сконфигурирован как variable, для приема/передачи данных во флеш хотелось бы использовать pdc, но вот вопрос а как в режиме variable делать тогда чипселект между ацп и флешкой?
В pdc нужно выборку сделать 32 бит.
Цитата
The Variable Peripheral Selection allows buffer transfers with multiple peripherals without repro-
gramming the Mode Register. Data written in SPI_TDR is 32 bits wide and defines the real data
to be transmitted and the peripheral it is destined to. Using the PDC in this mode requires 32-bit
wide buffers, with the data in the LSBs and the PCS and LASTXFER fields in the MSBs.