imx8mp csis-hs-settle and csis-clk-settle calculations

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mp csis-hs-settle and csis-clk-settle calculations

159 次查看
Navee_nK
Contributor II

Hi, 
I want to know the respective values to set in csis-hs-settle and csis-clk-settle.

The Data rates am working with are 891 Mbps, 1782 Mbps and 2079 Mbps. For these what value should I keep in my device tree? Kindly help me with this. 

 

Thanks. 

0 项奖励
回复
1 回复

146 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @Navee_nK!

Based on the i.MX 8M Plus Reference Manual, the values for csis-hs-settle and csis-clk-settle in the device tree are determined by the MIPI D-PHY timing requirements, which are directly influenced by the CSI interface data rate.


These parameters are configured through the following registers:

 

HSSETTLE[7:0] → corresponds to csis-hs-settle
CLKSETTLECTL[1:0] → corresponds to csis-clk-settle


To ensure proper bandwidth matching between the CSI receiver and the image sensor, the following equation must be satisfied:

 

RX_BYTE_CLK_HS×Number of Data Lanes×8≤Pixel Clock×Bitwidth of Image Format×Pixels per Clock

 

This formula and its context are documented in the MIPI CSI Host Controller section of the Reference Manual, specifically on page 5364.

Best Regards,

Chavira

0 项奖励
回复