ingound poolpump circuit question
Im wiring a 1 HP 220v pool pump located next to my house and 25'+ from the pool water.My plan is to run 12-2 UM w/ground to a PVC junction box inside my unfinished bsmt before I punch outside.The pool pump circuit will come off the main(2 pole 20 AMP GFCI breaker) into a 2 pole Intermatic timer and run 40' to the junction box.
My question is can I switch over to THWN from the junction box go through the wall into PVC tubing down to the poolpump outlet(mounted on side of house),220 V 20 AMP rated twistlok receptacle and 3' SJ cord into poolpump motor?? The reason being is Id have to drill through the foundation to account for the 3' requirement of the cord.
Thanks for any responses