Hello,
Maybe you should rename the PE generated files that you have modified, and incorporate these into your project, rather than the standard PE ones.
If PE supports only polled SPI, I guess that you will have to write your own driver.
However, for SPI master applications with fast SPI clock rates, it is doubtful that you would need interrupts. The interrupt overheads are likely to be comparable with the polling delays. SPI interrupts are more useful for slow clock rates, or for SPI slave operation.
Regards,
Mac