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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

308 Views
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 Kudos
Reply
1 Reply

295 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2168931%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx8mp%20csis-hs-settle%20and%20csis-clk-settle%20calculations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2168931%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3CBR%20%2F%3EI%20want%20to%20know%20the%20respective%20values%20to%20set%20in%26nbsp%3Bcsis-hs-settle%20and%20csis-clk-settle.%3C%2FP%3E%3CP%3EThe%20Data%20rates%20am%20working%20with%20are%20891%20Mbps%2C%201782%20Mbps%20and%202079%20Mbps.%20For%20these%20what%20value%20should%20I%20keep%20in%20my%20device%20tree%3F%20Kindly%20help%20me%20with%20this.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2169015%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8mp%20csis-hs-settle%20and%20csis-clk-settle%20calculations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2169015%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F244980%22%20target%3D%22_blank%22%3E%40Navee_nK%3C%2FA%3E!%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EBased%20on%20the%20i.MX%208M%20Plus%20Reference%20Manual%2C%20the%20values%20for%20csis-hs-settle%20and%20csis-clk-settle%20in%20the%20device%20tree%20are%20determined%20by%20the%20MIPI%20D-PHY%20timing%20requirements%2C%20which%20are%20directly%20influenced%20by%20the%20CSI%20interface%20data%20rate.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThese%20parameters%20are%20configured%20through%20the%20following%20registers%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHSSETTLE%5B7%3A0%5D%20%E2%86%92%20corresponds%20to%20csis-hs-settle%3CBR%20%2F%3ECLKSETTLECTL%5B1%3A0%5D%20%E2%86%92%20corresponds%20to%20csis-clk-settle%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ETo%20ensure%20proper%20bandwidth%20matching%20between%20the%20CSI%20receiver%20and%20the%20image%20sensor%2C%20the%20following%20equation%20must%20be%20satisfied%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3ERX_BYTE_CLK_HS%C3%97Number%26nbsp%3Bof%26nbsp%3BData%26nbsp%3BLanes%C3%978%E2%89%A4Pixel%26nbsp%3BClock%C3%97Bitwidth%26nbsp%3Bof%26nbsp%3BImage%26nbsp%3BFormat%C3%97Pixels%26nbsp%3Bper%26nbsp%3BClock%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThis%20formula%20and%20its%20context%20are%20documented%20in%20the%20%3CSTRONG%3EMIPI%20CSI%20Host%20Controller%3C%2FSTRONG%3E%20section%20of%20the%20Reference%20Manual%2C%20specifically%20on%20%3CSTRONG%3Epage%205364%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3EChavira%3C%2FP%3E%3C%2FLINGO-BODY%3E