Hi nvidia team:
When I use Orin debug sensor(imx390)+max96717+max96712. On phy_mode is “DPHY”, Orin can get video; but On phy_mode is “CPHY”, Orin not get anything.
On “DPHY” foundation, I set mode0 “phy_mode = “CPHY”;”
When I run “v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=UYVY --set-ctrl bypass_mode=0 --stream-mmap -d /dev/video0” cmd, I can get mipi wave form by measuring the signal with an oscilloscope,;
What’s the CPHY clock? Did you verify with lower speed like 1.0 ~ 1.5 G
Does your HW DPHY/CPHY compatible? Please check the design guide for the detail.
Hi ShaneCCC :
Can you tell me where to set “POLARITY_SWIZZLE_CPHY” up?
I think it look like set “brick_config.lane_polarity” , so I set it from NVCSI_CPHY_POLARITY_ACB to NVCSI_CPHY_POLARITY_CBA, but Orin can not get mipi data.
If you follow the design guide that could be compatible for CPHY and DPHY that shouldn’t need to configure the “brick_config.lane_polarity”
Beside the index should be from 0 - 3
Hi ShaneCCC:
I use next to set "NVCSI_PHY_0_NVCSI_CIL_A_POLARITY_SWIZZLE_CTRL_0 " bit [13:8] ;
brick_config.lane_polarity[3] = NVCSI_CPHY_POLARITY_BCA;
brick_config.lane_polarity[3] = (brick_config.lane_polarity[3] << 3) + NVCSI_CPHY_POLARITY_ABC;
dev_info(csi->dev, “ncs:: CPHy mode: default 0x%04X\n”, brick_config.lane_polarity[3]);
Still unable to receive MIPI data, what wrong I done, Please help !