5 FAQs
- Is the existing code on the SAM
C20/C21 family of devices binary compatible to Flash on the PIC32CM JH01 family of
devices?
Answer: No, it is not binary-compatible.
- Can code developed for the SAM
C20/C21 family of devices be easily compiled for the PIC32CM JH01 family of devices
without any significant changes? If not, what kind of changes are needed?
Answer: Yes, the code can be easily compiled for the PIC32CM JH01 family of devices with necessary modifications. The developer must first identify equivalent or compatible peripherals available on the PIC32CM JH01. Then, using the MPLAB Code Configurator (MCC), the peripherals need to be correctly configured to generate the appropriate Peripheral Library (PLIB) code.
- Is there a guide for migrating
projects from the SAM C20/C21 family of devices to the PIC32CM JH01 family of
devices?
Answer: Yes, this document provides specific compatibility details between the two device families. Refer to this document for a detailed compatibility information.
To migrate the application, follow the steps provided in the training module: Getting Started with MPLAB® Harmony v3 Drivers on SAM C21 MCUs Using FreeRTOS. When creating a project for the PIC32CM JH01, ensure to select the appropriate device number (for example, PIC32CM5164JH01100).
Note: The specific device number may vary depending on the board’s pin and package.
For additional information on configuring peripherals and using MPLAB Harmony drivers on the PIC32CM JH01 family of devices, refer to the following links:
- Getting Started Application on PIC32CM JH01 Curiosity Pro Development Board
- Getting Started Application on PIC32CM JH01 Curiosity Nano+ Touch Evaluation Kit