This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BOOSTXL-DRV8305EVM: Changing DRV 8305 Gate driver parameters through the program

Part Number: BOOSTXL-DRV8305EVM
Other Parts Discussed in Thread: LAUNCHXL-F28027F, DRV8305,

HI,

I am engaged in a project which we use piccolo launchXL-F28027F instaspin module with BOOSTXL-DRV8305EVM driver board. I would like to set the gate driver configuration data through the program using  DRV8305_SPI. I am trying to change the dead time as follows:

gMotorVars.Flag_enableSys = true;
gDrvSpi8305Vars.ManWriteCmd =1;
gDrvSpi8305Vars.ManWriteAddr=0x7;
gDrvSpi8305Vars.ManWriteData=100;

I can see some variables change in the watch window but the CTRL_REG_07 is not updated. The question is how can I set the control register values of DRV8305 correctly through the program?

Any help is greatly appreciated!

Thanks 

  • Hi Awantha,

    Are you able to write and read other SPI registers, like 0x5 and 0x6? If you can read and write 0x5 and 0x6, there should be no reason that 0x7 cannot be written.

    If you are still having trouble, can you provide some additional information?
    Are you using the code provided with the EVM or using your own?
    Are you trying to access the registers with the GUI or through a debugger?
    If debugger, is the GUI active?