D16A8 with PP5 A/T ECU code19/can't shift out of park

Car runs great and shifts fine with old ECU for the A6 but when I plug in the PP5-U50 I can't shift from park and the idle jumps between 800-1200. It also throws code 19 which is A/T lockup control valve, but no codes for the original ECU. Any thoughts?
Comments
Also, do some research to see if the A/T lockup solenoid is wired to the same connection on the PP5 ECU as it is/was on the PM6 ECU.