The logic board is called the ERC, which stands for Electronic Range Control. This board contains the digital clock. There is also a membrane keypad. In some models, the ERC is separate from the keypad and connected with a ribbon cable. This connection is often the source of problems; the contacts are quite sensitive to being loose or any little oxidation. Sometimes just simply wiggling a connector may clear up the error code.
If you have an oven with a keypad separate from the ERC and you are showing a “stuck keypad” code, disconnect the keypad from the ERC (with power on the board) and wait two minutes. Then plug it back in and see if the code clears. If so, the problem is probably in the board. If not, the problem is probably in the keypad.