Mate, a long shot here! Check your battery connections and earth cables.
My motor was doing some strange things. Go into limp home mode and the gauges would stop working. Almost always when I was skiing so I asked why, I am the heaviest, ski the hardest and need all 310hp to drag me out so the motor was always warm and worked hardest when I skied.
A full check of the electrics and I found the battery connections loose. Replaced these along with new cables for earth and positive and that specific issue is now resolved.