Xiao Rp2040 to FRAM SPI

Can anyone provide a simple sketch to read and write a single byte to an external FRAM chip via SPI?
I’ve spent the last three days trying unsuccessfully.