I am trying to interface with an MR25H40DF MRAM chip over SPI using my SAMv71 dev board. I simply need to write data and read it back to do single event upset testing. I've connected the CS to PD25-NPCS1 and the SPCK, MISO, MOSI to PD22, PD20, PD21 respectively.
The issue I'm having is there are zero example programs on how to write and read data to an external spi memory, only an example about doing it to a second dev board.
Is there any example code out there I can use to be able to do this?