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
Error No. 2 pwm display avr atmega324p
Moderator: Benj
- 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
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.
Not sure what you are reporting as a bug there. Please could you provide more detail as to the problem you are experiencing.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Error No. 2 pwm display avr atmega324p
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
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Error No. 2 pwm display avr atmega324p
Hello,
One idea: configuration registers changed
bruno
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