|
| 1 | +.. zephyr:board:: frdm_mcxa153 |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +FRDM-MCXA153 are compact and scalable development boards for rapid prototyping of |
| 7 | +MCX A14x and A15x MCUs. They offer industry standard headers for easy access |
| 8 | +to the MCU's I/Os, integrated open-standard serial interfaces, external flash |
| 9 | +memory and an on-board MCU-Link debugger. Additional tools like NXP's Expansion |
| 10 | +Board Hub for add-on boards and the Application Code Hub for software examples |
| 11 | +are available through the MCUXpresso Developer Experience. |
| 12 | + |
| 13 | +Hardware |
| 14 | +******** |
| 15 | + |
| 16 | +- MCX-A153 Arm Cortex-M33 microcontroller running at 96 MHz |
| 17 | +- 128KB dual-bank on chip Flash |
| 18 | +- 32 KB RAM |
| 19 | +- USB full-speed with on-chip FS PHY. USB Type-C connectors |
| 20 | +- 1x I3C |
| 21 | +- On-board MCU-Link debugger with CMSIS-DAP |
| 22 | +- Arduino Header, mikroBUS |
| 23 | + |
| 24 | +For more information about the MCX-A153 SoC and FRDM-MCXA153 board, see: |
| 25 | + |
| 26 | +- `MCX-A153 SoC Website`_ |
| 27 | +- `MCX-A153 Datasheet`_ |
| 28 | +- `MCX-A153 Reference Manual`_ |
| 29 | +- `FRDM-MCXA153 Website`_ |
| 30 | +- `FRDM-MCXA153 User Guide`_ |
| 31 | +- `FRDM-MCXA153 Board User Manual`_ |
| 32 | +- `FRDM-MCXA153 Schematics`_ |
| 33 | + |
| 34 | +Supported Features |
| 35 | +================== |
| 36 | + |
| 37 | +.. zephyr:board-supported-hw:: |
| 38 | +
|
| 39 | +Connections and IOs |
| 40 | +=================== |
| 41 | + |
| 42 | +The MCX-A153 SoC has 4 gpio controllers and has pinmux registers which |
| 43 | +can be used to configure the functionality of a pin. |
| 44 | + |
| 45 | ++------------+-----------------+----------------------------+ |
| 46 | +| Name | Function | Usage | |
| 47 | ++============+=================+============================+ |
| 48 | +| PIO0_2 | UART | UART RX | |
| 49 | ++------------+-----------------+----------------------------+ |
| 50 | +| PIO0_3 | UART | UART TX | |
| 51 | ++------------+-----------------+----------------------------+ |
| 52 | + |
| 53 | +System Clock |
| 54 | +============ |
| 55 | + |
| 56 | +The MCX-A153 SoC is configured to use FRO running at 96MHz as a source for |
| 57 | +the system clock. |
| 58 | + |
| 59 | +Serial Port |
| 60 | +=========== |
| 61 | + |
| 62 | +The FRDM-MCXA153 SoC has 3 LPUART interfaces for serial communication. |
| 63 | +LPUART 0 is configured as UART for the console. |
| 64 | + |
| 65 | +Programming and Debugging |
| 66 | +************************* |
| 67 | + |
| 68 | +.. zephyr:board-supported-runners:: |
| 69 | +
|
| 70 | +Build and flash applications as usual (see :ref:`build_an_application` and |
| 71 | +:ref:`application_run` for more details). |
| 72 | + |
| 73 | +Configuring a Debug Probe |
| 74 | +========================= |
| 75 | + |
| 76 | +A debug probe is used for both flashing and debugging the board. This board is |
| 77 | +configured by default to use the MCU-Link CMSIS-DAP Onboard Debug Probe. |
| 78 | + |
| 79 | +Using LinkServer |
| 80 | +---------------- |
| 81 | + |
| 82 | +Linkserver is the default runner for this board, and supports the factory |
| 83 | +default MCU-Link firmware. Follow the instructions in |
| 84 | +:ref:`mcu-link-cmsis-onboard-debug-probe` to reprogram the default MCU-Link |
| 85 | +firmware. This only needs to be done if the default onboard debug circuit |
| 86 | +firmware was changed. To put the board in ``ISP mode`` to program the firmware, |
| 87 | +short jumper JP8. |
| 88 | + |
| 89 | +Using J-Link |
| 90 | +------------ |
| 91 | + |
| 92 | +There are two options. The onboard debug circuit can be updated with Segger |
| 93 | +J-Link firmware by following the instructions in |
| 94 | +:ref:`mcu-link-jlink-onboard-debug-probe`. |
| 95 | +To be able to program the firmware, you need to put the board in ``ISP mode`` |
| 96 | +by shorting the jumper JP8. |
| 97 | +The second option is to attach a :ref:`jlink-external-debug-probe` to the |
| 98 | +10-pin SWD connector (J18) of the board. Additionally, the jumper JP20 must |
| 99 | +be shorted. |
| 100 | +For both options use the ``-r jlink`` option with west to use the jlink runner. |
| 101 | + |
| 102 | +.. code-block:: console |
| 103 | +
|
| 104 | + west flash -r jlink |
| 105 | +
|
| 106 | +Configuring a Console |
| 107 | +===================== |
| 108 | + |
| 109 | +Connect a USB cable from your PC to J15, and use the serial terminal of your choice |
| 110 | +(minicom, putty, etc.) with the following settings: |
| 111 | + |
| 112 | +- Speed: 115200 |
| 113 | +- Data: 8 bits |
| 114 | +- Parity: None |
| 115 | +- Stop bits: 1 |
| 116 | + |
| 117 | +Flashing |
| 118 | +======== |
| 119 | + |
| 120 | +Here is an example for the :zephyr:code-sample:`hello_world` application. |
| 121 | + |
| 122 | +.. zephyr-app-commands:: |
| 123 | + :zephyr-app: samples/hello_world |
| 124 | + :board: frdm_mcxa153 |
| 125 | + :goals: flash |
| 126 | + |
| 127 | +Open a serial terminal, reset the board (press the RESET button), and you should |
| 128 | +see the following message in the terminal: |
| 129 | + |
| 130 | +.. code-block:: console |
| 131 | +
|
| 132 | + *** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 *** |
| 133 | + Hello World! frdm_mcxa3/mcxa153 |
| 134 | +
|
| 135 | +Debugging |
| 136 | +========= |
| 137 | + |
| 138 | +Here is an example for the :zephyr:code-sample:`hello_world` application. |
| 139 | + |
| 140 | +.. zephyr-app-commands:: |
| 141 | + :zephyr-app: samples/hello_world |
| 142 | + :board: frdm_mcxa153/mcxa153 |
| 143 | + :goals: debug |
| 144 | + |
| 145 | +Open a serial terminal, step through the application in your debugger, and you |
| 146 | +should see the following message in the terminal: |
| 147 | + |
| 148 | +.. code-block:: console |
| 149 | +
|
| 150 | + *** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 *** |
| 151 | + Hello World! frdm_mcxa153/mcxa153 |
| 152 | +
|
| 153 | +Troubleshooting |
| 154 | +=============== |
| 155 | + |
| 156 | +.. include:: ../../common/segger-ecc-systemview.rst |
| 157 | + :start-after: segger-ecc-systemview |
| 158 | + |
| 159 | +.. include:: ../../common/board-footer.rst |
| 160 | + :start-after: nxp-board-footer |
| 161 | + |
| 162 | +.. _MCX-A153 SoC Website: |
| 163 | + https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-a-series-microcontrollers/mcx-a13x-14x-15x-mcus-with-arm-cortex-m33-scalable-device-options-low-power-and-intelligent-peripherals:MCX-A13X-A14X-A15X |
| 164 | + |
| 165 | +.. _MCX-A153 Datasheet: |
| 166 | + https://www.nxp.com/docs/en/data-sheet/MCXAP64M96FS3.pdf |
| 167 | + |
| 168 | +.. _MCX-A153 Reference Manual: |
| 169 | + https://www.nxp.com/webapp/Download?colCode=MCXAP64M96FS3RM |
| 170 | + |
| 171 | +.. _FRDM-MCXA153 Website: |
| 172 | + https://www.nxp.com/design/design-center/development-boards-and-designs/FRDM-MCXA153 |
| 173 | + |
| 174 | +.. _FRDM-MCXA153 User Guide: |
| 175 | + https://www.nxp.com/document/guide/getting-started-with-frdm-mcxa153:GS-FRDM-MCXAXX |
| 176 | + |
| 177 | +.. _FRDM-MCXA153 Board User Manual: |
| 178 | + https://www.nxp.com/docs/en/user-manual/UM12012.pdf |
| 179 | + |
| 180 | +.. _FRDM-MCXA153 Schematics: |
| 181 | + https://www.nxp.com/webapp/Download?colCode=SPF-90829_A1 |
0 commit comments