GitHub

Hardware / Special jobs: radar and motors

LP-AM13E230 (AM13E230)

The AM13E230 is a microcontroller in TI's AM13 family: 200 MHz Arm Cortex-M33, 512 kB of flash, 128 kB of RAM.

The LP-AM13E230 on the bench, powered over USB with its LEDs lit

Quick facts

BoardLP-AM13E230
ChipAM13E230
CoreCortex-M33
Clock200 MHz
Flash512 kB
RAM128 kB
RadioNone
Notable peripheralsTMU (trig math unit, reached as custom instructions); TinyEngine NPU; three 12-bit ADCs at 7.81 million samples a second; five motor PWM modules; one CAN-FD controller (TI product page)
On-board debug probeXDS110, isolated, on the board. Probe firmware 3.0.0.41. Two serial ports
Zephyr board namelp_am13e230
Toolchains that ranTI compilers, FreeRTOS, CCStudio

Get it running

  1. Build and flash the blink. The number is the blink period in milliseconds.

    am13e230/blink.sh 250 <serial>

These are the recorded steps (LP-AM13E230: AGENTS). Run them from any terminal.

You should see: LED4 (red, PA5) toggles. The check script reads the pin six times; changing values mean a blink.

What works

  • CoreMark: 872.431 (4.362 per MHz) (TI Arm Clang, bare metal, -O3; 200 MHz; 3 runs)
  • Blink image size: 7 kB of flash, 9 kB of RAM (bare metal)
  • Room-occupancy AI model, one inference: 0.1065 ms (TI Arm Clang, Linux; 200 MHz; 3 runs)
  • Control loop, trigger to new PWM value: 0.691 µs (TI Arm Clang, -O2; 200 MHz)
  • 256-point complex FFT: 0.0755 ms (TI Arm Clang, -O3; 200 MHz; 3 runs)
  • AES-128: 11.67 cycles/B in hardware (TI Arm Clang, -O2; 200 MHz)
  • RTOS task switch round trip: 1.49 µs (FreeRTOS; 200 MHz)
  • Vendor examples that build from a terminal: 100% (TI Arm Clang; 200 MHz)
  • Embench programs that fit and pass: 19 of 19 (TI Arm Clang, -O2; 200 MHz; 3 runs)
  • Dhrystone 2.1: 1.339 DMIPS/MHz (TI Arm Clang, bare metal, -O3; 200 MHz)

Download every result for this board (CSV), or compare it on this board on the Benchmarks page.

Projects and ports that ran here

Want wireless? Try the LP-EM-CC2340R5 for Bluetooth, Zigbee or Thread or the LP-EM-CC35X1 for Wi-Fi.

Fixes

  • If you see a flash write passes verify (an on-chip check and a read-back) on the MSPM33 or AM13, but the new program never starts: the LED does not change, or the old program still runs, clear FRI FRD_INTF_CTRL (0x4002900C: bit 1 data cache, bit 2 code cache; same address on both chips) while the core is halted, write, then reset.
  • If you see Failed: Target is not halted at the end of a DSLite flash, after Program verification successful, nothing: the image is written and verified.
  • If you see error -614 on every read (CCStudio), unplug and replug USB. Next time read the state, pause if it says Running, then restart, then continue.
  • If you see Usage fault, CFSR 0x80000, in mathlib/fastrts, define int _system_pre_init(void) that does `SCB->CPACR \.
  • If you see '__device_dts_ord_DT_N_ALIAS_led0_P_gpios_IDX_0_PH_ORD' undeclared here (west build -b lp_am13e230 samples/basic/blinky), use am13e230/zephyr/led-proof or TI's SDK example.
  • If you see GCONV layer NOT offloaded to TI-NPU (NNC log), expected; do not chase it.
  • If you see Instruction bus error, CFSR 0x100, on the type=m33cde NNC build, use the NPU build or plain C.

Every fix for this board, with the exact error text

How long an AI assistant took here

7 jobs timed with an AI coding assistant on this board, with the board's notes and without. Time is the median of the runs; passed means a person or a script checked the result. No spend or token counts here.

JobAssistantNotes givenTimePassed
blinkSonnet 5.5without them7.2 min1 of 1
blinkSonnet 5.5with the board's notes3.4 min1 of 1
coremarkSonnet 5.5without them7.9 min1 of 1
coremarkSonnet 5.5with the board's notes2.2 min1 of 1
port usartdmaSonnet 5.5with the board's notes13.5 min0 of 1
questionSonnet 5.5without them1.2 min1 of 1
questionSonnet 5.5with the board's notes1.2 min1 of 1

For AI assistants

Point your assistant at this board's AGENTS.md (build, flash and fix notes) and the repository's llms.txt (the index).

Sources: am13e230/README.md, am13e230/AGENTS.md, am13e230/FAQ.md, data/results/am13e230.csv, site/data/portfolio.json, site/data/projects.json, site/data/ports.json.