Difference between revisions of "Talk:10359 in dual sensor setup"

From ElphelWiki
Jump to: navigation, search
Line 1: Line 1:
 
==2008/09/23==
 
==2008/09/23==
a. Separated i2c bus mux and channel mux
+
a. Separated i2c bus mux and channel mux.
 +
 
 
b. Made mux to switch between frames.
 
b. Made mux to switch between frames.
  

Revision as of 11:42, 23 September 2008

2008/09/23

a. Separated i2c bus mux and channel mux.

b. Made mux to switch between frames.

Not stable, next step - verify by simulation. --Oleg 13:41, 23 September 2008 (CDT)

2008/09/22

No, it's not stable. --Oleg 10:14, 22 September 2008 (CDT)

Latest switching test with the script was ok. The only change is the position of the boards on the table.--Oleg 10:01, 22 September 2008 (CDT)

Sequence(no need in sensros_init):

1) camera_demo.php
2) (telnet) switch on test pattern
3) "get frame" 
4) "switch to channel 2"
5) (telnet) switch on test pattern
5) adjust phase
5) "get frame"
6) "switch to channel 1"
7) "switch to channel 2"
...

Current "camera_demo" script (sources: camera_demo.php, sensors_init.php):

elphel_reset_sensor();
... 
printf("Reset DCM\n");
dcm_reset();
 
send_i2c_4(0x0835,0x00000001); printf("\nInitializing sensor 1\n");
printf("Soft reset to sensor 1\n");
system("fpcf -i2cw16 480d 0001");
system("fpcf -i2cw16 480d 0000");

printf("Reprogram sensor 1\n");
sensor_init($init_pars);
... 

--Oleg 09:35, 22 September 2008 (CDT)

2008/09/xx

Are the frames become broken after:

1) camera_demo.php
2) sensors_init.php
3) "get frame" 
4) "switch to channel 2"
5) "get frame"
6) "switch to channel 1"

If yes, does turning off the compressor help? I mean:

change channel -> compressor start -> get frame -> compressor stop -> change channel

If you don't use sensors_init.php after camera_demo.php you can try to move function dcm_reset() from sensors_init.php to camera_demo.php before getting a frame.