02-16-2012 07:11 AM
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!)
02-16-2012 11:02 AM
02-17-2012 01:58 AM
02-20-2012 06:04 AM
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-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
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....