There are three slightly differing accounts of this exchange; Matt 16:23, Mark 8:33, and Luke 4:8. A harmonized reading of all three shows that Jesus was not referring to St. Peter as the devil. Satan simply means "adversary" and was an admonition to Peter to see the bigger picture and not further attempt to dissuade Jesus from His fate on the cross.
Peace be with you.
There's NOTHING that ROME hasn't spun; is there!
Matt 16:23 Jesus turned and said to Peter, "Get behind me, Satan (Satana)! You are a stumbling block to me; you do not have in mind the things of God, but the things of men." Satana
Definition: an adversary, Satan.
Now lets look at what other word Jesus could have used.
Antidikos
Short Definition: an opponent, adversary
But he didnt use a different word for adversary or any other word He could have used to indicate what He meant. He used the same word He used when addressing Satan himself.
Matthew 4:10 Jesus said to him, "Away from me, Satan (Satana)! For it is written: 'Worship the Lord your God, and serve him only.
Interesting that!