Difficult to say without evaluation.
However, if there is concurrent depression as well as thoughts of suicide, you should see a physician or psychiatrist to discuss this. Depression can certainly affect sexual function.
With the testosterone being normal, that would eliminate hypogonadism as a cause.
You can also consider vascular studies to evaluate blood flow to the penis.
These options can be discussed with your personal physician.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Kevin, M.D.
http://www.straightfromthedoc.com