writing 'ST7MC' keyword in the search section inside ST MCU field, you can find all you need, including the library for BLDC motor. Please, refer to AN1905 for having a complete base of knowledge on the subject. Moreover, the downloadable .ZIP file included in the same AN contains the software library. Regards, Tanio