You asked:

can epididymitis cause erectile dysfunction

Sorry, I don't yet have an answer to that question.