hi all new to the forum have read many threads, i have a MY2000 wrx type ra with a j2 to ecu

i resently rebuilt an engine and fitted it, it was from an older car and is an ej20 and mine was a ej20g although i dont think it relates to my problem

wich is i have no spark and no live to the cam sensor and cam sensor code 13 i have fuel going through i am having trouble finding wiring diagrams however the ones i have found show both wires comeing from ecu so i have tryd one with no luck,

any help atall will be great as i just want to drive my baby agen, thanks