Hello support team,
As I know the SAM7 devices have four PWM channels on port A (PWM0,1,2,3) and each channel can run at different clocks (according to AT91SAM7S128 manual), but the flowcode 4 for ARM only allows to select 2 channels, and both running at the same clock speed. Any advices how to enable all 4? Or are you just planning to add this functionality to v5 of flowcode?
Best regards,
Mantas
ARM PWM Channels
Moderator: Benj
- Mantas
- Posts: 221
- Joined: Tue May 15, 2012 10:32 pm
- Location: Klaipeda, Lithuania - North sea, UK
- Has thanked: 57 times
- Been thanked: 27 times
- Contact:
Re: ARM PWM Channels
So will anyone post a reply to my question? I need to run 4 DC motors using PWM for my ROV project.
Mantas
Mantas
Science is my true religion.
- 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: ARM PWM Channels
Hello,
Sorry for the delay.
All 4 PWM channels are supported in v5 for ARM which is released next week.
You could instead use software driven PWM using a timer interrupt. See this article for more help on generating software PWM.
http://www.matrixmultimedia.com/article.php?a=52
You should be able to import the Flowcode program into v4 ARM to see how the code is put together.
Sorry for the delay.
All 4 PWM channels are supported in v5 for ARM which is released next week.
You could instead use software driven PWM using a timer interrupt. See this article for more help on generating software PWM.
http://www.matrixmultimedia.com/article.php?a=52
You should be able to import the Flowcode program into v4 ARM to see how the code is put together.
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