![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Does anyone know if the two channels of pwm on an 877A can be delayed from each other, or otherwise run at the same frequency , but not fire at the same time.? i'm working on a boost converter with two fets , that i would like to fire at different times, but run at the same frequency. | |
| |
| | (permalink) |
| Due to the fact that there is only one timer2 and one PR2 register, I don't see how you could get to trigger at different times unless you invert one of the outputs (or P channel fet) so one fires at the beginning of the period and the other toward the end. If you switch to the 887 then having an inverted output is available as standard. Mike. | |
| |
| | (permalink) |
| Thanks for your input . i suppose a simple AND gate may provide the needed delay clocked by the osc clock anded with the pwm output might work i just want to give the system time to recover and maybe catch the upswing of the oscillation from the coils. | |
| |
| | (permalink) |
| A really crazy idea would be to have one of the PWM modules trigger an interrupt that changes a different output pin. The IRQ latency providing the necessary delay. Whether this would work really depends on the PWM frequency. Mike. | |
| |
| | (permalink) |
| I used several inverters and it seems to work i havnt scoped the delay yet | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Stepper motor control with PIC16F84A | netbug | Micro Controllers | 71 | 30th August 2008 01:07 PM |
| Log Data using pic16F877A | williB | Micro Controllers | 32 | 31st October 2006 10:28 AM |
| Random Numbers for PIC | PDubya | Micro Controllers | 12 | 8th July 2006 11:01 PM |
| Delay routine not working | gregmcc | Micro Controllers | 6 | 18th September 2005 06:23 PM |
| Effects | stephenpic | Micro Controllers | 6 | 19th January 2004 12:57 PM |