Hi Team ,
I am getting problem in making communication between Arduino ATmega2560 board (5v) with SPI device (3.3V). I made the necessary wired connection between these two boards and also i feel my code configuration for initializing SPI is also correct, but still i am not getting correct respose from SPI device. is the voltage difference between two device can be reason for these issue, is it needed to connect voltage converter bwteen them or u have any idea to connect these two baords in some other way.
U need voltage adaption. Several methods available..
If the system of SPI device is 3.3 with 5v IO tolerance. It is ok.
I think there are some problems with your code.