See Michrochip AN1175
MCU : PIC16F15345
MPLAB-X IDE v5.45
MCC v4
XC8 v2.32
PICKIT3
BLDC Driver Board : ZM Maker (AliExpress) or any
Hall Sensor / Sensorless : Auto or Manual select
Schematic and Source Code
https://eminfotech.tistory.com/13?cat...