Error found "Internal Errors 0x4000" in Mid flight

I am encountering the error message “Internal Errors 0x4000” during mid-flight, and after landing it shows:

“PreArm: Internal errors 0x4000 l:215 spi_fail.”

What is the root cause of this SPI failure error?

First try updating to latest stable firmware, 4.6.3 at this time, and see if the error persists.
Do you have any devices connected to an SPI connector?

Hi @xfacta
We have locked and validated ArduPilot firmware version v4.5.0 in our GCS, and we are not using any external SPI devices in the current setup.