5
$\begingroup$

The development board for the touchscreen chip we got is too good ;)

The chip provides the readouts over I2C, passes it to FPGA (I could provide the model if I find a magnifying glass... but I'd prefer a more generic answer anyway) and the FPGA passes the data over RS232 to an FDDI which connects over USB to the PC.

Except I don't want the signal over USB or RS232, I need it in I2C.

There's a jumper that allows me to remove power from the FPGA, and there are convenient test points on the I2C bus which I can connect to the bus with my device, but the FPGA still remains connected.

What kind of problems/interference can I expect from it - present on the bus, unpowered?

$\endgroup$

1 Answer 1

6
$\begingroup$

It does, unfortunately depend a little on the FPGA itself.

But most cases that will probably not work, unfortunately. In many logic chips with programmable I/O type pins, the final stage looks a bit like this:

schematic

This is both a side-effect of the cheapest to make final stage and for protection.

Now if you turn off the power to that stage, the Vdd/Vcc voltage goes to 0V, so the top diode, D2, will conduct towards that. Since I2C is powered with resistors from the power rail in an open-collector type scheme, the diode will easily conduct those few mili-amps away, so damage is very unlikely, but the bus will never see a logic one.

If the FPGA is 1.8V or 2.7V or 3.3V itself, but 5V tolerant on the pins in question, the top diode will not be there and the problem may very well disappear, but other characteristics may still have similar influences. (JFETs that turn on because their biasing disappears at power-off, though highly unlikely, technically possible).


An option would be to break the traces and then (if you want the FPGA again later) to add decent analogue switches. Sometimes traces come along the board in such a way that a simple dual Analogue Switch can be dropped right across a gap you made with the scalpel. I've done that a couple of times. It's not something you'd design in, but for 400kHz I2C there are plenty chips that could do it and as an after-market mod, it's not even the ugliest you could think of.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.