So I am trying to interface a p-channel open drain output with the enable pin of the TPS57160-Q1.
I have another module that has a p-channel open drain output that works as follows: When the TPS57160-Q1 should be active, the output of the other module is about 40V, when it should be disabled, the output is floating.
Now for the EN of TPS57160-Q1 to work, I think I would need an n-channel open drain output.
Can I just use a voltage divider from the 40V p-channel open drain output to the EN pin of the TPS57160-Q1 in such a way, that there is about 3V when it should be active, and pulls the pin down to GND when it should be disabled? I am not sure if this is going to work, because I am not completely sure how the "pullup current source" mentioned in the datasheet of the TPS57160-Q1 is constructed.
Is this the correct method or are there other ones? I only have a 40V rail (same as VIN of the TPS57160-Q1), GND and the output of the other module as possible inputs.