Looks as though the following setup is envisaged, where A&B are one half-bridge and C&D the other half :-
View attachment 137375
Can you post what you are trying to do, then we can guid you which mode to pick.Sorry but I understand this less than the datasheet.![]()
Just avoid the headache and get a chip with 4 DAC pins (if that supports your application).Just trying to generate a virtual voltage level right now to drive 3 -4 analog meters. I am at work right now so I don't have the datasheet in front of me nor can remember the chip but I am going to need at least 3 independent outputs.
I think I will need singe output but I need to be certain I have 4 independent outputs. The datashheet seems to suggest there are four on ECCP but not sure if they mean 4 independent or not.
Mine might. I am not sure. I need to dig into the datasheet.Just avoid the headache and get a chip with 4 DAC pins (if that supports your application).
16F1779 has 4 separate simple PWM channels and 4 DAC channels so you can try both options.
See post #7. I will post back later.What Micro are you using?
Generally refers to one module with 4 registers 4 modes and 4 outputs for the one module.
Max.
You can use a PWM in single output mode to make crude DAC. Just run the output to a low pass filter eg. an R and a C and the output voltage will be the average of the PWM output.Just trying to generate a virtual voltage level right now to drive 3 -4 analog meters. I am at work right now so I don't have the datasheet in front of me nor can remember the chip but I am going to need at least 3 independent outputs.
I think I will need singe output but I need to be certain I have 4 independent outputs. The datashheet seems to suggest there are four on ECCP but not sure if they mean 4 independent or not.
You can use a PWM in single output mode to make crude DAC. Just run the output to a low pass filter eg. an R and a C and the output voltage will be the average of the PWM output.
And there are seven of individual PWM modules on that chip.I am using a 18F27J53.