Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
93daca63
Commit
93daca63
authored
Mar 27, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More registered programmed for C export
parent
126a6ce8
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
404 additions
and
48 deletions
+404
-48
x393_cmprs_afi.py
py393/x393_cmprs_afi.py
+1
-1
x393_export_c.py
py393/x393_export_c.py
+393
-38
camsync393.v
timing/camsync393.v
+10
-9
No files found.
py393/x393_cmprs_afi.py
View file @
93daca63
...
...
@@ -73,7 +73,7 @@ class X393CmprsAfi(object):
0: disable status generation,
1: single status request,
2: auto status, keep specified seq number,
4
: auto, inc sequence number
3
: auto, inc sequence number
@param seq_number - 6-bit sequence number of the status message to be sent
"""
...
...
py393/x393_export_c.py
View file @
93daca63
This diff is collapsed.
Click to expand it.
timing/camsync393.v
View file @
93daca63
...
...
@@ -71,22 +71,23 @@ module camsync393 #(
input
mrst
,
// @ posedge mclk - sync reset
input
[
7
:
0
]
cmd_ad
,
// byte-serial command address/data (up to 6 bytes: AL-AH-D0-D1-D2-D3
input
cmd_stb
,
// strobe (with first byte) for the command a/d
// 0 - mode: [1:0] +2 - reset ts_snd_en, +3 - set ts_snd_en - enable sending timestamp over sync line
// [3:2] +8 - reset ts_external, +'hc - set ts_external:
// 0 - mode: [0] - enable module, 0 reset
// [2:1] +4 - reset ts_snd_en, +6 - set ts_snd_en - enable sending timestamp over sync line
// [4:3] +0x10 - reset ts_external, +'hc - set ts_external:
// 1 - use external timestamp, if available. 0 - always use local ts
// [
5:4] +'h2
0 - reset triggered mode (free running sensor), +'h30 - set sensor triggered mode
// [
8:6] +'h1
00 - set master channel (zero delay in internal trigger mode, delay used for flash output)
//
[13:9] +'h2000 - set which channels to generate timestamp me
sages
// [
6:5] +'h4
0 - reset triggered mode (free running sensor), +'h30 - set sensor triggered mode
// [
9:7] +'h2
00 - set master channel (zero delay in internal trigger mode, delay used for flash output)
//
[14:10] +'h4000 - set which channels to generate timestamp mes
sages
// UPDATE now di-bit "01" means "keep" (00 - do not use, 01 - keep, 10 set active 0, 11 - set active 1)
// 1 - source of trigger (10 bit pairs, LSB - level to trigger, MSB - use this bit). All 0 - internal trigger
// in internal mode output has variable delay from the internal trigger (relative to sensor trigger)
// 2 - 10 bit pairs: MSB - enable selected line, LSB - level to send when trigger active
// bit 25==1 some of the bits use test mode signals:
// 3 - output trigger period (duration constant of 256 pixel clocks).
// d
==
0 - disable (stop periodic mode)
// d
==
1 - single trigger
// d
==
2..255 - set output pulse / input-output serial bit duration (no start generated)
//
256>=d
- repetitive trigger
// d
==
0 - disable (stop periodic mode)
// d
==
1 - single trigger
// d
==
2..255 - set output pulse / input-output serial bit duration (no start generated)
//
d >= 256
- repetitive trigger
// 4..7 - input trigger delay (in pclk periods)
input
pclk
,
// pixel clock (global) - switch it to 100MHz (mclk/2)?
...
...
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