imx8mp bind csi, isp, dsi to M7 cortex. is it possible?

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

imx8mp bind csi, isp, dsi to M7 cortex. is it possible?

1,200件の閲覧回数
efly
Contributor I

Hello,

We are working on a device that needs to have a camera feed displayed on a screen in a couple of seconds max.  

I was wondering if it is possible to bind the display interface (CSI, ISP, and DSI) to the M7 cortex and boot an RTOS quickly.

Any thoughts ?

thank you 

efly_0-1707233694716.png

 

ラベル(1)
0 件の賞賛
返信
9 返答(返信)

1,163件の閲覧回数
terry_lv
NXP Employee
NXP Employee

Hi,

  From the diagram you provided, it seems that you want to use M7 to handle both the camera and display simultaneously?

  Actually, I'm not very sure if this is possible and how difficult it would be to implement.

  In my opinion, there're 3 problems that we need to resolve here:

  1. Fast boot of M7 core.
  2. SDK drivers of CSI, ISP, and DSI.
  3. M7 core and DDR performance.

  For 1, I think it's OK and you can refer to AN4049:
https://www.nxp.com/webapp/Download?colCode=AN14049&location=null

  For 2, I noticed that there's no CSI, ISP and DSI drivers in 8MP SDK. So you might need to port these drivers from other SoCs' SDK, u-boot or kernel. 
  I also checked i.MX RT SDKs, it seems these drivers are not implemented. The DSI driver can be ported from u-boot. CSI and ISP drivers need to be ported from kernel. It does need some efforts.
  Generally, the difficulty of porting is Other SDK < u-boot < kernel.

  For 3, for this case, the TCM should not be enough. I'm not sure whether the DDR and core performance is sufficient. We should do some test to confirm.

  Thanks!

Regards

Terry

141件の閲覧回数
arthurb
Contributor II
hi @terry_lv,
I could not find CSI+ISP drivers in any M7 SDK. (used the MCUXpresso SDK Builder).
can you please point me to a link if exists.
0 件の賞賛
返信

133件の閲覧回数
terry_lv
NXP Employee
NXP Employee

Hi @arthurb ,

  You can find mipi csi and dsi drivers in RT1180 SDK.

terry_lv_0-1725862673662.png

  But there's no ISP driver in SDK.

  Thanks!

Regards

Terry

0 件の賞賛
返信

1,145件の閲覧回数
efly
Contributor I

I guess it is better to put our efforts into linux boot time reduction at this stage.

Thank you so much for you input @terry_lv 

Regards,

E

0 件の賞賛
返信

1,131件の閲覧回数
terry_lv
NXP Employee
NXP Employee

Hi efly,

  There're two ANs you can refer to for fastboot of kernel:

AN14093 (https://www.nxp.com/docs/en/application-note/AN14093.pdf)

AN14113 (https://www.nxp.com/webapp/Download?colCode=AN14113&location=null)

  Both describes different ways to implement falcon mode in u-boot to reduce boot time. Moreover, AN14093 also talks about kernel optimizations.

  Hope this can help you.

  Thanks!

Regards

Terry

1,171件の閲覧回数
efly
Contributor I

@terry_lv it would be highly appreciated if you can help with this !

0 件の賞賛
返信

1,178件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

It's not possible to handle CSI nor DSI in Cortex-M, only Cortex-A.

Regards

0 件の賞賛
返信

1,173件の閲覧回数
efly
Contributor I
thank you for the reply Joseph.

Is this a software or hardware limitation?

I found this post on an IMX8MN

https://community.nxp.com/t5/i-MX-Processors/Use-M7-core-to-control-display-on-iMX8MN/m-p/1208041
0 件の賞賛
返信

142件の閲覧回数
arthurb
Contributor II
hi, doesn't seem like a hardware limitation. @efly pointed to MIPI-DSI driver for M7 on IMX8MN.
is there a CSI+ISP drivers for M7 SDK?
0 件の賞賛
返信