Maple Mini Can Bus

I'm wondering if there is any library just like the one for the MCP2515 or just a working example for sending and receiving frames on the Maple Mini (STM32F103C8T6)
I couldn't find any example or library for arduino. even for STM32IDE there is no working example

I hope someone could provide a link for a library or a working example for canbus

Notice : I found one example for STM32IDE but I couldn't change from standard 11bit to extended 29Bits couldn't find any information on how to change it anywhere.but I prefer if there is any library to make it easier to do the tests instead of understanding and writing everything from scratch