/an-hd_camera_rt1050

This HD camera demo shows how to receive the camera data using CSI driver. In this example, you will see the camera frames shown in the LCD. Optionally, you can touch the LCD panel with you finger, the current frame will be compressed to JPEG format and stored in the microSD card.

Primary LanguageCOtherNOASSERTION

NXP Application Code Hub

AN12110: Developing a Camera Application with i.MX RT Series

This application note describes how to develop an HD camera application with the NXP i.MX RT1050 processor.

For this demo application, the RT1050 receives video frames from a camera device with resolution of HD-720 (1280x720 pixels, also called 720P), displays on an LCD panel, and optionally saves to a microSD card with compressed JPEG format.

Please refer to AN12110 for complete instructions on how to use this software.

Categories: Graphics, SDMMC, Vision

Peripherals: DISPLAY, SDMMC, VIDEO

Toolchains: IAR

Table of Contents

  1. Software
  2. Hardware
  3. Setup
  4. Results
  5. FAQs
  6. Support
  7. Release Notes

1. Software

This demo is built based on NXP MCUXpresso SDK. All required source files to run the demo are contained in this repository.

  • MCUXpresso SDK: 2.3.0
  • SD MMC SDIO Card middleware: 2.2.2
  • FatFs: 0.12c
  • libjpeg: 9b
  • IAR Embedded Workbench for ARM: 9.30.1

2. Hardware

  • EVK-MIMXRT1050 Rev A or EVKB-IMXRT1050 Rev A/B boards
  • MT9M114 camera module
  • RK043FN02H-CT LCD module
  • microSD card
  • Personal Computer
  • Micro USB cable

3. Setup

  1. Connect the RK043FN02H-CT module to J8 of EVK-MIMXRT1050.
  2. Connect the MT9M114 camera module to J35 of EVK-MIMXRT1050.
  3. Insert the microSD card to the EVK SD card slot J20.
  4. Connect a micro USB cable between the host PC and the OpenSDA USB port J28 on the EVK-MIMXRT1050 board.
  5. Open a serial terminal with the following settings:
    • 115200 baud rate
    • 8 data bits
    • No parity
    • One stop bit
    • No flow control
  6. Build a configuration and download the program to the target board.

4. Results

When the demo runs successfully, the camera frames are shown in the LCD. And the below log is shown in the serial terminal.

Camera demo starting...

You can touch the LCD panel with your finger, the current frame will be compressed to JPEG format and stored in the microSD card. And the the serial terminal shows:

Start of JPEG Compression... 
Done: xxx is saved. 

5. FAQs

6. Support

If you have questions, please create a ticket in NXP Community.

Project Metadata

Board badge Board badge

Category badge Category badge Category badge

Peripheral badge Peripheral badge Peripheral badge

Toolchain badge

Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.

Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected funcionality, enter your questions on the NXP Community Forum

Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter

7. Release Notes

Version Description / Update Date
1.0 Initial release on Application Code Hub August 10th 2023