If you have followed the hints penelopepug has given
and if you are wondering why your FET is dissipating that much heat
when using PBP's PWM instead of HPWM:
scope the output and the aswer will be on your scopes screen.
If you have followed the hints penelopepug has given
and if you are wondering why your FET is dissipating that much heat
when using PBP's PWM instead of HPWM:
scope the output and the aswer will be on your scopes screen.
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
I feel it's the way PBP produce the PWM. I feel they switch the pin direction from output, input and then output... i didn't check the PWM assembler source but i remember few user PMs about problem at the end of a PWM execution. With a LED(s) attach to the PWM pin(s),In some case the output state was set to high, sometimes low, sometimes XYZ=> wich looks more than a pin set to input.
Problem was fix when setting the PIN to output and LOW after the execution of PWM.
I prefer to stick with timer interrupt or HPWM(if i don't need many channels)
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Steve,
your findings match my findings which results in: "DON'T USE PWM" (in terms of PBP's Software PWM)
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
Bookmarks