NXP Semiconductors i.MX RT1170 Application Note

NXP Semiconductors i.MX RT1170 Application Note

Crossover processor

Advertisement

AN13205
Development of H.264 Video Encode on RT Series
Rev. 0 - March 25, 2021

1 Introduction

The i.MX RT1170 crossover processor sets speed records at 1 GHz. This
ground-breaking family combines superior computing power and multiple
media capabilities with more usable as well as real-time functionality. The
dual-core i.MX RT1170 runs on the Arm
Cortex-M4 at 400 MHz. It provides best-in-class security. The i.MX RT1170
MCU supports a wide range of temperature and is qualified for consumer,
industrial and automotive markets.
This application note describes how to develop an H264 video encoder
application with NXP i.MX RT1170 processor.
For such applications, the i.MX RT1170 receives YUV format video source
from the microSD card then invokes the X264 Library to encode the video
source and generates H264 data.

2 Hardware and software platforms

This section presents short introductions of the hardware and software platforms of the demo application, including the
below items.

i.MX RT1170 processor

i.MX RT1170 EVK board

SDK for i.MX RT1170 EVK board
Libx264
2.1 i.MX RT1170 processor
i.MX RT1170
is a new processor family featuring NXP's advanced implementation of the high performance Arm Cortex
Core and a power efficient Arm Cortex
and best real-time response. The i.MX RT1170 has 2 MB on-chip RAM in total, including a 512 KB RAM which can be flexibly
configured as TCM or general-purpose on-chip RAM. The i.MX RT1170 integrates advanced power management module with
DCDC and LDO that reduces complexity of external power supply and simplifies power sequencing. The i.MXRT1170 also
provides various memory interfaces, including SDRAM, Raw NAND FLASH, NOR FLASH, SD/eMMC, Quad SPI, HyperRAM/
HyperFlash and a wide range of other interfaces for connecting peripherals, such as WLAN, Bluetooth
camera sensors. Same as other i.MX processors, i.MX RT1170 also has rich audio and video features, including MIPI CSI/DSI,
LCD display, graphics accelerator, camera interface, SPDIF and I2S audio interface.
2.2 i.MX RT1170 EVK board
The i.MX RT1170 EVK board is a platform designed to showcase the most commonly used features of the i.MX RT1170 processor.
The EVK board offers the below features:
• 6468 CoreMark with Cortex-M7 @ 1 GHz + Arm Cortex-M4 @ 400 MHz
• 2 MB SRAM with 512 KB of TCM for Cortex-M7 and 256 KB of TCM for Cortex-M4
®
®
Cortex
-M7 core at 1 GHz and Arm
®
-M4 Core. It offers high-performance processing optimized for lowest power consumption
Contents
1
Introduction......................................1
2
2.1
i.MX RT1170 processor............... 1
2.2
i.MX RT1170 EVK board............. 1
2.3
..................................................... 2
2.4
Libx264........................................ 2
3
application....................................... 3
3.1
3.2
3.3
3.4
Software encode.......................... 5
3.5
4
Performance analysis......................6
5
Conclusion.......................................7
6
References...................................... 7
7
Revision history............................... 7
®
, GPS, displays, and
Application Note
®
-M7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the i.MX RT1170 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for NXP Semiconductors i.MX RT1170

  • Page 1 -M4 Core. It offers high-performance processing optimized for lowest power consumption and best real-time response. The i.MX RT1170 has 2 MB on-chip RAM in total, including a 512 KB RAM which can be flexibly configured as TCM or general-purpose on-chip RAM. The i.MX RT1170 integrates advanced power management module with DCDC and LDO that reduces complexity of external power supply and simplifies power sequencing.
  • Page 2 CSI/DSI • Supported by MCUXpresso suite of software and tools Figure 1 presents the picture of the i.MX RT1170 EVK. Figure 1. i.MX RT1170 EVK 2.3 SDK for i.MX RT1170 EVK board provides comprehensive software support for multiple microcontroller families from NXP. The SDK comprises the blow components: •...
  • Page 3 • External QSPI flash or Octal flash provides code space for non-debugging running configuration with XIP capability. The i.MX RT1170 accesses flash devices by the FlexSPI controller. • The Open-Standard Serial Debug Adapter (OpenSDA) provides SWD debug access, debug UART bridge, and power supply for the board.
  • Page 4 NXP Semiconductors Develop H.264 video encoding application i.MX RT1170 EVK reads video source from microSD card and stores in the frame buffers located in SDRAM. Software encode video data with X264. 3.2 Build the demo project and run code package with this document is self-contained, and you can build the project quite straightforward as below: 3.2.1 Build and run from Flash...
  • Page 5 NXP Semiconductors Develop H.264 video encoding application Figure 6. Memory allocation schemes 3.4 Software encode The encoding process reads the video source from the microSD card and encode the video data using the Figure 7 libx264 shows the process of video decompression.
  • Page 6 NXP Semiconductors Performance analysis source to test.yuv when testing their own video source. To modify the parameters, press Ctrl+Shift+f to modify, as show Figure Figure 8. Parameter search Encode: 1. x264_encoder_open(): Turn on the encoder and return an encoder handle x264_t * 2.
  • Page 7 This application note describes the steps of how to develop H.264 video encode application with the i.MX RT1170 proessor based on the SDK of i.MX RT1170 EVK board, from building project to completing the application. The peripheral drivers and the various middleware offered by the SDK make it easy for the whole development process.
  • Page 8 Right to make changes - NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof.

Table of Contents