LG Washer flashing multiple codes

I have a LG front load washer(WM2101HM) flashing multiple codes OE & dE. I replaced the washer pump & the door lock switch, but did not help at all. When turning it on it will run for about a minute the flash dE, will turn it off and start over in another minute it will flash OE. Do I need to replace the electronic control board? any help would be greatly appreciated. Thanks