Upvote:0
As stated by Timatic, the database used by Airlines:
Visa required, except for Nationals of Spain for a maximum stay of 90 days. [...] Nationals of Spain are allowed to stay for a maximum of 90 days during any 6 months.
So from the date of the first entry, from that date your time in Peru during the next 6 months cannot exceed 3 months. If it does, you need a residence permit.
183 days used to be the period for citizens of most countries, but has been abolished for Schengen citizens.