It's very strange that such a huge power like Spain in the XV century never invaded Portugal. They were allied with the British and it would've been a great gate towards Americas
hi! hopefully someone can drop by with comments on the issues raised here, but meanwhile, you can get started with the FAQ
... and a few additional comments
Could you possibly elaborate slightly on your question? Portugal was effectively under Spanish rule during the Iberian Union from 1580-1640. Are you asking why it didn't last?