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!)
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.
I'm actually using LVEA 2010, but I will try 2011 shortly and check if the problem is still there....
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.
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....