PIC32CX SG41 Curiosity Ultra
Overview
The PIC32CX SG41 Curiosity Ultra evaluation kit is a hardware platform to evaluate the Microchip PIC32CX SG41 microcontrollers, and the evaluation kit part number is EV06X38A. The evaluation kit offers a set of features that enables the PIC32CX SG41 users to get started with the PIC32CX SG41 peripherals, and to obtain an understanding of how to integrate the device in their own design.
Hardware
PIC32CX1025SG41128 microcontroller
One mechanical reset button
Two mechanical programmable buttons
Two user LEDs
32.768 kHz crystal
12 MHz oscillator
USB interface, Host or Device
64 Mbit Quad SPI Flash
AT24MAC402 Serial EEPROM with EUI-48™ MAC address
- Ethernet 10/100 Mbps
RMII Interface with modular PHY Header
SD/SDIO card connector
Two CAN interfaces with on-board transceivers
I²C-based temperature sensor
DAC Output Header
mikroBUS header connector
Arduino Uno header connectors
- CoreSight 10 connector
10-pin Cortex® Debug header (SWD)
- CoreSight 20 connector
20-pin Cortex Debug + ETM Connector (SWD and 4-bit Trace)
Virtual COM port (CDC)
USB powered
Power Header and Barrel Jack connector for external power sources
Supported Features
The pic32cx_sg41_cult board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
pic32cx_sg41_cult/pic32cx1025sg41128 target
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M4F CPU1 |
|
Clock control |
on-chip |
Microchip SAM_D5x_E5x SOC family clock1 |
|
on-chip |
SAM_D5x_E5x Crystal Oscillator (XOSC)1 |
||
on-chip |
SAM_D5x_E5x Internal Oscillator (OSC48M)1 |
||
on-chip |
SAM_D5x_E5x FDPLL clock1 |
||
on-chip |
SAM_D5x_E5x RTC clock1 |
||
on-chip |
SAM_D5x_E5x External Crystal Oscillator (XOSC32K)1 |
||
on-chip |
SAM_D5x_E5x Generic clock generator1 |
||
on-chip |
SAM_D5x_E5x Generic clock peripheral1 |
||
on-chip |
SAM_D5x_E5x Main clock for CPU1 |
||
on-chip |
SAM_D5x_E5x MCLK peripheral1 |
||
GPIO & Headers |
on-chip |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MMU / MPU |
on-chip |
ARMv7-M Memory Protection Unit (MPU)1 |
|
MTD |
on-chip |
Flash node1 |
|
on-board |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Pin control |
on-chip |
Microchip PORT Pinctrl container node1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
Connections and IOs
The PIC32CX SG41 Curiosity Ultra User Guide has detailed information about board connections.
Programming & Debugging
The pic32cx_sg41_cult board supports the runners and associated west commands listed below.
| flash | debug | rtt | attach | debugserver | |
|---|---|---|---|---|---|
| jlink | ✅ (default) | ✅ (default) | ✅ | ✅ | ✅ |
Flash Using J-Link
To flash the board using the J-Link debugger, follow the steps below:
Install J-Link Software
Download and install the J-Link software tools from Segger.
Make sure the installed J-Link executables (e.g.,
JLink,JLinkGDBServer) are available in your system’s PATH.
Connect the Board
Connect the J32 Debug Probe to the board’s CORTEX DEBUG (J400) header.
Connect the other end of the J32 Debug Probe to your host machine (PC) via USB.
Connect the DEBUG USB port on the board to your host machine to power up the board.
Build the Application
You can build a sample Zephyr application, such as Blinky, using the
westtool. Run the following commands from your Zephyr workspace:west build -b pic32cx_sg41_cult -p -s samples/basic/blinkyThis will build the Blinky application for the
pic32cx_sg41_cultboard.Flash the Device
Once the build completes, flash the firmware using:
west flashThis uses the default
jlinkrunner to flash the application to the board.Observe the Result
After flashing, LED1 on the board should start blinking, indicating that the application is running successfully.
References
- PIC32CX SG41 Product Page:
- PIC32CX SG41 Curiosity Ultra evaluation kit Page: