Hi All,

Peter Wallace of Mesa electronics sent me some new M5i20 configs yesterday
and today I have tested one of them.
There are two new features compared to the config that is currently in cvs:
-The secondary encoder pinout bug has been corrected
-There are now versions with either 33MHz or 100MHz PWM master clock (which
allows for up to 97kHz PWM rate).

There's a 4-axis version and an 8-axis version, so four different configs in
total:
hostmot5_4.bit    - HOSTMOT-4 config with 33  MHz PWM Clock
hostmot5_4eh.bit  - HOSTMOT-4 config with 100 MHz PWM Clock
hostmot5_8.bit    - HOSTMOT-8 config with 33  MHz PWM Clock
hostmot5_8eh.bit  - HOSTMOT-8 config with 100 MHz PWM Clock

I tested hostmot5_4eh.bit, and it works as advertized, only the timebase
calculation when doing 'loadrt hal_m5i20' is off since the driver expects
33MHz. With a bit of trial and error I got the 50kHz PWM I wanted on the DACs.

Once I get my ssh keys sorted out I will be committing these to cvs. On IRC
a suggestion was made that these be put in separate directories under
src/hal/drivers/m5i20  Comments ?
In addition to the .bit files there are two different regmap files (4/8
axis) and additionaly 31 .vhd/.npl/etc. source files.

I loaded the config onto the fpga manually using m5i20cfg, but in the future
this might be made easier through a new option in the driver: 'loadrt
hal_m5i20 loadFpga=<configname>'. The driver should also detect which config
is loaded so that the timebase calculations are correct. Ditto for extra
DACs and encoders in the 8-axis config.

I'll try to work on these things whenever I have time.

regards,

Anders Wallin
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to