4 FAQs

  1. Is code directly transferable (binary compatible) between the SAM Lx and the PIC32CM Lx devices?

    Answer: No, direct binary compatibility is limited. However, code from the SAM L1x 32-pin variant can be compiled for the PIC32CM1216LE00032 32-pin variant with adjustments, primarily to Timer/Counter (TC) peripheral instances.

  2. Can the SAM Lx family code be directly compiled for the PIC32CM Lx devices?
    Answer: No, significant changes are generally required. Specifically:
    1. Code from the SAM L1x 32-pin variant can be ported to the PIC32CM1216LE00032 32-pin variant with pin compatibility and TC peripheral adjustments. See the Pinout Comparison section for compatibility details.
    2. Other SAM Lx variants (e.g., SAM L2x) are not directly compatible due to architectural differences. This document outlines the necessary porting considerations.
  3. Are there resources available for migrating projects from the SAM Lx to the PIC32CM Lx?

    Answer: Yes, this document provides compatibility details. Additionally, reference applications can be found at https://github.com/Microchip-MPLAB-Harmony/reference_apps_pic32cm.