Hi Ch C,
For hardware immigration, yes, they both support SPI, UART and I2C host interface, for software, it depends on your target application, I could not tell more as I need more details from your side. What are you going to use PN512 for? Thanks for your patience!
Best regards,
Kan