diff --git a/boards/ti/lp_am13e232/doc/img/lp_am13e232.webp b/boards/ti/lp_am13e232/doc/img/lp_am13e232.webp new file mode 100644 index 000000000000..466815a48c84 Binary files /dev/null and b/boards/ti/lp_am13e232/doc/img/lp_am13e232.webp differ diff --git a/boards/ti/lp_am13e232/doc/index.rst b/boards/ti/lp_am13e232/doc/index.rst new file mode 100644 index 000000000000..472d94e65428 --- /dev/null +++ b/boards/ti/lp_am13e232/doc/index.rst @@ -0,0 +1,84 @@ +.. + SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors + SPDX-FileCopyrightText: Copyright (c) 2026 Texas Instruments Incorporated + SPDX-License-Identifier: Apache-2.0 + +.. zephyr:board:: lp_am13e232 + +Overview +******** + +The AM13E232 LaunchPad is a development board based on the AM13E232N9 SoC, a 250MHz ARM Cortex M33 real-time motor control MCU with an NPU, TMU and 512KB on-chip flash. + +See the `TI AM13E232N9 Product Page`_ for details. + +| + +Hardware +******** + +* Processor: + + + Arm Cortex M33 @ 250MHz + +* Memory: + + + 192KB SRAM + + 512KB on-chip flash + +* Debug: + + + XDS110 based JTAG + +Details present in `AM13E232x Microcontrollers Datasheet`_ + +| + +Supported Features +****************** + +.. zephyr:board-supported-hw:: + +| + +Flashing and Debugging +====================== + +Support for AM13Ex SoCs has been merged in upstream OpenOCD but not yet picked up by Zephyr's **sdk-ng**. Until the Zephyr SDK is updated to use a commit of OpenOCD that includes support for this SoC, the user has to clone and build upstream OpenOCD separately and point ``west flash`` to that directory. + +Building OpenOCD +-------------------------- + +1. Clone ``https://github.com/openocd-org/openocd`` + +2. Initialize submodules: ``git submodule update --init`` + +3. ``./bootstrap`` + +4. ``./configure --enable-internal-jimtcl --enable-xds110`` + +5. Build: ``make -j$(nproc)`` + +Flashing and debugging using West +--------------------------------- + +``west flash`` can be used with the patched OpenOCD to flash a Zephyr application by providing the paths to the OpenOCD binary and TCL directory.:: + + west flash --openocd ~/openocd/src/openocd --openocd-search ~/openocd/tcl + +``west debug`` can also be used with the same arguments for debugging using GDB. + +| + +References +********** + +* `TI AM13E232N9 Product Page`_ + +* `AM13E232x Microcontrollers datasheet`_ + +.. _TI AM13E232N9 Product Page: + https://www.ti.com/product/AM13E232N9 + +.. _AM13E232x Microcontrollers datasheet: + https://www.ti.com/lit/gpn/AM13E232N9