So many physical and psychological situations can cause
erectile dysfunction, in fact, that a man should consider brief periods of impotence to be as normal as having a cold. In your case has there been a diagnosis made or the cause has been identified for erectile dysfunction? Erection is caused by the action of muscles, blood vessels, nerves and hormones.
As you mentioned your hormone levels are in the normal range, other factors which influence erection need to be evaluated.