Avnet NXP RT1176 Installation manual

Page 2
1 Document Control
Document Version: v1.0
Document Date: 09/21/2021
Document Author: Peter Fenn
Document Classification: Public
Document Distribution: Public
2 Version History
Version
Date
Comment
1.0
09/21/2021
Release version (for Rev.3 production PCB)

Page 3
Contents
1Document Control................................................................................................. 2
2Version History..................................................................................................... 2
3Hardware Checklist .............................................................................................. 7
4Software Checklist................................................................................................ 7
5Introduction........................................................................................................... 8
5.1 MaaXBoard RT Info ....................................................................................... 9
5.2 Items Included with MaaXBoard RT............................................................... 9
5.3 Important Reference Documents ...................................................................9
5.4 MCU-LINK Debugger/Programmer Probe (Required Option)........................ 9
5.5 MCU-LINK-PRO Debugger/Programmer Probe (Optional).......................... 10
5.6 MIPI DSI 7-inch Capacitive Touch LCD Display (Optional).......................... 11
5.7 MIPI CSI 5 MP Camera (Optional)............................................................... 11
5.8 Other SBCs and SOMs from Avnet Boards (Optional)................................. 12
5.9 Hardware Setup for Application Development ............................................. 13
6MaaXBoard RT Architecture & Features............................................................ 14
6.1 Features....................................................................................................... 14
6.2 Block Diagram –NXP RT1176 Processor.................................................... 15
6.3 Block Diagram –MaaXBoard RT (Rev.3 PCB)............................................ 16
6.4 Location of Components on MaaXBoard RT................................................ 17
6.5 Jumpers, LEDs, and Switches ..................................................................... 18
6.5.1 Boot Mode Configuration Jumper (J19)..........................................................................18
6.5.2 Button Switches ..............................................................................................................18
6.5.3 Status LEDs....................................................................................................................18
6.6 Memory Resources...................................................................................... 19
6.6.1 Memory Maps for Application Development...................................................................20
6.6.2 Internal ROM/RAM memory map ...................................................................................20
6.6.3 HyperFlash Memory........................................................................................................21
6.6.4 HyperFlash Programming using NXP MCUBootUtility Application.................................23
6.6.5 HyperFlash Programming using MCUXpresso Secure Provisioning Tools....................25
6.6.6 On-chip TCM RAM and OCRAM....................................................................................26
6.6.7 SDRAM...........................................................................................................................26
6.7 Wireless Connectivity................................................................................... 27
6.7.1 Wi-Fi SDIO Interface.......................................................................................................30

Page 4
6.7.2 BT/BLE UART Interface..................................................................................................30
6.7.3 BT PCM Audio Interface.................................................................................................30
6.7.4 Wi-Fi / BT antenna..........................................................................................................30
6.8 Peripheral Devices and Interfaces ............................................................... 31
6.8.1 USB 2.0 Host Interface...................................................................................................31
6.8.2 USB 2.0 Device Interface................................................................................................31
6.8.3 GbE Ethernet (with TSN time-sync.)...............................................................................31
6.8.4 10/100 Ethernet (with IEEE 1588 time-sync.).................................................................31
6.8.5 CAN-FD...........................................................................................................................31
6.8.6 MIPI-DSI Display and Touchscreen................................................................................31
6.8.7 MIPI-CSI Camera............................................................................................................32
6.8.8 Digital Microphones ........................................................................................................32
6.8.9 Audio Codec ...................................................................................................................32
6.8.10 J9: Stereo Audio Jack.....................................................................................................32
6.8.11 J1: Pi-HAT compatible 40-pin header.............................................................................33
6.8.12 Pi HAT Expansion Boards ..............................................................................................33
6.8.13 MikroE Click Boards........................................................................................................33
6.8.14 J15: Custom 18-pin expansion header...........................................................................34
6.8.15 J17: UART1 USB Serial Port 3-pin header.....................................................................35
6.8.16 SWD/JTAG debugger 10-pin mini-header......................................................................35
6.9 Power Input, Protection and Regulation....................................................... 36
6.9.1 USB type-C Connector ...................................................................................................36
6.9.2 ESD Protection ...............................................................................................................36
6.9.3 Power Regulation............................................................................................................36
6.9.4 Measuring Power Consumption......................................................................................36
7Development Software Installation..................................................................... 37
7.1 NXP MCUXpresso IDE ................................................................................ 37
7.2 NXP MCUXpresso SDK............................................................................... 37
7.3 NXP GUI Guider........................................................................................... 37
7.4 NXP MCUBootUtility .................................................................................... 37
8Development Environment ................................................................................. 38
8.1 Importing a Project zip File........................................................................... 38
8.2 Building projects........................................................................................... 39
8.3 Setting up the debugger............................................................................... 39
8.4 Downloading and running the application .................................................... 40
9Porting NXP RT1170-EVK SDK examples to MaaXBoard RT ........................... 41

