If there is not mentioned specially in the datasheet, generally we have the following unused pin recommendations:
DIGITAL INPUT RECOMMENDATIONS
For unused inputs that are muxed with GPIO :
- Configure pins to be GPIO.
- Configure pins to be inputs.
- Make sure the internal pull up resistors are enabled.
For unused inputs that are not muxed with GPIO pins :
- Connect each pin with a 10K Ohm resistor to ground.
ANALOG INPUT RECOMMENDATIONS
For unused oscillator pins :
- Leave pins floating.
- Make sure that clock is disabled in the clock register.
DIGITAL OR ANALOG OUTPUT RECOMMENDATIONS
- Leave the unused output pins floating