RT1064 Migrating UVC

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

RT1064 Migrating UVC

1,672 Views
徐芳泽
Contributor I

I want to port uvc to RT1064 following the RT1050 documentation tutorial. I followed every step of the tutorial, but after compiling and running it does not show any UVC device. Is there anything else I need to change? I am also using the MT9M114 camera and the following is my project.

 

Hello (NXP support in particular),

I am trying to use the latest (to date) SDK samples provided by NXP to stream video out of a MIMXRT1064 EVAL (a combination of the examples "video virtual camera" and "csi_rgb565"),  I followed every step of the tutorial,

Migrating AN12103 to EVKB-MIMXRT1050 with MCUXpres... - NXP Community

But after compiling and running it does not show any UVC device. Is there anything else I need to change? I am also using the MT9M114 camera and the following is my project.

Can someone please have a look and tell me why I cannot reach 30 FPS and what needs to happen to get there?

Thanks in advance!

Labels (1)
0 Kudos
Reply
4 Replies

1,656 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @徐芳泽 , here is an other AN that can help you, https://www.nxp.com/docs/en/application-note/AN12110.pdf, but you can try to use the example in SDK and works with that example.

 

CarlosGarabito_0-1670383658922.png

 

0 Kudos
Reply

1,648 Views
徐芳泽
Contributor I

Hello (NXP support in particular),
I gave up using RT1064 for the UVC port. I am now using RT1050EVK for UVC and after I followed this tutorial,
https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Migrating-AN12103-to-EVKB-MIMXRT1050-with-MCUXpr...
This project still does not work properly, does not show any uPVC camera device, I am using EVKB1050, SDK version 2.12.1, MT9M114 camera, project as attached

where I single-step debugging found this sentence in main.c can not be executed:

SEMC->SDRAMCR3 |= SEMC_SDRAMCR3_REN_MASK;

after i delete this sentence, this sentence in void InitCamera() can not be executed:

memset(s_cameraFrameBuffer, 0, sizeof(s_cameraFrameBuffer));

Could you please tell me, is there something wrong in my porting or what parameters need to be changed?
Also, I downloaded the uvc_demo provided under this tutorial, but he can't compile it, please tell me how to fix it. Thank you very much for your patience and help!

 

0 Kudos
Reply

1,642 Views
徐芳泽
Contributor I

_0-1670472430569.png

 

补充一下,memset会跑到这然后不行了

0 Kudos
Reply

1,640 Views
徐芳泽
Contributor I

_0-1670472856282.png

 

这是我的硬件,请问我有什么是需要改动的吗?或者,我的软件是否与我的硬件适配?比如在SDRAM方面

0 Kudos
Reply