‎02-16-2012 07:11 AM
Hi folks,
I'm working on ARM project that uses a PWM signal to drive a dc motor, but for some reason the PWM frequency coming out of the LPC2378 is always 900 Hz.
I've tried setting the PWM frequency in the EIO properties dialogue to 100, 200, 700, 1000, 2000 Hz, rebuilding the whole project several times etc, but I always get 900 Hz physically output - any ideas why this might be, or how I can change it?
(I'm prepared to delve into the c. files if necessary, if someone can point me in the right direction!)
Thanks,
John.
‎02-16-2012 11:02 AM
‎02-17-2012 01:58 AM
‎02-20-2012 06:04 AM
Hi John,
What version of LabVIEW embedded for ARM are you using?
There are a couple of old Corrective Action Requests in our database for issues simialr to yours that should be fixed in the lastest versions.
‎02-20-2012 07:09 AM
Hello James,
I'm actually using LVEA 2010, but I will try 2011 shortly and check if the problem is still there....
‎02-20-2012 12:24 PM
Checked in LVEA 2011 and can confirm that the issue is still there.
‎02-22-2012 01:10 PM
Can you post your snippet of your code? The LVEA code for PWM is very finicky (at least for LM3S8962 target). So, depends on how you wire up the vi, the PWM may or may not work.
‎02-24-2012 03:28 AM
Akonni,
There isn't any LabVIEW code worth looking at for the LPC2378 PWM, you just wire an integer between 0 & 100 straight to the PWM output node!
All the PWM settings are carried out globally in the project tree, there are no PWM settings available from within a VI....
‎07-19-2014 07:21 AM
Hi
I have same problam with my ARM and PWM
have u find any solution yet?