Rafael Nadal insists he is at “peace” having given tennis all he had as he prepares for his final bow as a professional.