Hello guys,
Thanks for all the awesome replies!
I'll explain what I would like to do.
I have a Sega Master System, you know, those 8 bit game console from 1989 or so. The games are in those big cartridges.
I want to have some sort of a rewritable cartridge via USB.
The CPU (Z80) works at 3.5MHz, it needs 2 clock cycles for an opcode read from ROM and 3 clock cycles for a data read or write from ROM/to SRAM.
I basically need to make a link between the Z80 CPU and the "ROM" (I'll probably use flash).
The CPU only has 16 address lines so only 64kB can be accessed, but most of the games have a mapping chip. Those mapping chip makes it so you can access up to 1MB of data.
I know 5V is oldschool, but the console itself is oldschool. I can't just change the voltage to 3V3.
I assume there's some timing constraints on all 30 pin ssuch that io expansion isn't a viable solution?
You are correct.
On the STM32 family, many I/O pins are 5V tolerant, so you can connect a 5V logic input to them directly. You may also find your connected device will accept 3.3V as a valid logic '1'. Same also applies to PIC32.
I don't think I'll have 30 I/O that are 5V tolerant but I'll check it.
Try the STC10F/11F series:
- 40 I/Os, 1 UART (no USB, sorry)
- up to 35MHz 1T 8051 core
- 5V operation
Going to check this one, thanks.
You can try LPC series. the supporting compilers are also user friendly.
Don't know about these, I'm going to check them.
Some 18F PICs can run at 64MHz and some 24F and 32F can un at more than 80MHz. I believe these execute 2 instructions per second but I'm not sure.
I won't use PICs even though I like PICs. The fact they use 4 clock cycle to execute an instruction makes it too slow for the application.
Thanks again for all the replies!