Hi Eric. I believe the standard FPGA configuration allows you select any I/O bit as input, output, or alternate function (like PWM, quad counter, etc.). The HAL driver doesn't support this however. (Note - this may not be in the default FPGA config, but it's very easy to add if it isn't there)
It would be quite easy to make the driver support software control of this feature. The real question is how it should be handled in HAL. For the I/O connectors, it could be reasonably easy - add module parameters for bitmasks representing the data directions of the two connectors, and export appropriate in/out pins. In this case, the driver would still set the directions once at load time, but the directions would be hal-file controllable. The "motor connector" could also have the feature enabled, but figuring out how to handle it well is much more complex. - Steve Eric Johnson wrote: >Hi all, > >I have a project which requires interfacing to a laser having 2 x 8 bit BCD >inputs, which alone would exhaust the available outputs of the standard >configuration on the m5i20, and I need a few additional outputs beyond >these. I have plenty of inputs available, so a 24 / 24 split on inputs and >outputs, or even 16 / 32 would work fine. > >I know John K was working on this with the new FPGA program and driver, but >I have not heard much on that in a while. Is that far enough along, or can I >help out on the I/O portion to enable reconfiguring the I/O? > >The Mesa boards are inexpensive enough that I could just use a second board >for handling the extra outputs, but it would save some real estate and a >terminal block to be able to do it with a single board. > >Regards, >Eric > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Emc-users mailing list >Emc-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users