Hello Andy,
For disabling the stepgens in config string, I think the value of 
"num_stepgens"  be changed :Does this is all I need to do for disabling 
stepgens ?
num_stepgens [optional, default: -1]Only enable the first N stepgens. If N is 
-1, all stepgens are enabled. If N is 0, no stepgens are enabled. If N is 
greater than the number of stepgens available in the firmware, the board will 
fail to register.


And I saw some option of sserial_port_N: Should I need to change something in 
this as well ? See below:

sserial_port_N (N = 0 .. 3) [optional, default: 00000000 for all 
ports]Up to 32 Smart Serial devices can be connected to a Mesa Anything IO 
board depending on the firmware used and the number of physical connections on 
the board. These are arranged in 1-4 ports of 1 to 8 channels. 
Some Smart Serial (SSLBP) cards offer more than one load-time configuration, 
for example all inputs, or all outputs, or offering additional analogue input 
on some digital pins. 
To set the modes for port 0 use, for example sserial_port_0=0120xxxx 
A ’0’in the string sets the corresponding port to mode 0, 1 to mode 1, and so 
on up to mode 9. An "x" in any position disables that channel and makes the 
corresponding FPGA pins available as GPIO. 
The string can be up to 8 characters long, and if it defines more modes than 
there are channels on the port then the extras are ignored. Channel numbering 
is left to right so the example above would set sserial device 0.0 to mode 0, 
0.2 to mode2 and disable channels 0.4 onwards. 
The sserial driver will auto-detect connected devices, no further configuration 
should be needed. Unconnected channels will default to GPIO, but the pin values 
will vary semi-randomly during boot when card-detection runs, to it is best to 
actively disable any channel that is to be used for GPIO.

BR Adit      From: andy pugh <[email protected]>
 To: Enhanced Machine Controller (EMC) <[email protected]> 
 Sent: Thursday, April 21, 2016 2:08 PM
 Subject: Re: [Emc-users] Need to add a faster thread base-thread with 100 
microseconds, Compilation changes required !!!
   
On 21 April 2016 at 13:00, adit bhargava <[email protected]> wrote:

> My mentor dosen't want to make any change in hardware FPGA cards.
> He instead suggest to use Universal Pulse Generator UPG100
> http://www.eurias.nl/pdf/UPG100.pdf

I think that he is misunderstanding the suggestions then. Flashing a
different firmware is not a modification, and it entirely reversible.

But first you should try disabling the last stepgen in the
configuration string and using software PWM on the associated pin.
This will need you to add the write_gpio function to the fast thread,
as suggested by Seb.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users


  
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to