On Thursday 28 April 2016 08:39:00 adit bhargava wrote:
> THanks Gene and Andy for your inputs.
> After setting the GPIO pin in output mode, I am getting the output on
> CRO. setp hm2_5i25.0.gpio.023.is_output TRUE
> setp hm2_5i25.0.gpio.023.invert_output FALSE
> net pwm-generate <=
Hello Andy,
Now, the output comes on 7i78 daughter card via GPIO pin(disabled highest-num
Stepgen) with the same period.Its fine with the period now .
Thanks for all the much needed help.
BRAdit
From: andy pugh
To: adit bhargava
Cc:
On 28 April 2016 at 13:39, adit bhargava wrote:
> addf hm2_5i25.0.write_gpio base-thread
>
> Should I change something else ?
I believe that that ought to be enough.
If you connect to the HAL session from the command-line (halcmd -kf )
can you see the write_gpio function
THanks Gene and Andy for your inputs.
After setting the GPIO pin in output mode, I am getting the output on CRO.
setp hm2_5i25.0.gpio.023.is_output TRUE
setp hm2_5i25.0.gpio.023.invert_output FALSE
net pwm-generate <= pwmgen.0.pwm
net pwm-generate => hm2_5i25.0.gpio.023.out
But, still the
On Wednesday 27 April 2016 12:12:22 adit bhargava wrote:
> Hello Andy,
>
> I checked the pins 4 and 17 on the 5i25 header, but there is no
> output.We do have a full set of wires connected to parallel port
> cable.I don't know how to proceed now.
>
> BRÁdit
In case you missed the read of the
On 27 April 2016 at 17:12, adit bhargava wrote:
> I checked the pins 4 and 17 on the 5i25 header, but there is no output.
> We do have a full set of wires connected to parallel port cable.
> I don't know how to proceed now.
Have you set the GPIO pins to output mode?
Hello Andy,
I checked the pins 4 and 17 on the 5i25 header, but there is no output.We do
have a full set of wires connected to parallel port cable.I don't know how to
proceed now.
BRÁdit
From: andy pugh
To: adit bhargava
Cc: Enhanced
On 27 April 2016 at 15:33, adit bhargava wrote:
> But, I am not able to get the pulses on the Oscilloscope connected to 7i78
> between Pin 21 and GND.(Find attached 7i78 pin diagram).
maybe try pins 4 and 17 on the 5i25 header, as shown in the dmesg.
[ 2136.149174]
Hello Andy,
Thanks for suggestion.Now I am getting the software PWM output pulses on GPIO
I/O pin 23 :hm2_5i25.0.gpio.023.out
show pin
5 bit OUT FALSE hm2_5i25.0.gpio.023.in
5 bit OUT TRUE hm2_5i25.0.gpio.023.in_not
5 bit IN FALSE
On 27 April 2016 at 13:08, adit bhargava wrote:
> I tried to redirect the PWM output to one of this pin as follows but it says
> this pin dosen't exist
>
> net pwm-generate=> hm2_5i25.0.gpio.023
You can get a pin listing by starting the driver from the command-line
Hello Andy,
I tried to disable the highest numbered Stepgen(9th in our case) and got the
following DMESG o/P :
[ 2136.149105] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 2136.149109] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin
Direction (Output)
[ 2136.149112] hm2/hm2_5i25.0: IO Pin
So the highest-numbered 5i25 pin is connected to 7i78 and not 7i76 on which I
was earlier redirecting output.I may connect the CRO to 7i78 then.
From: andy pugh
To: adit bhargava
Cc: Enhanced Machine Controller (EMC)
On 22 April 2016 at 15:43, adit bhargava wrote:
> Does this mean that if I redirect the PWM output to 5i25 GPIO pin(after
> disabling the stepgen),
> the PWM signal will be forwarded to 7i76 also ?
No, the 5i25 pins currently associated with the highest-numbered
stepgen are
Does this mean that if I redirect the PWM output to 5i25 GPIO pin(after
disabling the stepgen),the PWM signal will be forwarded to 7i76 also ? So, it
means I don't need to change the connection of Oscilloscope which is connected
to 7i76 right now ? Just redirect the PWM output to 5i25 GPIO pin
On 22 April 2016 at 15:18, adit bhargava wrote:
> For serial_port_N option, is it for 7i76 card?
One chanel of sserial is for the GPIO and some other features on the
7i76. The second channel is for any smart-serial device attached to
the expansion port on the 7i76.
> I
Hello Andy,
For serial_port_N option, is it for 7i76 card?I remember you suggested me to
just disable the Stepgen on 5i25 card which can be done using only num_stepgens
parameter and then this pin can be used for software PWM rather than 7i76 .
BRAdit
Sent from Yahoo Mail on Android
On
On 22 April 2016 at 14:26, adit bhargava wrote:
> 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 ?
Yes. But be aware that it is the highest-numbered stepgen pins that
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
On Thu, 21 Apr 2016 13:08:41 +0100
andy pugh wrote:
> On 21 April 2016 at 13:00, adit bhargava wrote:
>
> > My mentor dosen't want to make any change in hardware FPGA cards.
> > He instead suggest to use Universal Pulse Generator UPG100
> >
On 21 April 2016 at 13:00, adit bhargava 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.
Hello Andy/Sebastian,
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
However, he wants to control the UPG100 through software, rather than manually
changing the T-On and T-Off
On 20 April 2016 at 16:06, Sebastian Kuzminsky wrote:
> The hostmot2 driver exports a "write_gpio" function exactly for this
> kind of use case. It updates just the gpios, runs quickly, and is
> intended to be called from a faster thread.
Yes, but the GPIO on the 7i76 is
On 04/20/2016 02:32 AM, andy pugh wrote:
> On 20 April 2016 at 09:13, adit bhargava wrote:
>
>> I can't understand why I can't get the correct output on FPGA, although I am
>> getting on HALSCOPE ?
>
> Which output pin are you trying to drive? The IO pins on the 7i76 only
On 20 April 2016 at 09:13, adit bhargava wrote:
> I can't understand why I can't get the correct output on FPGA, although I am
> getting on HALSCOPE ?
Which output pin are you trying to drive? The IO pins on the 7i76 only
update every 1mS.
Haslcope (and the PWM function)
Hello Andy,
Yes, I am using the software PWM component output to MESA fpga card. Still, I
can't understand why I can't get the correct output on FPGA, although I am
getting on HALSCOPE ?
Why hardware PWM and new firmware is needed and how can I get it ?
Also, is there any tutorial to " how
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
On 18 April 2016 at 19:34, adit bhargava 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
I mean the pulses the coming on Hardware CROscilloscope but not with same
period (6.7 ms)
From: adit bhargava
To: andy pugh ; Enhanced Machine Controller (EMC)
Sent: Monday, April 18, 2016 8:34 PM
Subject:
Hello Andy,
Thanks you for suggestions. I am able to add a new faster thread ( 100
microseconds ) now.But, now the problem is I am not getting the output as
desired on hardware although I am getting correct output on HALSCOPE.
RECAP:
I wanted a square pulse of T-On = 2 ms and T-Off = 4.7
On 18 April 2016 at 15:36, adit bhargava wrote:
> 1. TFP_Steurung.ini - In this file, I have under [EMCMOT] section,
> SERVO_PERIOD = 100(1 ms)
> Should I put my BASE_PERIOD = 10 (100 microsec) ?
The actual thread is created by the "loadrt motmod " line in
30 matches
Mail list logo