Spark Logic

Cortex-M3 processor core

Cortex-M3 implements Armv7-M with the Thumb instruction set and its Thumb-2 extensions. Common peripherals and physical pin assignments are defined by the MCU vendor.

Core features

FeatureWhat to verify
ArchitectureArmv7-M
ExceptionsThe core supports prioritized and nested interrupts through the NVIC. Device headers define the MCU interrupt names and implemented priority bits.
Instruction setThumb-2 includes integer divide and bit-field instructions. Compile for Cortex-M3 before testing code on devices from different vendors.
DebugSerial Wire Debug is a core debug interface. Locate its pins, reference voltage and reset connection in the device and PCB documentation.

Before bring-up

  • Use the startup file, linker script and peripheral header for the exact chip. Confirm the Flash start address and SRAM size before programming.
  • At first boot, read the debug ID and check the reset vector before enabling clocks and peripherals.

Manufacturer documents