Heterogeneous Frame Synchronization Pin connection Incorrect

DRIVE OS Version: 7.0.3.0-0010

**HW Board Variate: p3960-10-sw03
Issue Description: Testing nvsipl_camera example with multiplex option, the HW wire connection is mismatch with board schematic describe in Heterogeneous Frame Synchronization

while in the graph,Fsync1 should be connected to 96712 MFP2, Fsync3 connected MFP4 through MultiplexerD.2, but in test Fsync3 is connected to 96712 MFP2, Fsync1 is connected to MultiplexerD.2.
**

Dear @snow.yin ,
Do you notice the same observation as IMX728 framerate remains the same despite modifying Fsync generator - #5 by nina.krishnan ?

yes, below are test observation.

modify only gen380, without multiplex option, frame rate remain 30. (due to gen480 is 30)

modify only gen380, with multiplex option select 3, frame rate changed according to it.

modify only gen480, without multiplex option, frame rate changed according to it.

I got same test result as “Deser-D: Generator 2 (FSYNC3)”

Dear @snow.yin ,
Could you please share the used command and observations for our reference like which camera index got effected and FPS?

Dear @SivaRamaKrishnaNV
test steps:

1.run

sudo ./fsync_debug compare

check all 4 generator at default frequency

  • fsync1–gen0@380–30hz
  • fsync2–gen3@500–30hz
  • fsync3–gen2@480–30hz
  • fsync4–gen1@400–15hz

2.run

nvsipl_camera --platform-config "R0SIM728S3RU2120NB2_5Des_CPHY_x4" --link-enable-masks "0x0000 0x00 0x0000 0x0001 0x0000" -s -d 1

check fps 30.

3.stop nvsipl_camera, run

 sudo ./fsync_debug stopgroup 0
 sudo ./fsync_debug modifygenerator 0 0 20 25 0
 sudo ./fsync_debug startgroupnow 0
 sudo ./fsync_debug compare

check fsync1–gen0@380–20hz

4.run step2

check fps still 30.

5.stop nvsipl_camera, run

 sudo ./fsync_debug stopgroup 0
 sudo ./fsync_debug modifygenerator 0 0 30 25 0
 sudo ./fsync_debug modifygenerator 0 2 20 25 0
 sudo ./fsync_debug startgroupnow 0
 sudo ./fsync_debug compare

check fsync1–gen0@380–30hz, fsync3–gen3@480–20hz

6.run step2.

check fps 20.

7.stop nvsipl_camera, run

 sudo ./fsync_debug stopgroup 0
 sudo ./fsync_debug modifygenerator 0 0 10 25 0
 sudo ./fsync_debug modifygenerator 0 2 30 25 0
 sudo ./fsync_debug startgroupnow 0
 sudo ./fsync_debug compare

check fsync1–gen0@380–10hz, fsync3–gen3@480–30hz

8 run

nvsipl_camera --platform-config "R0SIM728S3RU2120NB2_5Des_CPHY_x4" --link-enable-masks "0x0000 0x00 0x0000 0x0001 0x0000" -s -d 1 -U '0 2 0' -D '4 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2'

check fps 10.

Could you share command used with multiplex option as you mentioned.

Hi @SivaRamaKrishnaNV

I have shared it, the -U option in step 8 is to select input pin 2 for multiplexer D

Yes. It appears some issue in the connection diagram. From initial observations it appears, FSYNC3 and FSYNC1 should be swapped . Let me try some more experiments to conclude the connections and update you.

Could you please provide any update for this topic?

Could you please provide any update for this topic?

Hi @carolyuu

Actually I am pretty sure that the SDK user guide diagram is mistaken. and we found the correct mapping already.

simply waiting for final confirmation. we can close this one.

Thank you!

Hey @snow.yin,
could you share the correct mappings?
Thanks!

what I tested is this

Port Group Model CSI Des First IO connection (Default) Des Second IO connection
1 E 96724 csi-gh MFP0 - Fsync1_gen0 MFP1 - Fsync3_gen2
2 D 96712 csi-ef MFP2 - Fsync3_gen2 MFP4 - MUX? (U option second index, pin0 NC, pin1 Fsync2_gen3; pin2 Fsync1_gen0; pin3 Fsync4_gen1)
3 C 96724 csi-d not tested not tested
4 A 96724 csi-ab MFP0 - Fsync2_gen3 MFP1 - MUX? (U option first index, pin 0 Fsync3_gen2, pin 1 NC, pin 2 Fsync1_gen0, pin3 Fsync4_gen1)
5 B 96792 csi-c not tested not tested