| 
 | 1 | +.. _mimxrt1015_evk:  | 
 | 2 | + | 
 | 3 | +NXP MIMXRT1015-EVK  | 
 | 4 | +##################  | 
 | 5 | + | 
 | 6 | +Overview  | 
 | 7 | +********  | 
 | 8 | + | 
 | 9 | +The i.MX RT1015 expands the i.MX RT crossover processor families by providing  | 
 | 10 | +high-performance feature set in low-cost LQFP packages, further simplifying  | 
 | 11 | +board design and layout for customers. The i.MX RT1015 runs on the Arm®  | 
 | 12 | +Cortex®-M7 core at 500 MHz.  | 
 | 13 | + | 
 | 14 | +.. image:: ./mimxrt1015_evk.jpg  | 
 | 15 | +   :width: 720px  | 
 | 16 | +   :align: center  | 
 | 17 | +   :alt: MIMXRT1015-EVK  | 
 | 18 | + | 
 | 19 | +Hardware  | 
 | 20 | +********  | 
 | 21 | + | 
 | 22 | +- MIMXRT1015DAF5A MCU  | 
 | 23 | + | 
 | 24 | +- Memory  | 
 | 25 | + | 
 | 26 | +  - 128 Mbit QSPI Flash  | 
 | 27 | + | 
 | 28 | +- Connectivity  | 
 | 29 | + | 
 | 30 | +  - Micro USB host and OTG connectors  | 
 | 31 | +  - Arduino interface  | 
 | 32 | + | 
 | 33 | +- Audio  | 
 | 34 | + | 
 | 35 | +  - Audio Codec  | 
 | 36 | +  - 4-pole audio headphone jack  | 
 | 37 | +  - External speaker connection  | 
 | 38 | +  - Microphone  | 
 | 39 | + | 
 | 40 | +- Debug  | 
 | 41 | + | 
 | 42 | +  - JTAG 10-pin connector  | 
 | 43 | +  - OpenSDA with DAPLink  | 
 | 44 | + | 
 | 45 | +For more information about the MIMXRT1015 SoC and MIMXRT1015-EVK board, see  | 
 | 46 | +these references:  | 
 | 47 | + | 
 | 48 | +- `i.MX RT1015 Website`_  | 
 | 49 | +- `i.MX RT1015 Datasheet`_  | 
 | 50 | +- `i.MX RT1015 Reference Manual`_  | 
 | 51 | +- `MIMXRT1015-EVK Website`_  | 
 | 52 | +- `MIMXRT1015-EVK Quick Reference Guide`_  | 
 | 53 | +- `MIMXRT1015-EVK Design Files`_  | 
 | 54 | + | 
 | 55 | +Supported Features  | 
 | 56 | +==================  | 
 | 57 | + | 
 | 58 | +The mimxrt1015_evk board configuration supports the following hardware  | 
 | 59 | +features:  | 
 | 60 | + | 
 | 61 | ++-----------+------------+-------------------------------------+  | 
 | 62 | +| Interface | Controller | Driver/Component                    |  | 
 | 63 | ++===========+============+=====================================+  | 
 | 64 | +| NVIC      | on-chip    | nested vector interrupt controller  |  | 
 | 65 | ++-----------+------------+-------------------------------------+  | 
 | 66 | +| SYSTICK   | on-chip    | systick                             |  | 
 | 67 | ++-----------+------------+-------------------------------------+  | 
 | 68 | +| GPIO      | on-chip    | gpio                                |  | 
 | 69 | ++-----------+------------+-------------------------------------+  | 
 | 70 | +| I2C       | on-chip    | i2c                                 |  | 
 | 71 | ++-----------+------------+-------------------------------------+  | 
 | 72 | +| UART      | on-chip    | serial port-polling;                |  | 
 | 73 | +|           |            | serial port-interrupt               |  | 
 | 74 | ++-----------+------------+-------------------------------------+  | 
 | 75 | + | 
 | 76 | +The default configuration can be found in the defconfig file:  | 
 | 77 | +``boards/arm/mimxrt1015_evk/mimxrt1015_evk_defconfig``  | 
 | 78 | + | 
 | 79 | +Other hardware features are not currently supported by the port.  | 
 | 80 | + | 
 | 81 | +Connections and I/Os  | 
 | 82 | +====================  | 
 | 83 | + | 
 | 84 | +The MIMXRT1015 SoC has five pairs of pinmux/gpio controllers.  | 
 | 85 | + | 
 | 86 | ++---------------+-----------------+---------------------------+  | 
 | 87 | +| Name          | Function        | Usage                     |  | 
 | 88 | ++===============+=================+===========================+  | 
 | 89 | +| GPIO_AD_B0_05 | GPIO            | LED                       |  | 
 | 90 | ++---------------+-----------------+---------------------------+  | 
 | 91 | +| GPIO_EMC_09   | GPIO            | SW4                       |  | 
 | 92 | ++---------------+-----------------+---------------------------+  | 
 | 93 | +| GPIO_AD_B0_06 | LPUART1_TX      | UART Console              |  | 
 | 94 | ++---------------+-----------------+---------------------------+  | 
 | 95 | +| GPIO_AD_B0_07 | LPUART1_RX      | UART Console              |  | 
 | 96 | ++---------------+-----------------+---------------------------+  | 
 | 97 | +| GPIO_EMC_32   | LPUART4_TX      | UART Console              |  | 
 | 98 | ++---------------+-----------------+---------------------------+  | 
 | 99 | +| GPIO_EMC_33   | LPUART4_RX      | UART Console              |  | 
 | 100 | ++---------------+-----------------+---------------------------+  | 
 | 101 | +| GPIO_AD_B1_15 | LPI2C1_SDA      | I2C SDA                   |  | 
 | 102 | ++---------------+-----------------+---------------------------+  | 
 | 103 | +| GPIO_AD_B1_14 | LPI2C1_CLK      | I2C SCL                   |  | 
 | 104 | ++---------------+-----------------+---------------------------+  | 
 | 105 | + | 
 | 106 | +System Clock  | 
 | 107 | +============  | 
 | 108 | + | 
 | 109 | +The MIMXRT1015 SoC is configured to use the 24 MHz external oscillator on the  | 
 | 110 | +board with the on-chip PLL to generate a 500 MHz core clock.  | 
 | 111 | + | 
 | 112 | +Serial Port  | 
 | 113 | +===========  | 
 | 114 | + | 
 | 115 | +The MIMXRT1015 SoC has four UARTs. ``LPUART1`` is configured for the console,  | 
 | 116 | +and the remaining are not used.  | 
 | 117 | + | 
 | 118 | +Programming and Debugging  | 
 | 119 | +*************************  | 
 | 120 | + | 
 | 121 | +Build and flash applications as usual (see :ref:`build_an_application` and  | 
 | 122 | +:ref:`application_run` for more details).  | 
 | 123 | + | 
 | 124 | +Configuring a Debug Probe  | 
 | 125 | +=========================  | 
 | 126 | + | 
 | 127 | +A debug probe is used for both flashing and debugging the board. This board is  | 
 | 128 | +configured by default to use the :ref:`opensda-daplink-onboard-debug-probe`,  | 
 | 129 | +however the :ref:`pyocd-debug-host-tools` do not yet support programming the  | 
 | 130 | +external flashes on this board so you must reconfigure the board for one of the  | 
 | 131 | +following debug probes instead.  | 
 | 132 | + | 
 | 133 | +:ref:`jlink-external-debug-probe`  | 
 | 134 | +-------------------------------------------  | 
 | 135 | + | 
 | 136 | +Install the :ref:`jlink-debug-host-tools` and make sure they are in your search  | 
 | 137 | +path.  | 
 | 138 | + | 
 | 139 | +Attach a J-Link 10-pin connector to J55. Check that jumpers J47 and J48 are  | 
 | 140 | +**off** (they are on by default when boards ship from the factory) to ensure  | 
 | 141 | +SWD signals are disconnected from the OpenSDA microcontroller.  | 
 | 142 | + | 
 | 143 | +Configuring a Console  | 
 | 144 | +=====================  | 
 | 145 | + | 
 | 146 | +Regardless of your choice in debug probe, we will use the OpenSDA  | 
 | 147 | +microcontroller as a usb-to-serial adapter for the serial console. Check that  | 
 | 148 | +jumpers J45 and J46 are **on** (they are on by default when boards ship from  | 
 | 149 | +the factory) to connect UART signals to the OpenSDA microcontroller.  | 
 | 150 | + | 
 | 151 | +Connect a USB cable from your PC to J41.  | 
 | 152 | + | 
 | 153 | +Use the following settings with your serial terminal of choice (minicom, putty,  | 
 | 154 | +etc.):  | 
 | 155 | + | 
 | 156 | +- Speed: 115200  | 
 | 157 | +- Data: 8 bits  | 
 | 158 | +- Parity: None  | 
 | 159 | +- Stop bits: 1  | 
 | 160 | + | 
 | 161 | +Flashing  | 
 | 162 | +========  | 
 | 163 | + | 
 | 164 | +Here is an example for the :ref:`hello_world` application.  | 
 | 165 | + | 
 | 166 | +.. zephyr-app-commands::  | 
 | 167 | +    :zephyr-app: samples/hello_world  | 
 | 168 | +    :board: mimxrt1015_evk  | 
 | 169 | +    :goals: flash  | 
 | 170 | + | 
 | 171 | +Open a serial terminal, reset the board (press the SW9 button), and you should  | 
 | 172 | +see the following message in the terminal:  | 
 | 173 | + | 
 | 174 | +.. code-block:: console  | 
 | 175 | +
  | 
 | 176 | +    ***** Booting Zephyr OS v1.14.0-rc1-1297-g312d75f2459e *****  | 
 | 177 | +    Hello World! mimxrt1015_evk  | 
 | 178 | +
  | 
 | 179 | +
  | 
 | 180 | +.. _MIMXRT1015-EVK Website:  | 
 | 181 | +   https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-rt1015-evaluation-kit:MIMXRT1015-EVK  | 
 | 182 | + | 
 | 183 | +.. _MIMXRT1015-EVK Quick Reference Guide:  | 
 | 184 | +   https://www.nxp.com/docs/en/quick-reference-guide/IMXRT1015QSG.pdf  | 
 | 185 | + | 
 | 186 | +.. _MIMXRT1015-EVK Design Files:  | 
 | 187 | +   https://www.nxp.com/webapp/Download?colCode=MIMXRT1015-EVK-REVB-DS  | 
 | 188 | + | 
 | 189 | +.. _i.MX RT1015 Website:  | 
 | 190 | +   https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-rt-series/i.mx-rt1015-crossover-processor-with-arm-cortex-m7-core:i.MX-RT1015  | 
 | 191 | + | 
 | 192 | +.. _i.MX RT1015 Datasheet:  | 
 | 193 | +   https://www.nxp.com/docs/en/data-sheet/IMXRT1015CEC.pdf  | 
 | 194 | + | 
 | 195 | +.. _i.MX RT1015 Reference Manual:  | 
 | 196 | +   https://www.nxp.com/docs/en/reference-manual/IMXRT1015RM.pdf  | 
 | 197 | + | 
0 commit comments