AVR1309:
The control lines are SCK (SPI Clock) and SS (Slave Select). If
SS is used, the master selects a slave device by pulling this line low,
and supplies the
clock signal.
Das besagt ganz klar "If SS is used" also scheinbar kann man das auch
weg lassen. gibt es da irgend eine SPI Konfigurationsmöglichkeit ide SS
abschaltet?
3.2 The SS Pin:
If the SPI module's SS pin is configured as input, the function is like
the first option
above. This SS input function is controlled from the SPI module
hardware, and the SS
pin must be held logic high to ensure master SPI operation. If pulled
low by other
master(s) using the SPI bus, the SPI module will avoid bus contention by
entering
slave mode and consequently not driving the SCK and MOSI lines. Entering
slave
mode is signaled by setting the SPI interrupt flag, generating an
interrupt if enabled.
Configuring the SS pin as output enables the two last typical options,
both controlled
from software and not affecting the SPI module operation. The SS pin is
no different
than any other GPIO pins when it is configured as an output.
Wenn ich das richtig verstehe;
Wenn ich den SS Pin auf low bringe, arbeitet er als Slave.
Kann ich hier den SS Pin auch permanent auf Low bringen?
Was geschieht mit dem Interrupt in dem Fall?
(Es ist nur ein Master und ein Slave an dem SPI Bus)