Greetings fellow hackers,
I have run into another problem with my BASIC pocket computer project. I'm using a Atmega644v in it's own circuit. I've got it all soldered together and everything works apart from thing: The ICSP header. I put one of these in so that I can still update the software on the chip even when it's fitted into it's soon-to-be-printed 3D case. The problem is that when i hook up the 4 jumpers from the 6-way header to my arduino and try to upload code, I get the
Yikes! Invalid device signature.
error
My assumption is that the SD card is interfering, (link to SD board) since it is on the SPI pins as well. So my question is: Can anyone point my in the right direction as to how to have an ISCP header as well as other components on the same SPI bus.
There is a similar topic on this forum about the subject but it only has my response on it:
Problem using ICSP/SPI 6-pin header on DUE to interface with SD Card
I've also done a bit of googling and found this thread on the AVR Freaks forum which had some interesting info:
AVR forum - Can I reuse ISP pins for other tasks?(Target: Atmega164p)
I'm pretty sure my answer lies somewhere in there, but the bit relating the SD cards suggests putting in a pull-up resistor on the CS line.
You just make sure that each /CS has an external pull-up resistor. Whenever /CS is high, all the device pins are in 3-state.
Which doesn't make any sense to me seeing as there is no switch or button on that line.
It also talks about using isolation resistors,
they will need to be connected to that other function by way of a 4.7K (or something similar) isolation resistors.
but Adafruit says that you should not use resistro dividers on the 3.3V logic lines.
keep wires short, and avoid using resistor dividers for the 3.3V logic lines.
(are they the same thing?) They say to use a 4050, but there's another contradiction as the AVR Freak guys say not to use a 4050.
Since some bright spark chose to put the 4050 in the way
So as you can see, I'm a little confused and some clarification would be nice.
Any input would be appreciated.
Thanks in advance,
FactualOrc.