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.
Post Reply
anugani12
Posts: 17
Joined: Wed Apr 26, 2017 8:36 am
Been thanked: 3 times
Contact:

delay pwm

Post by anugani12 »

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
(360.54 KiB) Downloaded 5313 times
test.fcfx
(23.49 KiB) Downloaded 433 times

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

Re: delay pwm

Post by Benj »

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

Post by anugani12 »

Tahnk you sir

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

16F1939 pwm problem

Post by anugani12 »

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 392 times

Post Reply