3.3.4.2.2 AVR SPI Pinout

When designing an application PCB, which includes an AVR with the SPI interface, the pinout, as shown in the figure below, should be used.

Figure 3-17. SPI Header Pinout
Table 3-7. SPI Pin Mapping
AVR PORT PinsTarget PinsSPI Pinout
Pin 1 (TCK)SCK3
Pin 2 (GND)GND6
Pin 3 (TDO)MISO1
Pin 4 (VTG)VTG2
Pin 5 (TMS)
Pin 6 (nSRST)/RESET5
Pin 7 (not connected)
Pin 8 (nTRST)
Pin 9 (TDI)MOSI4
Pin 10 (GND)