LG WKHC152HWA troubleshooting P5 error code

Brand: LG
Model Number: WKHC152HWA
Main Symptom: Won’t start
What happens & when:

Error Code (if any): P5
Parts or tests already tried: Have an LG WKHC152HWA stackable washer/dryer about a year and a half old. The dryer would not start and had a P5 error code a few months ago. Shut off breaker for awhile and it seemed to resolve the issue. Same problem again, turning off breaker will not fix it this time. There is a constant clicking noise coming from the right side of the dryer when the breaker is on, whether the dryer power button is on or off. Can’t find repair videos for this specific model. Research suggested most common problems are likely control board, thermal fuse, or blown motor. I replaced the larger of the two control boards, the one on the right side - there is one mounted to the top of the dryer frame on both the left and right sides. Did not fix it. I have it completely torn down now, have tested the motor and it seems fine, cannot locate anything that appears to be a thermal fuse.
Photos / video link:

P5 is power cord miswire code, but if that’s all correct at the terminal block with proper voltage, grounding, and polarity then you most likely are looking at a control board issue.

What is the part # of the board that you replaced?

The installation was performed by a professional contractor about a year and a half ago, so I believe the wiring and connections were all installed properly and when I was taking everything apart it all seemed as it should be and properly grounded. That said, I will check the voltage at the outlet. The control board seems more likely given that a reset (breaker shut-off) solved the problem a few months ago but doesn’t this time.

I replaced control board EBR3657, pictured here:

Here is a picture of the other control board:

I am not sure which one control the dryer or if both do.

The smaller one is the actual main control board EBR33073313 for the dryer, the one that has been replaced is the inverter board.

https://www.appliancepartspros.com/lg-pcb-assembly-main-ebr33073313-ap7223186.html