MIMXRT1170-EVKB and Raspberry pi7inch on GUI Guider1.81

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MIMXRT1170-EVKB and Raspberry pi7inch on GUI Guider1.81

ソリューションへジャンプ
3,624件の閲覧回数
Ryo_Aoki
Contributor III

Hi NXP.
I would like to use the LCD for Raspberry Pi with GUI Guider1.81, MIMRT1170-EVKB, and the RASPI_7INCH option.
However, at the moment, even if I write the GUI Guider sample project, it does not work properly and the screen remains black.

 

The project on the site below has a working RaspberryPi LCD (probably a project created with GUI Guider).
https://github.com/nxp-appcodehub/dm-lvgl_cluster_rt1170_evkb_rpi

 

After checking the differences and porting the necessary parts of the source code from github above to the source code output by GUI Guider,
I was able to display the LCD screen.


 -Ported display_support.c

     Ryo_Aoki_0-1728024811168.png

     --left Github src   /   right gui guider output src

     --I guess GPIO control via PCA6416 IO expander is required

 -Ported pca6416.c/h, pca9530.c/h, rpi.c/h

 -Ported the contents of the talk_to_raspi() function from lvgl_guider.c to rpi.c

    Ryo_Aoki_2-1728025072386.png

    --github src  lvgl_guider.c

    -- I think this initialization function is necessary,

        but I think it would be better to have it in rpi.c/fsl_rpi.c rather than lvgl_guider.c where the main function is located.

 -Deleted fsl_rpi.c/h

 

However, this is an inconvenient situation,
so I hope that they will fix it so that RASPI_7INCH can run as is with the source code output by GUI Guider.

タグ(2)
0 件の賞賛
返信
1 解決策
3,325件の閲覧回数
zongchunyu
NXP Employee
NXP Employee

Hello Ryo.

Glad to hear you have identified the cause. I just checked my Raspberry panel.

your panel is newer than the one we have.  the driver may be different when we use different revision panel.

 

Best Regards

Zongchun

元の投稿で解決策を見る

6 返答(返信)
3,541件の閲覧回数
zongchunyu
NXP Employee
NXP Employee

Hello Ryo,

Thank you for reporting this issue.  since the latest MCUXpresso SDK has supported the Raspberry panel officially for RT1170EVKB board.  we have upgraded the SDK code to match the latest SDK from GUI Guider v1.8.0 release.  meanwhile the Raspberry panel support method you mentioned was dropped.

we also just checked the Raspberry panel using GUI Guider v1.8.1. no issue was found.  so could you please share your projects? we can help to check the reason.

 

Best Regards

Zongchun

0 件の賞賛
返信
3,510件の閲覧回数
Ryo_Aoki
Contributor III

Hi zongchunyu.


I shared a project I created with GUI Guider 1.81.
It has been split due to file size limitations.
This project simply loaded a sample program with the default settings,
without any special customization.

Ryo_Aoki_0-1728536269038.png

This project can be build and written to the board successfully using GUI Guider.
However,the display remains black and nothing can be displayed.
Similarly, the project can be build and written to the board successfully using MCU Xpresso.
However, the display remains black and nothing can be displayed.

The hardware and connections for the Raspberry Pi Display conform to the sample below,
and are working properly.

https://github.com/nxp-appcodehub/dm-lvgl_cluster_rt1170_evkb_rpi

This is not the case in my environment,
but does this mean that the source code output by GUI Guider 1.81 will work properly as is?

Best Regards.

0 件の賞賛
返信
3,490件の閲覧回数
zongchunyu
NXP Employee
NXP Employee

Hello Ryo,

I just tested your project on my RT1170EVKB board. no issue was found. please refer to the attachment.

 

Best Regards

Zongchun

0 件の賞賛
返信
3,329件の閲覧回数
Ryo_Aoki
Contributor III

Hi zongchunyu.

Thanks for testing. I did some testing and identified the cause.
In the source code output from GUIGuider,
I could see that the I2C communication was stuck at a certain point.

Ryo_Aoki_0-1729232776646.jpeg

 

It is repeating reading 0x82 to 0x10 of device 0x45 forever.
This is the POWERON wait part of fsl_rpi.c.

Ryo_Aoki_1-1729232914869.png

 

Indeed, this code will not proceed to the next step unless 0x*1 is read.
I tried commenting out this section and the display worked fine.

Ryo_Aoki_2-1729232971156.pngRyo_Aoki_3-1729232999210.jpeg

 

I don't have detailed information about the display,
but I think that the GUI Guider team's display and my display are probably different types, revisions, etc.

If possible, I would be happy if the code output by the tool can run on my own display without any modifications.
For reference, I have posted a photo of the display I have.

Ryo_Aoki_4-1729233057334.jpegRyo_Aoki_5-1729233066954.jpeg

 

0 件の賞賛
返信
3,326件の閲覧回数
zongchunyu
NXP Employee
NXP Employee

Hello Ryo.

Glad to hear you have identified the cause. I just checked my Raspberry panel.

your panel is newer than the one we have.  the driver may be different when we use different revision panel.

 

Best Regards

Zongchun

3,557件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Ryo_Aoki,

Thanks for sharing this information. It will be very useful for other users that might want to use the RASPI_7INCH with their MIMRT1170-EVKB as well.

That said, I agree that GUI Guider should be able to output a RASPI_7INCH project from the start as well.

I will comment this to the GUI Guider team and let them know this requirement.

Thanks again for sharing.

BR,
Edwin.

0 件の賞賛
返信