Page 5
9.1 Building and running SDK RT1170-EVK Examples ..................................... 42
10 MaaXBoard RT Example Applications................................................................ 43
10.1 Custom System-level Reference Designs.................................................... 43
10.2 Adaptations of NXP RT1170-EVK SDK Examples....................................... 43
11 Customizing the OOB Test Suite (Ref. Design #1)............................................. 44
11.1 Overview of MaaXBoard-RT Reference Design #1...................................... 44
11.2 Console mode (CLI / Command-Line Interface)........................................... 46
11.3 GUI mode (Graphical UI) ............................................................................. 47
11.4 Project Structure for Reference Design #1................................................... 48
11.5 Adding a new CLI Command ....................................................................... 50
12 Customizing the Wi-Fi Webserver (Ref. Design #2)........................................... 51
12.1 Overview of the MaaXBoard-RT Reference Design #2................................ 51
12.2Modes of Operation...................................................................................... 52
12.2.1 HyperFlash Partitioning...................................................................................................52
12.2.2 Soft AP mode..................................................................................................................53
12.2.3 Wi-Fi Client Mode ...........................................................................................................53
12.3 Project Structure for Reference Design #2................................................... 54
12.3.1 M7 (MASTER) Wi-Fi Webserver project.........................................................................55
12.3.2 M4 (SLAVE) Sensor Service project...............................................................................55
12.4 Installing the Click Boards............................................................................ 56
12.5 Running the demo........................................................................................ 56
12.6 HyperFlash as runtime storage.................................................................... 57
12.7 User Customization...................................................................................... 58
12.7.1 Frontend (Webserver UI)................................................................................................58
12.7.2 Backend (LWIP, CGI, HTTP)..........................................................................................58
12.7.3 Webserver access via Smartphone................................................................................59
13 Known Issues..................................................................................................... 60
14 Cautionary Notes................................................................................................ 60
15 Technical Support............................................................................................... 61
15.1NXP-hosted Technical Support Resources.................................................. 61
15.2 Avnet-hosted Technical Support Resources................................................ 61
16 Sales Contact Info.............................................................................................. 61
17 Disclaimer........................................................................................................... 62
18 Safety Warnings................................................................................................. 62

Page 6
Figures
Figure 1 –NXP MCU-LINK Debug/Programmer Probe.............................................. 9
Figure 2 –NXP MCU-LINK-PRO Debug/Programmer Probe ................................... 10
Figure 3 –Typical hardware setup for software development................................... 13
Figure 4 –NXP RT1176 Processor Block Diagram .................................................. 15
Figure 5 –MaaXBoard RT Block Diagram................................................................ 16
Figure 6 –LEDs and Button Switches ...................................................................... 18
Figure 7 –RT1176 on-chip memory resources......................................................... 19
Figure 8 –NXP MCU Boot Utility Settings for Erase of Flashloader......................... 24
Figure 9 –Mass Erase / Reload of Default Flash Driver........................................... 25
Figure 10 –Murata Type-1ZM Wi-Fi/BT Combo Module Block Diagram.................. 27
Figure 11 –Schematic Detail of Wi-Fi/BT Implementation........................................ 29
Figure 12 –Current-measurement USB Dongle....................................................... 36
Figure 13 –Configure GUI_EN in global.h................................................................ 46
Figure 14 –Default list of supported CLI Menu commands...................................... 46
Figure 15 –Screen orientation in project settings..................................................... 47
Figure 16 –Project folders........................................................................................ 49
Figure 17 –HyperFlash Base address...................................................................... 52
Tables
Table 1 –Hardware Checklist..................................................................................... 7
Table 2 –Software Checklist ...................................................................................... 7
Table 3 –Location of Key Components on MaaXBoard RT ..................................... 17
Table 4 –Memory map settings when using RAM and SDRAM............................... 20
Table 5 –Wi-Fi/BT Module Interface (mapped to SDK/EVK signal names).............. 28
Table 6 –BT PCM Audio Interface (mapped to SDK/EVK signal names)................. 30
Table 7 –Pi-HAT compatible 40-pin header (J1)...................................................... 33
Table 8 –Custom 18-pin Expansion header (J15).................................................... 34
Table 9 –UART1 console debug VCOM 3-pin header (J17).................................... 35
Table 10 –SWD/JTAG debugger 10-pin mini-header (J16) ..................................... 35

Page 7
3 Hardware Checklist
Hardware items recommended for application development are the following
#
Item Description
1
Computer (Windows / Linux / Mac) with installed development tools (see below)
2
Avnet MaaXBoard RT board http://avnet.me/MaaXBoard-RT
3
NXP MCU-LINK Debugger/Programmer Probe
(plus USB type-A to MicroUSB cable)
4
5V 1A power adapter
(plus USB type-A to USB type-C cable)
5
USB current monitor dongle (optional)
6
MaaXBoard MIPI-DSI 7” Capacitive Touch 720 x 1280 Display (optional)
p/n: AES-ACC-MAAX-DISP1
7
MaaXBoard MIPI-CSI Camera, 5 Mpixel, OV5640 image sensor (optional)
p/n: AES-ACC-MAAX-CAM1
Table 1 –Hardware Checklist
4 Software Checklist
Listed below are the software items mentioned in this document
#
Item Description
1
NXP MCUXpresso IDE (MCUXpressoIDE_11.4.1 or later)
https://mcuxpresso.nxp.com
2
NXP MCUXpresso SDK (SDK_2.10.1_MIMXRT1170-EVK or later)
Search by name: “RT1170-EVK” on NXP SDK builder site at:
https://mcuxpresso.nxp.com/en/select
Select MIMXRT1170-EVK then click Build MCUXpresso SDK_2.10.1 to download
3
NXP GUI Guider (v1.2.0 or later), LVGL Editor & Code Generation tool)
https://www.nxp.com/GUI-GUIDER
4
NXP MCUBootUtility (v3.3.1 or later)
https://github.com/JayHeng/NXP-MCUBootUtility
5
Replace files of the same names in NXP SDK examples. Download thefiles from:
http://avnet.me/MaaXBoard-RT-SDK
xip folder: (changes to target Hyperflash memory)
MaaXBoard_S26KS256.cfx (replaces MIMXRT1170_SFDP_QSPI.cfx)
evkmimxrt1170_flexspi_nor_config.c
board folder:
board.h (changed to define default MaaXBoard RT interfaces)
dcd.c (changed to define x16 width SDRAM interface)
Table 2 –Software Checklist

Page 8
5 Introduction
•1GHz SBC with advanced real-time capabilities
–Use as a processing sub-assembly in OEM products or as a versatile development board
–Raspberry Pi-4B form-factor facilitates easier enclosure and cabling integration
–40-pin HAT compatible expansion header (ie. access Pi HAT ecosystem add-on boards)
–18-pin custom expansion connector
•Based on NXP i.MX RT1176 Crossover MCU
–Cortex-M7 @1GHz and Cortex-M4 @400 MHz
•Board is well resourced with high-speed memories
–On-chip: 2 MB RAM (TCM and OCRAM)
–Onboard: 32 MB SDRAM
–Onboard: 32 MB HyperFlash
•Comprehensive set of board interfaces and peripheral devices
–40-pin Pi-HAT compatible expansion connector
–18-pin custom expansion connector
–1x USB Host interface (type-A connector)
–1x USB Device interface (type-C connector)
–1x GbE Ethernet (with TSN)
–1x 10/100 Ethernet (with IEEE1588)
–SWD/JTAG debugger 10-pin mini header (use NXP MCU-Link, or 3rd party debug probe)
–MIPI-DSI touch display interface (2-lane, supports up to 1280x800 display)
–MIPI-CSI camera interface (2-lane, pinout is same as on Raspberry-Pi)
–Audio subsystem with 4x onboard digital microphones plus stereo audio output jack
–802.11ac Wi-Fi and Bluetooth 5
–U.FL connected external antenna
–High efficiency 5V to 3.3V dc/dc buck convertor, plus low-current low-voltage LDOs
–Operating Temperature: -30~85°C
–Dimensions: 85mm x 56mm (same as Raspberry-Pi 4)

Page 9
5.1 MaaXBoard RT Info
Part# to order: AES-MC-SBC-IMXRT1176-G
Product Page: http://avnet.me/MaaXBoard-RT
5.2 Items Included with MaaXBoard RT
MaaXBoard RT board
QuickStart Card
Downloadable examples, reference designs and documentation
5.3 Important Reference Documents
MaaXBoard RT QuickStart Card
MaaXBoard RT Product Brief
MaaXBoard RT Hardware User Guide (this document)
MaaXBoard RT Schematic and BOM (available under NDA)
NXP IMXRT1170RM
5.4 MCU-LINK Debugger/Programmer Probe (Required Option)
The NXP MCU-LINK Debugger Probe configured for CMSIS-DAP protocol, is supported by multiple
IDEs and is available for purchase separately from Avnet
Standard MCU-Link features:
High speed USB,
SWD debug,
SWO profiling,
VCOM (USB to UART bridge)
Part# (and link):MCU-LINK (MSRP = $10.99)
Figure 1 –NXP MCU-LINK Debug/Programmer Probe

Page 10
5.5 MCU-LINK-PRO Debugger/Programmer Probe (Optional)
The new NXP MCU-LINK-PRO Debugger Probe provides an alternative debugger probe option
with several enhancements (available Sept 2021)
Features in common with MCU-Link:
High speed USB
SWD debug
SWO profiling
VCOM (USB to UART bridge)
Advanced MCU-Link-Pro features:
Target energy/power measurement
USB SPI & I2C bridges for programming/provisioning & host-based application development
On-board, user-programmable LPC804 for peripheral emulation
SEGGER J-Link firmware option
Option to power target system (at 1.8V or 3.3V)
Hardware capabilities for future enhancements
Part# (and link):MCU-LINK-PRO (MSRP = $39.99)
Figure 2 –NXP MCU-LINK-PRO Debug/Programmer Probe

Page 11
5.6 MIPI DSI 7-inch Capacitive Touch LCD Display (Optional)
Supports up to 1280 x 720 resolution
Compatible with all MaaXBoard SBC platforms.
Connects to host via 2-lane MIPI-DSI interface
Capacitive multi-touch display overlay
Custom displays available via Avnet Embedded
Part# (and link): AES-ACC-MAAX-DISP1 (MSRP = $78.95)
5.7 MIPI CSI 5 MP Camera (Optional)
High quality 5 MP image sensor
Compatible with all MaaXBoard SBCs and Raspberry Pi
Attaches to host via 2-lane MIPI CSI ribbon cable
Supports 1080p30, 720p60 and 640x480p90 video
Small dimensions (24mm x 25mm x 9mm)
Part# (and link): AES-ACC-MAAX-CAM1 (MSRP = $26.95)

Page 12
5.8 Other SBCs and SOMs from Avnet Boards (Optional)
The Avnet Products & Emerging Technology engineering team work in close partnership with
key suppliers to develop advanced enablement solutions
•Kits / Boards / SOMs / Modules
•Reference Designs
•Trainings / Tutorials / Blogs
For more information, visit avnet.me/avnetboards
Downloadable Solutions Guides are also available:
avnet.me/mpu-mcu-solutions-guide-2021 avnet.me/xlx-solutions-guide-2021

Page 13
5.9 Hardware Setup for Application Development
Figure 3 –Typical hardware setup for software development

Page 14
6 MaaXBoard RT Architecture & Features
6.1 Features
Based on NXP i.MX RT1176 crossover dual-core MCU with advanced real-time capabilities
Cortex-M7 @1GHz
–Class-leading Cortex-M7 benchmarks (2434 DMIPS, 5070 Coremark)
–Super-fast interrupts (12ns latency), up to 220 interrupts sources, 4 interrupt levels
–Exceptional power efficiency (<100uA/MHz), DFVS support for low-power operation.
–High reliability, with ECC support for L1 cache and TCM memory
–Large L1 cache (32KB I-Cache, 32KB D-Cache)
–512 KB TCM configurable as ITCM or DTCM with Zero-Wait-Cycle Access
–VFPv5 architecture floating point unit, supports single- and double-precision FPU
–Memory protection MPU supports up to 16 memory regions
Cortex-M4 @400 MHz
–Class-leading Cortex-M4 benchmarks (544 DMIPS, 1398 Coremark)
–Fast interrupts (30ns latency), up to 220 interrupts sources, 4 interrupt levels
–Exceptional power efficiency (<30uA/MHz),
DFVS support for low-power operation.
–L1 cache (16KB I-Cache, 16KB D-Cache)
–256 KB TCM with Zero-Wait-Cycle Access
Easy integration into OEM custom products
–Use as a processing sub-assembly in OEM products or as a versatile development board
–Raspberry Pi-4B form-factor facilitates easier enclosure and cabling integration
–40-pin HAT compatible expansion header (ie. access Pi HAT ecosystem add-on boards)
–18-pin custom expansion connector
Board is well resourced with high-speed memories
–On-chip: 2 MB RAM, flexible configuration as TCM and OCRAM
–Onboard: 32 MB SDRAM (16 M x 16)
–Onboard: 32 MB HyperFlash (32 M x 8)
Comprehensive set of board interfaces and peripheral devices
–40-pin Pi-HAT compatible expansion connector
–18-pin custom expansion connector
–2x USB host interfaces
–1x GbE Ethernet (with TSN)
–1x 10/100 Ethernet (with 1588)
–SWD/JTAG debugger 10-pin mini header (use NXP MCU-Link, or 3rd party debug probe)
–MIPI-DSI touch display interface (2-lane, supports up to 1280x800 display)
–MIPI-CSI camera interface (2-lane, pinout is same as on Raspberry-Pi)
–Audio subsystem with 4x onboard digital microphones plus stereo audio output jack
–802.11ac Wi-Fi and Bluetooth 5
–U.FL connected external antenna
–High efficiency 5V to 3.3V dc/dc buck convertor, plus low-current low-voltage LDOs
–Operating Temperature: -30~85°C
–Dimensions: 85mm x 56mm (same as Raspberry-Pi 4B)

Page 15
6.2 Block Diagram –NXP RT1176 Processor
Figure 4 –NXP RT1176 Processor Block Diagram

Page 16
6.3 Block Diagram –MaaXBoard RT (Rev.3 PCB)
Figure 5 –MaaXBoard RT Block Diagram

Page 17
6.4 Location of Components on MaaXBoard RT
#
Component Description
#
Component Description
1
NXP RT1176DVMAA processor
13
1G Ethernet PHY
2
Spansion HyperFlash memory
14
1G Ethernet MagJack RJ45 connector
3
ISSI SDRAM memory
15
PDM digital microphones (4)
4
Boot Mode Selection Jumper (J19)
16
Stereo audio output jack
5
Dual-band Wi-Fi/BT combo module
17
SWD / JTAG debug mini 10-pin header
6
U.FL external antenna connector
18
Pi HAT compatible 40-pin header (J1)
7
MIPI-DSI touch display interface
19
Custom expansion 18-pin header (J15)
8
MIPI-CSI camera interface
20
Console Debug UART 3-pin Header (J17)
9
USB 2.0 device + power type-C connector
21
USER button switch (S1)
10
USB 2.0 host type-A connector
22
RESET button switch (S2)
11
10/100 Ethernet PHY
23
USER RGB LED
12
10/100 Ethernet MagJack RJ45 connector
24
PWR LED
Table 3 –Location of Key Components on MaaXBoard RT

Page 18
6.5 Jumpers, LEDs, and Switches
6.5.1 Boot Mode Configuration Jumper (J19)
6.5.2 Button Switches
Two pushbuttons are located at board edge, between MIPI-DSI connector and 40-pin header
Button
Switch
Function
Ref.
Des
RT1176
Pin
RT Board
Function
USER
WAKEUP
(SNVS ANA power domain)
S1
[T8]
GPIO13_IO00
GPIO Input / Wakeup
RESET
VDD_3V3 On/Off
(SNVS IN power domain)
S2
n/a
System Reset, active low
6.5.3 Status LEDs
Status
LEDs
Color
Ref.
Des.
RT1176
GPIO Pin
RT Board
Function
PWR
Green
D15
n/a
3V3 status
USER-RED
Red
LED1
[R15] GPIO9_IO07
GPIO / PWM
USER-GREEN
Green
LED1
[N3 ] GPIO8_IO28
GPIO / PWM
USER-BLUE
Blue
LED1
[R17] GPIO9_IO09
GPIO / PWM
Figure 6 –LEDs and Button Switches
Link
Pins
M1 M0
State
Setting
Description
None
00
Boot from Fuses
1-2
10
Internal Boot / IDE-based Development
2-3
01
Serial Downloader (using USB or UART)

Page 19
6.6 Memory Resources
The NXP RT1176 device is extremely flexible in what memory is utilized for application storage,
application execution and data storage. Note: Significant differences in performance can be
expected, when comparing code execution in the different types of memory.
Figure 7 –RT1176 on-chip memory resources

Page 20
6.6.1 Memory Maps for Application Development
Tabled below are typical memory map settings for applications using RAM and SDRAM
a) RAM-based Cortex-M7 low-latency/high-performance real-time application
Memory
Type
Mem.
Size
Mem.
Width
Mem.
Speed
Hex Start
Address
Hex Mem.
Size
SRAM_ITC_cm7
SRAM_DTC_cm7
256 KB
256 KB
32 bit
32 bit
TBD
TBD
0x0
0x20000000
0x40000
0x40000
SRAM_OC1
SRAM_OC2
512 KB
256 KB
32 bit
32 bit
TBD
TBD
0x20240000
0x202c0000
0x80000
0x40000
NCACHE_REGION
(in OCRAM)
256 KB
32 bit
TBD
TBD
0x20300000
0x40000
SRAM OC_ECC1
SRAM OC_ECC2
64 KB
64 KB
32 bit
32 bit
TBD
TBD
0x20340000
0x20350000
0x10000
0x10000
HyperFlash [bus=FlexSPI1]
p/n= S26KS256SDPBHI020
32 MB
8 bit
166 MHz
(DDR)
0x30000000
0x2000000
b) SDRAM-based Cortex-M7 application (eg. for an application with GUI display)
Memory
Type
Mem.
Size
Mem.
Width
Mem.
Speed
Hex Start
Address
Hex Mem.
Size
SRAM_ITC_cm7
SRAM_DTC_cm7
256 KB
256 KB
32 bit
32 bit
TBD
TBD
0x0
0x20000000
0x40000
0x40000
SRAM_OC1
SRAM_OC2
512 KB
256 KB
32 bit
32 bit
TBD
TBD
0x20240000
0x202c0000
0x80000
0x40000
SRAM OC_ECC1
SRAM OC_ECC2
64 KB
64 KB
32 bit
32 bit
TBD
TBD
0x20340000
0x20350000
0x10000
0x10000
HyperFlash [bus=FlexSPI1]
p/n= S26KS256SDPBHI020
32 MB
8 bit
166 MHz
(DDR)
0x30000000
0x2000000
SDRAM [bus=SEMC0 ]
p/n = IS42S16160J-6BL
32 MB
16 bit
166 MHz
(DDR)
0x80000000
0x1000000
NCACHE_REGION
p/n = IS42S16160J-6BL
32 MB
16 bit
166 MHz
(DDR)
0x81000000
0x1000000
Table 4 –Memory map settings when using RAM and SDRAM
6.6.2 Internal ROM/RAM memory map
The RT1176 has 256 KB of on-chip ROM. (ROM is only used by the M7 core during boot up).
Table of contents
Other Avnet Computer Hardware manuals
Popular Computer Hardware manuals by other brands

Texas Instruments
Texas Instruments AM1802 reference guide

ADLINK Technology
ADLINK Technology 6216-GL Series user manual

Aaeon
Aaeon UP Xtreme i12 Edge installation guide

InFocus
InFocus SP-CWRS232 Product note

Goodwe
Goodwe Ezlink3000 Quick installation guide

mikroElektronika
mikroElektronika GSM3 click SIM800H quick start guide