Other Parts Discussed in Thread: DRV8711
Tool/software:
Hi, I am using STM32H755ZI controller to work with BOOST-DRV8711. Currently what I am doing is read the default values in the register and then modify the required bits and read back to check if values are set properly.
We observed that when ENBL bit = 1 and motor is connected to BOOST-DRV8711. We saw those values what we set are not matching most of the time, but when we carried out same experiment just this time we have not connected motor we were getting same value what we have set. Currently we are suspecting EMI issue, but we would like to know if there is anything that can cause this issue?
Also we found that when we set DECMOD to 5 i.e Auto decay mode we found that SPI read and write was causing more issue. currently we have set it to 1 where we see SPI read write issues are less
G_CTRL_REG.ISGAIN = 0;
G_CTRL_REG.MODE = 7;
G_CTRL_REG.ENBL = 0;
G_TORQUE_REG.SIMPLTH = 1;
G_TORQUE_REG.TORQUE = 100;
G_DECAY_REG.DECMOD = 1;
G_STALL_REG.SDCNT = 3;
G_STALL_REG.VDIV = 3;
G_STALL_REG.SDTHR = 0;