Hi Thomas Johansen,
In the reference manual, you can find a lot information about using the SPI ROM API calls.
In my opinion, you can have a try.
If you have any question about it, you can feel free to contact with me.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------