A sinusoidal EM wave which length l is very great, hits a photoelectric device.
According to HUP, a sinusoidal EM wave with finite length l has a spectrum of frequencies which broadness is inversely proportional to l. So, if l is very great, the energy uncertainty is very low, and this, still...