Quickstart

If you have just purchased a phyCORE-RT1170 development kit, start your development here.

../_images/pb-07326-kit.webp

Check the Board Configuration

The board should have been pre-configured during manufacturing, but we will double check it together as an exercise:

  • Press firmly down on the SOM with equal pressure on both sides to ensure that it is seated properly

  • Confirm that switch S7 is set to OFF.

  • Check that the boot switch S5 is set to boot the system from QSPI Flash.

../_images/qspi.webp ../_images/bootswitch.webp

Power the Board

  • Use the included USB-C 5V power supply to provide power to the phyCORE-RT1170 development kit’s X9 power connector. The system will automatically boot.

    ../_images/power.webp

Serial Communication Setup

Using the provided micro-USB Serial Cable, connect the X15 Serial Debug Port of the phyCORE-RT1170 Development Kit to an available USB port on your Host Machine.

../_images/console.webp

Once the phyCORE-RT1170 Development Kit is connected to your Linux Host Machine, the Development Kit’s FTDI USB to UART Bridge will come up as two devices; /dev/ttyUSB0 and /dev/ttyUSB1.

  • Open the serial connection with minicom (which you may need to install first).

    sh-host:~$ sudo apt-get update && sudo apt-get install minicom
    sh-host:~$ minicom -D /dev/ttyUSB0 -b 115200
    
  • Alternative command ‘screen’ may also be used.

    sh-host:~$ sudo apt-get install screen
    sh-host:~$ screen /dev/ttyUSB0 115200
    

    Note

    If you have more than 1x USB serial device connected (this could be a second Development Kit, for example), you will have to determine which /dev/tty* device is specific to your target hardware (otherwise, you may connect to the wrong serial device). Some techniques for determining this include:

    • Use dmesg to see which device connected most recently (dmesg will output all kernel messages and tail just limits this to the last 10 lines).

      sh-host:~$ sudo dmesg | tail
      

      Scan the output for your serial device and you will see the specific device enumerator (/dev/tty*) that the kernel assigned to the device.

    • Alternatively, use the following command to output all serial devices detected by the kernel at once:

      sh-host:~$ ls -l /dev/serial/by-id
      

      The output will show which /dev/tty* device enumerator got assigned to each serial device and this has the added benefit of displaying some driver information associated with each device’s serial port. This can be helpful in determining which /dev/tty* file corresponds to which physical piece of hardware.

Run the Blinky Demo

The phyCORE-RT1170 development kit comes preprogrammed with a demo that will initiate one LED on the SOM to flash when plugged in. It will host boot up with a prompt

* Booting Zephyr OS build fc0b4a4a2eff *

uart:~$ kernel version
Zephyr version 4.1.0
uart:~$

Note

For any technical questions, feel free to reach out to PHYTEC’s Support Portal!