I made a simple circuit to turn a really messy 3.3V signal (far from square) I'm getting from a Bluetooth module into a nice clean & square 5V signal to be used by a micro controller.
I don't have the schematic handy, but you can see the detail from this board image:
The NTE922W is a comparator equivalent to the LM311.
The switching time in the datasheet is listed at 200ns typical.
This circuit works great at 9600baud however, at higher frequencies, the rise time on the comparator output becomes very rounded off and even at 57600 it never reaches a "flat" 5V.
Is there something I'm missing about the rise / turn-on delay of these comparators?
Thanks!