Talk:10359 FPGA Simulation

From ElphelWiki
Revision as of 02:24, 21 May 2008 by Oleg (talk | contribs)
Jump to: navigation, search

I tested the last 359 binary firmware.

My test was made with one 353 board, one 359 and 2 sensors 1 color and 1 monochrome. The color sensor have a 3 times longer cable.

Longer cable neeed phase adjustment. I tested the cable directly with a 353, it also needed a phase adjustment. With + 32 it was working fine.

Questions :

  • what is sphase in /359/switch_to_ch2.php?dr=0&sphase=0x00000007&channel=1&cc=1 ?
Currently bit sphase[i] (i=0,1,2 - channel number) tells which clock edge is used to latched signals from the sensor
sphase[i]=1 - fall
sphase[i]=0 - rise
  • does /359/switch_phase_dcm1.php?phase_shift=2 work ? i tried to swift it 50 times to both directions, no changes.
It should work, I'll figure it out after I make independent phases adjustment for sensors

Remarks:

  • It should be possible to set hact & data phase shift independently.
  • The sensor should be reseted after changing the phase. It may sometimes work without, but sometimes it can crash the sensor.
  • We should be able to change phase for all 3 channels independently. (they can have different length)
  • We need to rename PHP files to make it more logical.
  • I need to understand the exact and minimum commands to call (to transparently send channel 1) in order to add it to the default 353 firmware setup. In this setup the camera should work with camvc without doing anything else.

--Alexandre.Poltorak 19:34, 19 May 2008 (CDT)