Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha - Software
Commits
0a482342
Commit
0a482342
authored
Oct 25, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: timer_ms is zero by default, interrupts are there
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
50929814
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
fine-delay.in
doc/fine-delay.in
+7
-11
No files found.
doc/fine-delay.in
View file @
0a482342
...
@@ -529,12 +529,11 @@ The following parameters are used:
...
@@ -529,12 +529,11 @@ The following parameters are used:
@item timer_ms=
@item timer_ms=
The period of the internal timer. The timer is used to poll
The period of the internal timer, if not zero.
for input events. We currently have no interrupt support so
The timer is used to poll for input events instead of enabling
we must poll, but the parameter will remain even when interrupt
the interrupt. The default interval is 0, which means to
is available, to disable it on request and reuse the current
use interrupt support. You may want to use the timer while
polling code. The interval by default is 10ms and currently
porting to a different carrier, before sorting out IRQ issues.
only one timestamp is retrieved at each timer execution.
@item calib_s=
@item calib_s=
...
@@ -585,7 +584,6 @@ leaving the other ones alone:
...
@@ -585,7 +584,6 @@ leaving the other ones alone:
@smallexample
@smallexample
spusa.root# insmod fmc-fine-delay.ko busid=0x0200
spusa.root# insmod fmc-fine-delay.ko busid=0x0200
[ 1336.532785] fmc_fine_delay: using a timer for input stamps (10 ms)
[ 1336.539021] spec 0000:02:00.0: reprogramming with fmc/fine-delay.bin
[ 1336.539021] spec 0000:02:00.0: reprogramming with fmc/fine-delay.bin
[ 1336.771452] spec 0000:02:00.0: FPGA programming successful
[ 1336.771452] spec 0000:02:00.0: FPGA programming successful
[ 1336.777063] spec 0000:02:00.0: Gateware successfully loaded
[ 1336.777063] spec 0000:02:00.0: Gateware successfully loaded
...
@@ -598,7 +596,8 @@ spusa.root# insmod fmc-fine-delay.ko busid=0x0200
...
@@ -598,7 +596,8 @@ spusa.root# insmod fmc-fine-delay.ko busid=0x0200
[ 1339.893847] fd_calibrate_outputs: ch4: 8ns @@859 (f 827, off 32, t 71.00)
[ 1339.893847] fd_calibrate_outputs: ch4: 8ns @@859 (f 827, off 32, t 71.00)
[ 1339.962600] fmc_fine_delay: Found i2c device at 0x50
[ 1339.962600] fmc_fine_delay: Found i2c device at 0x50
[ 1339.989642] fd_i2c_init: calibration on eeprom is invalid
[ 1339.989642] fd_i2c_init: calibration on eeprom is invalid
[ 1339.995394] spec 0000:04:00.0: not using "fmc_fine_delay" according to modparam
[ 1339.995785] fmc_fine_delay: using interrupts for input
[ 1340.055394] spec 0000:04:00.0: not using "fmc_fine_delay" according to modparam
@end smallexample
@end smallexample
If you use @code{show_sdb=1}, you'
ll
get
the
following
dump
of
the
If you use @code{show_sdb=1}, you'
ll
get
the
following
dump
of
the
...
@@ -1763,9 +1762,6 @@ allows:
...
@@ -1763,9 +1762,6 @@ allows:
@itemize @bullet
@itemize @bullet
@item We should use interrupts. The input is currently performed with
a kernel timer.
@item Calibration information in the EEPROM is not fixed for
@item Calibration information in the EEPROM is not fixed for
endianness, so it only works on hosts of the same endianness as the
endianness, so it only works on hosts of the same endianness as the
one where it has been programmed.
one where it has been programmed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment