chubby75 icon indicating copy to clipboard operation
chubby75 copied to clipboard

5a-75B turning outputs into inputs? also 5a-75e

Open fanoush opened this issue 4 years ago • 20 comments

Wondered how the outputs can be turned into inputs. On the 5a-75B when changing TC74VHC245 direction pin it would probably feed 5V into FPGA? so maybe powering from 3.3V instead of 5V would solve that? Does the board work when powered from 3.3 or can the vcc to TC74VHC245 be changed to 3.3V

Thinking about interfacing it with 5V CPU bus like the C64 cartridge connector.

BTW there is also 5a-75e https://www.aliexpress.com/item/32836510389.html having same Lattice FPGA and twice the connectors, also some listings like this one https://www.aliexpress.com/item/33010384708.html say "Wide working voltage range with DC3.3~6V." so maybe the output of that one is not 5V?

fanoush avatar Jan 25 '20 12:01 fanoush

A parasitic diode is formed between the bus and VCC terminals.Therefore, the VHC245 cannot be used to interface 5 V to 3 Vsystems directly.

Datasheet

Although there is a 33 Ohm resistor between the connector and the IC, I wouldn't really trust it to not put 5V on my 3.3V rail.

cyber-murmel avatar Jan 30 '20 22:01 cyber-murmel

My current plan is to have some PCBs produced to replace the IC and just bridge the connection.

image

cyber-murmel avatar Jan 30 '20 22:01 cyber-murmel

@cyber-murmel do you have the design somewhere? I was thinking of ordering some pcbs.

FFY00 avatar Jul 10 '20 20:07 FFY00

@FFY00 The problem with this particular design was that fabs generally don't accept castellated holes that small.

But I recently got around to design and install another version of this idea. This time with three plated through holes per pad to wick in / wick through the solder. just didn't come around to test it yet :/ image

cyber-murmel avatar Jul 11 '20 13:07 cyber-murmel

Hum, that might be a little bit difficult to line up. Let me know when you give it a try. Right now I think I can live with hand soldered jumpers on one or two chips.

FFY00 avatar Jul 11 '20 14:07 FFY00

Most of the holes aren't clogged from the fab. I found it easy to align them by looking through the holes and having the pads of the footprint behind it create a parallax effect. Like when you line up a stencil with a PCB.

cyber-murmel avatar Jul 11 '20 15:07 cyber-murmel

I also found, that a big single-flat soldering tip on powerful iron with lots of flux is easier to use, than hot air.

cyber-murmel avatar Jul 11 '20 15:07 cyber-murmel

@cyber-murmel Hey cyber-murmel, do you mind if I use that picture that you posted above in a presentation about FPGA board hacking? Tom

tomverbeure avatar Jul 11 '20 22:07 tomverbeure

@tomverbeure The picture above is under the Creative Commons Attribution-NonCommercial License

cyber-murmel avatar Jul 12 '20 03:07 cyber-murmel

I came up with these flex boards ordered from OSH Park: https://github.com/Disasm/hc245t-bypass With minor rework they can be soldered with a regular sodering iron and some flux.

IMG_20200830_165952 IMG_20200825_211245

Disasm avatar Aug 30 '20 14:08 Disasm

Sweet, just ordered a set, thanks.

derekmulcahy avatar Aug 30 '20 16:08 derekmulcahy

Also ordered, many thanks :blush:!

FFY00 avatar Aug 30 '20 17:08 FFY00

Thanks, I guess one just needs to not forget clicking "Flex" checkbox on ordering page (?)

fanoush avatar Aug 30 '20 18:08 fanoush

@fanoush yes! Non-flex boards will be useless.

Disasm avatar Aug 30 '20 18:08 Disasm

Nice! Just ordered a bunch of them as well.

tomverbeure avatar Aug 30 '20 18:08 tomverbeure

So just to undestand this correctly: with these bridges the inputs are directly wired to the fpga, thus they are only 3.3V tolerant?

jadafi avatar Sep 22 '20 08:09 jadafi

@jadafi Exactly.

Disasm avatar Sep 22 '20 08:09 Disasm

I might have found a way to get 5V tolerant inputs. I documented it on my github: https://github.com/kittennbfive/5A-75B-tools/tree/master/I_want_inputs

TL;DR: Replace (some of) the buffers with SN74LVC245APWR with some surgery to modify 2 connections on each IC.

kittennbfive avatar Sep 23 '20 19:09 kittennbfive

Speaking of IC replacement hacks, there is another option that involves SN74CBT3245APW bidirectional FET switches: https://twitter.com/Claude1079/status/1231194849350647808 Seems like it also requires additional hacks, but looks relatively easy.

Disasm avatar Sep 23 '20 22:09 Disasm

I have documented my modifications here: https://zeromips.org/posts/2022-05-29-5a-75b Involves flex PCB as well as SN74CBT3245APW.

eibach avatar May 29 '22 16:05 eibach