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.
Tool/software: Code Composer Studio
Hi Team: my MCU is DRV91680.
DTCTL = 0x01;
DTCNT = 0x7F7F;
According to this configuration, the PWM output waveform has only one side of the dead band. What's the problem?
Hi:
My MCU is DRV91680.
I found the following problem in debugging:
Dead Time Control (DTCTL)
Dead Time Count (DTCNT)
Dead Time Output (DTOUT)
I configured as follows in the program:
DTCTL = 0x0001;
DTCNT = 0x7F7F;
During debugging, it is found that the PWM complementary waveform has only one edge (the rising edge / falling edge) of the 5uS, but DTCNT, I have all configured the same clock count.
Weiwei,
1. The map you described will cause DTCNT_H not to be written.
2. Correct map: 00000542-DTCNT_L and 00000543-DTCNT_H. You can verify you've set the DTG correctly by checking the registers in CCS debug window.
3. Please make sure you're working off the lastest SDK.
James.