I have seen the small single wire break right at the connector with the insulation still keeping it connected. I would start with making sure the connector/wire is good. Give the connector a tug. If it breaks you found the issue. This wire issue will set a code and put the charging light on. If the circuit and alternator tests good it would be the PCM.
let me know what you find