and 3 extra PIC chips does not count as extra hardware, but CD4536 does?![]()
and 3 extra PIC chips does not count as extra hardware, but CD4536 does?![]()
Please,Please explain how you are going to get a single CD14536 to support 4 independent frequency's. I must be REAL stupid.....
Dave Purola,
N8NTA
EN82fn
Either 4 pics or 4 CD4536...
He meant that in either case you need 4 chips. PIC's need also programming but CD.. need some parts.
Ioannis
CD does not need any extra part. Frequency input of all 4 is connected to PICs HPWM output, which allows to do some extra things - since all these frequencies will be driving stepper motors, having them controlled by master clock (HPWM) will allow to make smooth startup and stopping![]()
I still think you can do it with Timers. For a Timer 2/4/6, adjust the PR2 for your frequency. For Timer 1/3/5, adjust TMR1H_L for your frequency. Clear the IF & Toggle the output, and reset TMR1H_L in the ISR. For TMR2/4/6, you don't even need to reload PR2. Newer PICs with HLT can to that in the background without so much as an interrupt.
Yes, I agree, technically that is possible. But this requires additional programming (not in PBP as I guess) - skills which I do not posses. And I'm immediate result oriented guy - If installing single IC will solve the problem, I'll prefer that way, instead learning C or ASM to do same task.
I've already ordered CD4536B's so let's see how it turns out.
Bookmarks