- PC -+ +- AVR - | | MISO |------------<---- | MISO | | MOSI |------------>---- | MOSI | | | | +-- | _SS | | SCK |------------>---- | SCK ------+ +-------
Receive & transmit from target, setup is sck rising edge
7 6 5 4 3 2 1 0 ____________ ___ ___ ___ ___ ___ ___ ___ ___ MISO (trg)_____/ \_X___X___X___X___X___X___X___X___\___/\_________ . . ________________ ____________ SS (pc) \_____________________________________/ . . . . . ______________ . _ _ _ _ _ _ _ _ ________________ SCK (pc) ______________\___/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/________________ . . . . . . . . . . . . . . . . . . . . . . . .....0....1.2.3.2.3.2.3.2.3.2.3.2.3.2.3.2.3.2..4....5... [A] [B] [C] [D]
Command packet host<->target
\
|
Character sent by target to indicate that it is switching to monitor mode.
|
|
Sent by target to indicate that it is in receive mode.
|
|
Byte sent when monitor have no data to send Must be zero since the shift register is filled with zeros after a transfer |
|
Command to monitor in target.
|
|
Monitor run mode.
|