ICSP, Atmega128 Question...

Thread Starter

midnitrcr

Joined Oct 16, 2006
4
I'm working on a project that interfaces a SD/MMC card to an Atmega128 via the SPI interface (MISO, MOSI, etc... pins) and just found out that the ICSP header uses the same ports.

What is the easiest way of including both in my circuit? I'm assuming both cannot be used simultaneously...
 

hgmjr

Joined Jan 28, 2005
9,029
Greetings midnitrcr,

There are several techniques that can be used to provide your target ATMEGA128 with the ability to connect to either the ISP programmer or to your SPI communication bus.

The AVR Application note AVR910 (See figure 3) on the ATMEL website shows one of the simpliest ISP implementations.

hgmjr
 
Top