Sebastian,

Yes, I think they are pretty close to the same, I was just assuming that at
some point on the FPGA side, you had to latch and perhaps bit shift the
value in the PCI address space, so that it cannot change while you are doing
any operations with that value.

Otherwise, the value calculated by pwmgen.c to be put into the value
register does seem to be the correct, and if bits 16 through 27 is where it
is to go in that register, then everything on the driver side appears to be
correct.

I realize that a voltmeter may not be a reliable means of measuring a PWM,
but my particular voltmeter does seem to agree with the power output of the
laser. It also agrees with the voltages I read when using the standard m5i20
driver, which is already known to produce good values.

Thus, given the consistency and linearity of the readings, I am fairly
confident that they reasonably reflect what is going on with the PWM output.

Regards,
Eric


By "FPGA register" i mean the register on the 5i20 board where the driver on
the PC tells the 5i20 what PWM duty cycle it wants.  I think this means both
of the things you described.

Ok so we're in agreement that the proper PWM value is being requested of the
5i20 board, and the question now is whether the FPGA outputs the proper PWM
signal.

...

It is my understanding that a normal voltage meter is not a reliable tool
for measuring the pulse width of a PWM signal.

I'll see if I can borrow an oscilloscope from work...



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to