delay pwm

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
anugani12
Posts: 17
Joined: Wed Apr 26, 2017 8:36 am
Been thanked: 3 times
Contact:

delay pwm

Postby anugani12 » Tue May 02, 2017 2:41 pm

I want to do h bridge inverter.
please find the attached image for pwm referance and check channel 1 and channel 3 some delay to start how to start with delay please give me suggestion.
Attachments
pwm.jpg
pwm.jpg (360.54 KiB) Viewed 3539 times
test.fcfx
(23.49 KiB) Downloaded 162 times

User avatar
Benj
Matrix Staff
Posts: 14150
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4078 times
Contact:

Re: delay pwm

Postby Benj » Wed May 03, 2017 12:57 pm

Hello,

All the PWM are currently tied to the same timer so providing different offsets is not possible. Some chips provide different timer options but the chip you're using only provides these for the enhanced mode which we do not currently support.

One option would be to create your own software PWM using a timer interrupt. This way you can offset the outputs as required.

https://www.matrixtsl.com/wikiv7/index. ... ftware_PWM

anugani12
Posts: 17
Joined: Wed Apr 26, 2017 8:36 am
Been thanked: 3 times
Contact:

Re: delay pwm

Postby anugani12 » Wed May 03, 2017 4:55 pm

Tahnk you sir
These users thanked the author anugani12 for the post:
Benj (Wed May 03, 2017 5:23 pm)
Rating: 5.56%
 

anugani12
Posts: 17
Joined: Wed Apr 26, 2017 8:36 am
Been thanked: 3 times
Contact:

16F1939 pwm problem

Postby anugani12 » Thu May 25, 2017 1:50 pm

Hi,

16f1939 controller 3 pwm timers but in flowcode 7 only 1 timer shown.
in flowcode 6 3 timers shown but pwm output given only 2 channels (channel4, channel5) remaining 3 channels off(channel1,channel2,channel3). in simulation ok but hardware not working.
16f1939, 16f1936 both are same problem in flowcode 6. please check and please give me solution.
Attachments
16f1939.fcfx
(12.51 KiB) Downloaded 117 times