When we have hall sensors inside a BLDC to use as encoders for the processor, I saw some diagrams on web showing 3 output signals (open collector outputs, need external pull-ups to the VCC of processor). It is ok to use only 2 sensors and be able to control the motor properly? I have a situation where a have only 2 inputs... 2 signals of encoder is enough?
You need all three hall sensors.
You can infer the third phase by measuring the other two phases in a 3-phase sinusoid but that is because there are continuously varying so you can distinguish exact points in the cycle based on value, but the square wave of hall encoder outputs have flats (since it is a rectangular wave) so you cannot distinguish where the third phase is in the cycle by using the other two phases.