I've got an ATtiny1617 running on 3v. I have a 5.1v digital signal which from a proprietary protocol which transitions between 2.1V low and 5.1v high. I want to feed this into the attiny as a digital input.
My current thought was to feed the signal through a voltage divider before feeding the voltage divider output to a LMV331 comparator. However, I can't see any specifications on the LMV331 datasheet to allow me to work out whether this will be OK for the required signal speed.