Hi @shai_b
Thank you so much for your reply.
Regarding the PINs for the SPI demo, they are the pins available (arduino compatible) that are mapped to the SPI0, and as demo example use SPI0, they are the PINs that you need to connect to run succesfully the Demo.
The code that I used for slave was dspi_polling_b2b_transfer_slave.c SDK example 2.5.0 version that you can download from here, selecting frmd-kl82z: https://mcuxpresso.nxp.com/en/select
The code that I used for master was dspi_polling_b2b_transfer_master.c SDK example 2.11.1 version, for frdm-k64f, but at the end, both boards manage the same pinout for SPI0 and examples from SDK are pretty similar and working succesfully.
Please let me know if you have more question, I will be happy to assist you.
Best Regards.
Pablo Avalos.