// Put 'value' into the lower 7 bits of PWM1CON
// but don't change the top bit of PWM1CON.
value &= 0x7F;
temp = PWM1CON;
temp &= 0x80;
temp |= value;
PWM1CON = temp;
}
Did you read the whole thread ? Read Ttelmah's comment at the end
of the thread.
lokken
Joined: 21 Feb 2010 Posts: 17
Posted: Tue Aug 03, 2010 12:23 am
OK I understand what you mean. But I have one more question, by your leave. Is it more reliable to drive H-Bridge with an external hardware like L298? Because if we couldn't set dead band, the mosfets or others can be burnt out because of their delay time. Is it true?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Aug 03, 2010 12:32 pm
I have used the LMD18200, which is an H-Bridge controller chip.
It contains the driver transistors in the package. It generates the
dead band time. (They refer to it as "no shoot-through current".)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum