SPI.transfer() gives hardware error

hI @ScruffR @rickkas7

So, I updated v0.6.2 on the electron and it stopped giving me hard fault, but it still doesnt receive any data. it’s printing now nothing on serial port. electron is slave and P1 is master, P1 is still on v0.5.0 and is using SPI.transfer(). Is this okay to use them on different versions? or what else could be the reason that i am getting nothing on serial port for electron.

I am using this code: SPI2.transfer(tx_buffer, rx_buffer, sizeof(rx_buffer), NULL); gives me hardware error

this is what i am getting on putty