MicroCoreLabs / Projects

Ted Fried's MicroCore Labs Projects which include microsequencer-based FPGA cores and emulators for the 8088, 8086, 8051, 6502, 68000, Z80, Risc-V, and also Typewriter and EPROM Emulator projects. MCL51, MCL64, MCL65, MCL65+, MCL68, MCL86, MCL86+, MCL86jr, MCLR5, MCLZ8
372 stars 78 forks source link

[MCL65+] Lack of address bus voltage convertersion #14

Closed aleksander-martin closed 1 year ago

aleksander-martin commented 1 year ago

According to Teensy 4.1 specs all pins are not 5V tolerant. I have noticed that only data bus is buffered between 5V and 3.3V with two 74LVC573 latches. Address bus is connected directly which means 5V signals will reach Teensy inputs and can theoretically damage it. Moreover I have found that MCL64 version intended for Commodore C64 has buffers for both data and address bus. Could you please explain this?

MicroCoreLabs commented 1 year ago

The 6502 address bus is an output, so if there is no pull-up to 5V or another driver on the bus, a buffer is not needed. The Teensy's 3.3V output level will be recognized as a '1' by the receiving chips. The 6510 used on the Commodore 64 has address lines which need to go hi-Z and have multiple 5V drivers on the bus, so a buffer is needed.

aleksander-martin commented 1 year ago

OK :) Thank you for the answer!