7. Error Codes
Error Code Table
Here are all SAMD51 error codes along with a description of the error.
Name
Error Code
Description
DE_NONE
0
Indicates no error.
DE_SW_FAILURE
1
Indicates software error with proper error message string like “SPI INITIALIZATION FAILED “. It is implemented for SPI Init, SPI Read and SPI Write.
DE_INVALID_PARM
2
Indicates the passing of invalid input parameters to the Functions with Proper error message strings like "INPUT ARGUMENT CANNOT BE NULL”, "INVALID DIO PORT NUMBER SPECIFIED. VALID VALUES: 0 - 1", etc..
DE_OPERATION_TIMED_OUT
3
Indicates SAM is busy (To check the Busy condition of SAM).
DE_HW_NOT_SUPPORTED
4
Could not perform requested operation on this board
DE_HW_FAILURE
5
Indicates hardware error.
Last updated
Was this helpful?