Shutting down eeprom with mosfet switch.
Basher
Posts: 25
Can anyone see an obvious problem with using a switch made from a couple of mosfet transistors to shut down the power to the configuration eeprom after it has booted up the propeller thereby freeing up pins 28 and 29 as inputs. I'm a bit concerned that feeding signals to the eeprom's pins while it has no power might damage it or that it might still interfere with the signals I'm feeding to the prop. I remember spending hours troubleshooting an intermitant problem with a breadboard circuit once before I realised that I hadn't connected up the power pin of a cmos logic ic. It seemed that as long as one of the inputs was high it would draw its power through that input and the circuit would work but when all the inputs were low there was no power and I got odd results. Is the eeprom likely to do the same kind of thing?
Comments
If you leave pin28 (clock) high all the time, you should be able to use pin29 pretty safely.
I tend to plan my projects by looking to see what components I have the most of in my parts draws and I've got a LOT of tiny surface mount mosfets because I had to buy a minimum amount. .
I see I've also got a few 74HC4066N's so I'll try using one of those. If I'm switching off the data lines do I actually need to switch off the power to the eeprom would it save much power?
I want the address bits to be in order so I can manipulate the address easily once in the propeller. So I'd have a spare pin I'll need it for the analogue switch as well, but I'll need pins 31, 30, 29 and 28
EDIT: I see you've just posted some details, good.
This is a bit of a side project to one I've been working on for about 2 years now. I've built a clone of the sinclair zx spectrum using the propeller some Altera cpld's and a 7 inch LCD screen I pulled out of a cheap photo frame. The propeller uses the z80 refresh period to read the display memory and output VGA and a pixel clock signal through a CPLD to the screen. I'm now making a tidier version with a larger CPLD for a lot of the logic.
What I want to do now is just use the display driver part (propeller and small CPLD's) to monitor a real zx spectrum's address bus and memory write signal to capture each write to display memory and process it in the propeller. I want as many instructions as possible to work on the data inside the propeller before it goes out to the LCD. I'm aiming to remove some of the attribute clash problems the spectrum was famous for. I don't want to waste instructions shifting bits if I can get the address into the propeller on pins that will make it instantly usable.
Cluso99 used this trick on his RamBlade board:
http://forums.parallax.com/showthread.php?116893-RamBlade-Prop-SRAM-microSD-addon-to-run-ZiCog-CPM-PropDos-Catalina-etc
I'm not sure what he used to isolate the eeprom, but most probably it's some single TTL gate from the "little logic" series.
-Phil