Assistance in MIMXRT1170 EVK coding

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

Assistance in MIMXRT1170 EVK coding

507 Views
AshaSP
Contributor I

Hi,

I'm coding in MIMXRT1170, where I'm trying to capture an image & save the image in SD card.

I found that the last data will be available in s_lcdBuffer[] & s_cameraBuffer[]. 

But I'm not able to proceed further.

With regards

Asha 

0 Kudos
5 Replies

498 Views
AshaSP
Contributor I

Hi,

I have used csi_mipi_rgb(for camera & display) & sd_jpeg(for SD card).

I combined both the SDK into 1 code.

But the data in s_cameraBuffer[] will be which format? 

Thankyou

Asha

 

0 Kudos

489 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @AshaSP ,

  AT_NONCACHEABLE_SECTION_ALIGN(static uint8_t s_cameraBuffer[DEMO_CAMERA_BUFFER_COUNT][DEMO_CAMERA_HEIGHT]
[DEMO_CAMERA_WIDTH * DEMO_CAMERA_BUFFER_BPP],
DEMO_CAMERA_BUFFER_ALIGN);

 

You still can use uint8_t.

 

Wish it helps you!
Best Regards,

Kerry

0 Kudos

487 Views
AshaSP
Contributor I

Hi, 

In what format will the image be present.?

0 Kudos

483 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @AshaSP ,

  Display format is determined by your elcdif settings, eg. RGB 565, RGB888, you need to check your code.

Best Regards,

Kerry

0 Kudos

500 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @AshaSP ,

   Which detail code you are using? The SDK core for RT1170?

 s_lcdBuffer will used to display the image.

s_cameraBuffer will used to receive the data from the camera.

If you want to capture an image & save the image in SD card, you can use s_cameraBuffer, as it is from the camera.

 

Wish it helps you!

Best Regards,

kerry

0 Kudos