Part Number:DRV8301-HC-C2-KIT
I am using the DRV8301-HC-C2-KIT and ran into a problem with the Motorware lab11e example for BLDC motor operation with hall sensors. I found that the hal.h header file for this lab defines GPIO_26 to GPIO_28 as the hall sensor inputs when using the J10 connector for the hall signals. However, the motor ware schematic (located at ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\~DRV830x-HC-EVM-HWdevPkg\DRV830x_RevD_HWDevPKG\Schematic\515502~1.PDF) shows the J10 signals routed to GPIO_40 to GPIO_42. When I changed the hal.h header to reference these inputs, the code finally worked correctly. Until then the was no commutation and the windings would just buzz when trying to run.
I am now trying to find out where I went wrong. I am guessing that I somehow loaded the example programs a different eval board. The ones I used were from the folder, ti\motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\drv8301kit_revD. Should I have used a different set of examples?
Thank you.