Download Print this page

Phytec i.MX7 PEB-D-RPI Manual

Advertisement

Quick Links

i.MX7: Evaluating the PEB-D-RPI Expansion Board
The phyBOARD-Zeta kit includes an expansion board (PEB-D-RPI) designed to facilitate the easy evaluation of certain interfaces available on PHYTEC i.
MX7 platforms. The following sections will detail how to use these features in the environments in which they are supported. These instructions assume
that you have properly connected the expansion board to the carrier board and have booted into a supported environment (U-Boot and/or Linux) using
BSP version PD18.2.0 or newer. If you are looking for information regarding Raspberry Pi HAT support, please see
PEB-D-RPI Expansion Board.
The expansion board has the following features:
PEB-D-RPI Expansion Board Interfaces
USB to Serial UART Interface
Sending Serial Data Over USB
Enable UART1 as Console in Linux
Configuring UART1 as Default Console in U-Boot and Linux
4KB EEPROM
Buttons
LEDs
Raspberry Pi-compatible 40-pin Header
GPIO and Interface Signals Map
Jumpers
Toggling GPIOs Connected to 40-pin Header
ARM JTAG 20-pin Debug Interface Header
Unpopulated Expansion Signal Pin Headers
PEB-D-RPI Expansion Board Interfaces
Use the following as a reference for the connector interfaces on the PEB-D-RPI expansion board that will be used in this document.
USB to Serial UART Interface
The i.MX7 is configured by default to use UART5 for console input and output over the carrier board X2 connector shown in the
section of the
i.MX7 Quickstart
.
The USB to Serial UART interface on the PEB-D-RPI expansion board allows the use of UART1 and UART2 for serial data
over connector X6 shown in the above
UART2 is used by the M4 core in PHYTEC's FreeRTOS software.
Sending Serial Data Over USB
PHYTEC
PEB-D-RPI Expansion Board Interfaces
Page 1
section. However, only UART1 is configured in the BSP by default because
i.MX7: Raspberry Pi HAT Support with
Connector Interfaces

Advertisement

loading
Need help?

Need help?

Do you have a question about the i.MX7 PEB-D-RPI and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Phytec i.MX7 PEB-D-RPI

  • Page 1 Evaluating the PEB-D-RPI Expansion Board The phyBOARD-Zeta kit includes an expansion board (PEB-D-RPI) designed to facilitate the easy evaluation of certain interfaces available on PHYTEC i. MX7 platforms. The following sections will detail how to use these features in the environments in which they are supported. These instructions assume that you have properly connected the expansion board to the carrier board and have booted into a supported environment (U-Boot and/or Linux) using BSP version PD18.2.0 or newer.
  • Page 2 PHYTEC To send console data over USB, first connect the USB cable to the expansion board connector X6 and your host PC and power on the i.MX7 to boot into Linux. After booting, your host PC should have access to a serial port that can be connected to with a standard serial console program. Connect to the new serial port and run the following commands on the target over the UART5 serial connection.
  • Page 3 PHYTEC Target (Linux) echo 'Testing EEPROM!!' > /sys/class/i2c-dev/i2c-3/device/3-0056/eeprom hexdump -c -n 16 /sys/class/i2c-dev/i2c-3/device/3-0056/eeprom You should see the values you wrote to the EEPROM displayed on your console in hexdump format. Buttons These buttons (S1 and S2) serve as an example of using GPIO pins as inputs to facilitate user input. The two buttons are registered under their own node, 'phytec_buttons', in the expansion board Linux device tree file 'imx7-peb-d-rpi.dtsi' and their status is accessible in Linux's debugfs directory structure.
  • Page 4 PHYTEC GPIOs Pin Function Pin Number Pin Function VCC_3V3MEM VDD_5V0 I2C1_SDA VDD_5V0 I2C1_SCL GPIO4_IO21 GPIO4_IO5 GPIO4_IO4 GPIO4_IO20 GPIO5_IO15 GPIO4_IO22 GPIO4_IO23 GPIO1_IO15 VCC_3V3MEM GPIO1_IO14 GPIO6_IO20 GPIO6_IO19 GPIO5_IO11 GPIO6_IO21 GPIO6_IO22 GPIO5_IO9 I2C4_SDA I2C4_SCL GPIO5_IO14 GPIO1_IO02 GPIO5_IO13 GPIO4_IO18 GPIO5_IO16 GPIO4_IO19 GPIO4_IO16 GPIO4_IO17 GPIO5_IO17...
  • Page 5 ARM JTAG 20-pin Debug Interface Header This header (X5) allows you to connect an ARM JTAG 20-pin compatible debugger to the i.MX7. PHYTEC has tested the JTAG header and interface using an ARM DSTREAM debugger along with ARM DS-5 Development Studio. You will need to reference the documentation provided by the manufacturer of your debugger to configure and connect your debugger to the debug header.
  • Page 6 PHYTEC SD2_DATA0 SD2_DATA3 SD2_DATA1 SD2_CLK SD2_DATA2 SD2_CMD SPI1_MISO SPI1_MOSI UART7_TX UART7_RX UART7_RTS UART7_CTS SPI1_SCLK SPI1_SS0 X_POR_B X_SPI3_MISO X_SPI3_SCLK X_SPI3_MOSI X_SPI3_SS0 X_SD2_CD_B X_PWM2 X_SD2_WP X_CAN2_TX X_RD2_RESET_B X_CAN2_RX X_MX7_ONOFF X_PMIC_PWRON X_UART1_TX X_UART3_TX X_UART1_RX X_UART3_RX X_UART2_TX X_UART6_TX X_UART2_RX X_UART6_RX Connector X13 Signal Pin Number...
  • Page 7 PHYTEC X_USB_H_DATA X_MDIO_D X_USB_H_STROBE X_MDIO_CLK Page 7...