Unable to stream the video properly in IMX RT1170 using PXP and LVGL

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

Unable to stream the video properly in IMX RT1170 using PXP and LVGL

Jump to solution
1,104 Views
Ragnar
Contributor III

Hi NXP,

I was able to stream 720p using PXP and LVGL in IMX RT1170 using evkmimxrt1170_lvgl_guider_cm7. But while streaming I'm getting some lines in the form of blocks on the LCD and the previous frame is overlaying on the present frame only in the area where lines are coming I'm attaching the images related to it below.     

   
             The data coming from the image sensor is YUV422 8bit and I'm using the same configurations for PS layer as in evkmimxrt1170_csi_mipi_rgb_cm7.

Can you please help me regarding this problem.

 

Thanks & Regards,

Ragnar.

Tags (1)
0 Kudos
Reply
1 Solution
805 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Ragnar,

This issue must be due to the color format that the camera is outputting vs the color format the example code expects, as described on section "8.4.1 Pixel format errors" of the i.MX 8/RT MIPI DSI/CSI-2 (nxp.com). Please look into this application note for more information on how to correct this issue.

BR,
Edwin.

View solution in original post

5 Replies
946 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Ragnar,

Do you also see this issue when using other pixel color formats?

 

0 Kudos
Reply
924 Views
Ragnar
Contributor III

Hi @EdwinHz ,

              Yes I could able to see the same issue with the other pixel formats also and when I reduce the FPS from 30 to 15 the issue is getting reduced but my requirement is 30FPS.

Could you please help me regarding this ?

 

Regards,

Ragnar.

0 Kudos
Reply
806 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Ragnar,

This issue must be due to the color format that the camera is outputting vs the color format the example code expects, as described on section "8.4.1 Pixel format errors" of the i.MX 8/RT MIPI DSI/CSI-2 (nxp.com). Please look into this application note for more information on how to correct this issue.

BR,
Edwin.

1,067 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Ragnar,

Please help me by answering the following questions about this topic:

Are you using the EVK or a custom board? What version of SDK are you using? How are you enabling PXP? Is the issue still present if PXP is not enabled?

BR,
Edwin.

0 Kudos
Reply
1,025 Views
Ragnar
Contributor III

Hi @EdwinHz ,

Thanks for the reply. Here are the answers for your questions.

1. Yes I am using RT1170 EVK board only.

2. SDK version is 2.14.

3. Yes the PXP is enabled.

I have tried changing the  

DEMO_CAMERA_BUFFER_BPP = 2 with Buswidth 16 and PXP PS buffer format to

kPXP_PsPixelFormatUYVY1P422 than the block of lines had disappeared but the

streaming image color got changed. You can find the images below regarding that.

 

Regards,

Ragnar.

Tags (1)
0 Kudos
Reply