Subaru impreza Ej201 ignition DET3+ FI

Hello, i trying to install in my subaru this piggy back ecu, but this didn’t started.
Then i set in ignition configuration Subaru trigger, 6 tooth. Engine didnt started but program see 200rpm.
If i set in ignition configuration Retard non uniform signal, and Num signal per 720 is 6, engine starts and works, but rpm x2.
Oem ecu show rpm 670 but in digital tunner shows 1340.
How i can lower rpm?
Crankshaft sensor in 9 pin
To ecu is from 5 pin. I try from 4 pin, but is the same problem.
I have scope from my crankshaft