Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Microchip Curiosity PIC64GX1000 Kit QuickStart

Purchase Microchip Curiosity PIC64GX1000 Kit

  1. Introduction
  2. Requirements
  3. Hardware Setup
  4. Device Setup
  5. Onboard Device
  6. Using the Demo
  7. Resources

1. Introduction

This guide provides step-by-step instructions to set up the Microchip Curiosity PIC64GX1000 Kit hardware and integrate it with /IOTCONNECT, Avnet's robust IoT platform. The Curiosity PIC64GX1000 Kit hardware platform provides flexible options for IoT application development, enabling secure device onboarding, telemetry collection, and over-the-air (OTA) updates.

The Curiosity PIC64GX1000 Kit features a quad-core, 64-bit CPU cluster based on the RISC-V application-class processor that supports Linux® and real-time applications, a rich set of peripherals. The kit is ready for rapid testing of applications in an easy-to-use hardware development platform and offers a MikroBUS™ expansion header for Click boards™, a MIPI® CSI 2 Rx connector, and an HDMI output. The expansion boards can be controlled using protocols like I2C and SPI. 1GB of DDR4 memory is available as well as a microSD® card slot for booting Linux. Communication interfaces include one Gigabit Ethernet connector and three UART connections via the USB type C connector and debug via the USB-to-JTAG channel.

2. Requirements

This guide has been written and tested to work on a Windows 10/11 PC. However, there is no reason this can't be replicated in other environments.

Hardware

Software

  • A serial terminal such as TeraTerm or PuTTY
  • (FOR WINDOWS USERS) Visual Studio with MPLAB PIC64GX SDK Visual Studio Code extension (see step 4)

3. Hardware Setup

See the reference image below for cable connections.

Reference Image with Connections

Using the above image as reference, make the following connections:

  1. Connect the included USB-C cable from your PC to the USB-C connector labeled #1.
  2. Connect an Ethernet cable from your LAN (router/switch) to the Ethernet connector labeled #2.
  3. Ensure that the included Micro-SD card is fully-seated (should click) into the Micro-SD card slot on the board, labeled #3.

4. Device Setup

To serially communicate with the Curiosity PIC64GX1000 Kit, Windows and Linux users will each need to follow their own additional steps laid out in Microchip's Curiosity PIC64GX1000 Kit Quickstart Guide.

For Windows users, see step 3.1 of the guide.

For Linux users, see step 3.2 of the guide.

Important

For Linux users, when copying the contents of the 70-microchip.rules. file, ensure that newlines are placed appropriately. In the QuickStart Guide there is an instance of text-wrapping (lines 4-5 should be a single line) that will cause the file to malfunction. To help mitigate this possible issue, the 70-microchip.rules file has been uploaded to this directory here so it can be directly copied from with proper formatting.

After completing those setup steps, move to step 4.1 of the guide to boot and establish serial communication on the USB-C port of the board.

Note

You will be prompted to set a new password after your first login under the ubuntu username with the password ubuntu. Users can set the new password to anything they prefer.

After logging in, run these commands to update the core board packages and install necessary /IOTCONNECT packages:

sudo tee /etc/apt/sources.list > /dev/null <<'EOF'
deb http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse
EOF
sudo rm -f /etc/apt/sources.list.d/ubuntu.sources
sudo apt-get clean
sudo apt-get update

Note

sudo apt-get update may take multiple minutes to complete.

sudo apt-get install python3-pip -y
python3 -m pip install iotconnect-sdk-lite requests --break-system-packages

Then run these commands to create and move into a directory for your demo files:

sudo mkdir -p /opt/demo && cd /opt/demo
sudo chown -R $USER:$USER /opt/demo

Tip

To gain access to "copy" and "paste" functions inside of a PuTTY terminal window, you can CTRL+RIGHTCLICK within the window to utilize a dropdown menu with these commands. This is very helpful for copying/pasting between your browser and the terminal.

5. Onboard Device

The next step is to onboard your device into /IOTCONNECT. This will be done via the online /IOTCONNECT user interface.

Follow this guide to walk you through the process.

6. Using the Demo

Run the basic demo with this command:

python3 app.py

Note

Always make sure you are in the /opt/demo directory before running the demo. You can move to this directory with the command: cd /opt/demo

View the random-integer telemetry data under the "Live Data" tab for your device on /IOTCONNECT.

7. Resources