Error No. 2 pwm display avr atmega324p

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Error No. 2 pwm display avr atmega324p

Post by coffy »

hi,
AND FOR THE TIMER 0 (channel 1 and 2)TIMER 2(channel 6 and 7) phase correct pwm mode.
F(Hz) = fclk_I/O / (N * 510) with no adjustments PERIOD OVERFLOW (only 255), delete this setting
thank you
bruno

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: Error No. 2 pwm display avr atmega324p

Post by Benj »

Hello Bruno,

Not sure what you are reporting as a bug there. Please could you provide more detail as to the problem you are experiencing.

coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Re: Error No. 2 pwm display avr atmega324p

Post by coffy »

channel6.png
(95.4 KiB) Downloaded 1939 times
hi,
measured period T = 204μs and not T = 103μs
The frequency is fix for any value of PERIOD OVERFLOW
bruno
Attachments
channel61.png
(42.33 KiB) Downloaded 1936 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: Error No. 2 pwm display avr atmega324p

Post by Benj »

Hi Bruno,

It looks like the 324P has the period register for the 2 x Timer 1 PWM channels (Channel 3,4) but the 4 x Timer 0 and Timer 2 PWM channels are missing this functionality.

Not sure if we can easily make this distinction in the component but I will add a note in our to do list to have a look into this.

coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Re: Error No. 2 pwm display avr atmega324p

Post by coffy »

Hello,
One idea: configuration registers changed
bruno
Attachments
timer0.png
(16.07 KiB) Downloaded 1910 times
TP_MOTEURDC_prof_v62.fcfx
(7.05 KiB) Downloaded 233 times

Post Reply