Hi Tony! Long time no post!
Quote:
and would like to add a microchip eeprom that is SPI based [...] Anyone have experience or code on how to bit bang an SPI eeprom via a parallel bus (preferably Atari's)
Since I'm not Atari-literate, I don't know know how much good I can do you, but I'll comment anyway. I've used Microchip's I²C EEPROMs but didn't remember they had SPI ones, so I went and looked, and the biggest one I found was 128Kx8, the 25xx1024. I haven't used that one but I got SST's 25VF032 (4Mx8, but in the same family, and not much more expensive from Mouser) going recently, and just followed the data sheet and had no problems bit-banging it. This is in contrast to the 2
4256 and 24512 I²C EEPROMs which I found out the hard way (because it wasn't in the data sheet) that if you do a busy poll after setting the address, it resets the address! I know you shouldn't need to do the busy poll there, but I put it in one of my program building blocks to make other parts easier, and it had me stumped for quite awhile, wondering where my data was going.