kenmore elite f1

hi…my clock stopped working on my kenmore elite oven…unplugged…waited…re-plugged and the f1 error code came on with beeping…found out the oven door was locked out also…trying to figure out if the problem will be the electronic clock/timer or the control panel assy,any ideas…they appear to be 2 different parts…thanks