The control units can fail in any sort of way when one circuit becomes faulty. Thats why it is best to have a diagnostic check done on a diagnostic tool that can access all the functions of the auto box, read the live data to see what each component is registering, actuate the various units by remotely using the tool and programming.
Some garages will have the tool that can do this but whether the mechanic who is using it knows what he's doing then it could be a waste of money. You definitely do not have to go to a dealer and they will not repair yours anyway, they will just sell you a new one at huge cost.
So, get it on the tool, read the live data for the gear lever positions and see if it corresponds.