I wrote an incomplete software driver for a Micro controller which may output 
PWM. Unless you are familiar with programming in C on micro controllers I guess 
Hosmot is the best solution, especially if you already have one of these cards.




On Mon, 18 Apr 2016 19:48:41 +0100
andy pugh <[email protected]> wrote:

> On 18 April 2016 at 19:34, adit bhargava <[email protected]> wrote:
> 
> > Oscilloscope connect to 7176 daughtercard
> >
> > Plus:      TB6 PIN24  => OUT7
> > Gnd:      TB3 PIN15 => GND
> >
> > PWM Signal Routed to OUT 7
> 
> So, you are using software PWM with a Mesa FPGA card?
> It would be better to use hardware PWM in the FPGA, but that might
> need a different firmware.
> 
> The GPIO on the 7i76 is only updated once per mS, at the servo-thread rate.
> 
> There is an option to control _5i25_ GPIO at a faster rate by running
> the hm2_5i25.0.write_gpio function in the faster thread.
> This is not the same as the 7i76 GPIO.
> By default all of the 5i25 GPIO is allocated. What you could do is
> disable one of the step/dir channels and use that as GPIO (the
> step/dir channels are wired direct to the 5i25, the 7i76 channels are
> addressed by a serial interface and handled on the 7i76). Once you
> have disabled the step generator and worked out which 5i25 IO pin that
> corresponds to (the dmesg output will tell you) then you can run
> software PWM to that pin.
> 
> However, I think that this would also disable all the step/dir
> channels on the 7i78. So it would be better to disable only one
> step/dir channel for this purpose.
> 
> Better still would be a custom firmware with a PWM generator connected
> to one of the step-dir pins.
> 
> Alternatively, another user recently connected the 7i76
> spindle-control potentiometer output in place of the potentiometer of
> one of these devices to run an RC ESC:
> http://www.ebay.co.uk/itm/Mini-3CH-Servo-Tester-Servo-Consistency-Master-Tester-for-RC-Helicopter-UK-/291289742212?hash=item43d238bb84:g:kMgAAOSwrx5UXGe~
> and apparently it worked well.
> 
> -- 
> 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