MPL115A1 pressure sensor via SPI0 on BBB

Hello everyone,

I have an issue using a MPL115A1 with my BBB.
I found many programs for Arduino but I can’t find the libraries and the names to adapt the code for my BBB.

Is there any specific data sheet for the SPI0 of BBB ?

One exemple is available at https://www.sparkfun.com/products/9721.

Thank you.