Forum Discussion
Altera_Forum
Honored Contributor
10 years agobased on conventional knowledge if you have common ground and use open drain in saturated state (letting current to flow through it) and having an external resistor; -it will drop let's say 3.3volts across a resistor even if your fpga bank vccio is 1.8 or something else. so your uC will see that branch with resistor as 3.3v . this is as far as my knowledge gets me so be careful there might be some other considerations to take in count.
but i fear you mess things up a little bit. INIT_DONE is a 2 CMOS pin.fpga's pullup transistor is saturated when pin delivers current, and it's lower transistor is saturated when pin sinks current. (https://www.altera.com/en_us/pdfs/literature/hb/cyc3/cyc3_ciii51007.pdf page 11) now imagine if you hook up INIT_DONE to the open drain COMS output: when from fpga a "1" will enter into your open drain transistor gate, it will saturate and sink current that is present on the pin; your external resistor will drop 3.3volts across it. but what will happen if fpga sends 0 to transistor's gate? it will become high Z. and the pin will basically disconnect itself from circuit. so your resistor will never have a "0" state. that uC on the other end will see either 3.3v or high impedance. but never 0. i can't imagine how is it possible to use an IO signal with open drain configuration. from what i can imagine in order to achieve the goal in your way, with open drain, only solution seems to be is to connect 1 more resistor parallel to that fpga pin. and another end to vcc. like two resistors, one will come from your uC and another from vcc. when Open Drain is saturated, all the currents from uC and vcc will sink into the fpga pin. across the external resistors of cource. and your uC resistor will have 3.3v drop across it. but when fpga Open drain cloases and cuts itself off the circuit; only circuit that can supply current to your uC will be that vcc resistor. it's called pull up resistor configuration. so your uC pin will not see high impedance it will see 3.3 input. and uC external resistor will have some voltage drop but in opposing direction. ...i guess......... ...hmmm. am i missing something?