Hi,
51.5µA corresponds to STOP1 with the RF block ON.
In the datasheet, the consumption of STOP1 mode (0.5µA) is given for STOP1 with LF and RF blocks disabled. Enabling one of these blocks (they must not be enabled at the same time) will take additional current.
In the Starter Project, at the beginning of the main, there is the function vfnSetupMCU();
The body of this function is:
/* enable bandgap for V, T measurements, enable stop4 mode */
SPMSC1 = SPMSC1_BGBE_MASK | SPMSC1_LVDE_MASK | SPMSC1_LVDSE_MASK;
/* enable STOP mode, Enable RFM, disable COP */
SIMOPT1 = (SIMOPT1 | SIMOPT1_STOPE_MASK | SIMOPT1_RFEN_MASK) & (UINT8)(~((UINT8)SIMOPT1_COPE_MASK));
Setting SIMOPT1_RFEN_MASK to 1 will enable the RF block. This bit is not cleared by reset or when going to STOP1. In order to disable the RF block just clear this bit and you will find a current consumption of 0.5µA in STOP1.
I hope it helps.
Regards,
Tomas
PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.