I have a Whirlpool Oven RF386PXGQ4 which has given me this error (E0 F2) code for a long time. I finally got fed up and search found a solution on this site. The cost for the part from Whirlpool, $289 for a key pad which was going to be the wrong color. I Felt abused by Whirlpool with the part costing half the cost of a new oven.
I took out the key pad and took it to a TV repair shop who found that there were 2 solenoids on the back of the panel which had bad connections
due to worn contacts. They cleaned the contacts carefully for $25.00 and my oven now works great.