imx93 DSI send command fail in some case

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

imx93 DSI send command fail in some case

Jump to solution
1,457 Views
jiangyaqiang
Contributor V

HI experts:

 

   I got a problem when intergrade a mipi panel to imx93 board ,  the log is:

   "dw-mipi-dsi-imx 4ae10000.dsi:failed to write command FIFo"

    and the function "mipi_dsi_device_transfer" return with error=-110.

   After more research,  and found that not all commands fail, but some command with too much parameters will fail, for example: the driver send the following commands:

jiangyaqiang_0-1730901400423.png

it will fail at command : 0xB4 , 0xD3, 0xD5 , 0xD6.

  If I don't send the commands failed, the panel can show picture , but the picture position is   offset,  and I have confirmed the board is ok wit DSI TO HDMI,  and the panel is ok with imx8mini.

 

    Dose anyone has any suggestion ?

    Best Regards .

 

 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,425 Views
jiangyaqiang
Contributor V

Hi Zhiming:

 

Thanks.

And finally I found that add more timeout or don't send command in LPM will fix the problem.

View solution in original post

0 Kudos
Reply
2 Replies
1,431 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

The DSI controller in i.MX93 is different from i.MX8MM. 

Please refer Table 526. Error Cause and Recover  in i.MX93 RM. For pld_w_err, the controller can send such long packet at one time.

Zhiming_Liu_1-1730944309000.png

Please check with your panel vendor to see if you can split these long cmd lists.

 

Best Regards

Zhiming

0 Kudos
Reply
1,426 Views
jiangyaqiang
Contributor V

Hi Zhiming:

 

Thanks.

And finally I found that add more timeout or don't send command in LPM will fix the problem.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1988909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx93%20DSI%20send%20command%20fail%20in%20some%20case%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%20experts%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BI%20got%20a%20problem%20when%20intergrade%20a%20mipi%20panel%20to%20imx93%20board%20%2C%26nbsp%3B%20the%20log%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%22dw-mipi-dsi-imx%204ae10000.dsi%3Afailed%20to%20write%20command%20FIFo%22%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20and%20the%20function%20%22mipi_dsi_device_transfer%22%20return%20with%20error%3D-110.%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BAfter%20more%20research%2C%26nbsp%3B%20and%20found%20that%20not%20all%20commands%20fail%2C%20but%20some%20command%20with%20too%20much%20parameters%20will%20fail%2C%20for%20example%3A%20the%20driver%20send%20the%20following%20commands%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jiangyaqiang_0-1730901400423.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jiangyaqiang_0-1730901400423.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308956iE35FA41CA55D6E3B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jiangyaqiang_0-1730901400423.png%22%20alt%3D%22jiangyaqiang_0-1730901400423.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eit%20will%20fail%20at%20command%20%3A%200xB4%20%2C%200xD3%2C%200xD5%20%2C%200xD6.%3C%2FP%3E%3CP%3E%26nbsp%3B%20If%20I%20don't%20send%20the%20commands%20failed%2C%20the%20panel%20can%20show%20picture%20%2C%20but%20the%20picture%20position%20is%26nbsp%3B%20%26nbsp%3Boffset%2C%26nbsp%3B%20and%20I%20have%20confirmed%20the%20board%20is%20ok%20wit%20DSI%20TO%20HDMI%2C%26nbsp%3B%20and%20the%20panel%20is%20ok%20with%20imx8mini.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Dose%20anyone%20has%20any%20suggestion%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Best%20Regards%20.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1988909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1990165%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20DSI%20send%20command%20fail%20in%20some%20case%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1990165%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Zhiming%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3EAnd%20finally%20I%20found%20that%20add%20more%20timeout%20or%20don't%20send%20command%20in%20LPM%20will%20fix%20the%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1989640%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20DSI%20send%20command%20fail%20in%20some%20case%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1989640%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EHello%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EThe%20DSI%20controller%20in%20i.MX93%20is%20different%20from%20i.MX8MM.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EPlease%20refer%20Table%20526.%20Error%20Cause%20and%20Recover%26nbsp%3B%20in%20i.MX93%20RM.%20For%20pld_w_err%2C%20the%20controller%20can%20send%20such%20long%20packet%20at%20one%20time.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_1-1730944309000.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_1-1730944309000.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F309047iDA0B9C60370E6A8A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_1-1730944309000.png%22%20alt%3D%22Zhiming_Liu_1-1730944309000.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPlease%20check%20with%20your%20panel%20vendor%20to%20see%20if%20you%20can%20split%20these%20long%20cmd%20lists.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EBest%20Regards%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EZhiming%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E