View Single Post
Old 01-30-2013, 01:49 PM   #805 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,141 Times in 752 Posts
There was a catastrophic error in the AC code this whole time. It's a miracle that it was working at all. I had the following to ENABLE complementary output mode:

PWMCON1bits.PMOD1 = 1; //
PWMCON1bits.PMOD2 = 1;
PWMCON1bits.PMOD3 = 1; //

BUT, that was to DISABLE complementary output mode!! The deadtime wasn't working the whole time!
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
TadhBijou (01-31-2013)