Hi all,

I'm using an m5i20 card with the hostmot5_4eh.bit configuration that 
allows PWM at 50 kHz.

I have to reload the fpga configuration after each bootup of the machine 
with 'sudo m5i20cfg hostmot5_4eh.bit 0'

In my HAL files I use the m5i20 driver without loading the default 
(wrong, in my case) fpga config:
loadrt hal_m5i20 loadFpga=0 dacRate=16666

(the driver assumes the PWM clock is 33MHz, but with the modified config 
it's actually 100MHz, so I config it to 16.7 kHz and get 3*16.7kHz=50kHz 
PWM output)

should I have to do this m5i20cfg command every time I run emc or should 
the fpga config stick once it's loaded?


Anders

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to