项目作者: MakarenaLabs

项目描述 :
Integration on PL side of Zynq7000 for PYNQ framework of common industrial devices (GPIO, I2C, SPI and UART)
高级语言: Jupyter Notebook
项目地址: git://github.com/MakarenaLabs/Common-PL-Devices-on-PYNQ.git
创建时间: 2021-07-06T16:27:33Z
项目社区:https://github.com/MakarenaLabs/Common-PL-Devices-on-PYNQ

开源协议:BSD 3-Clause "New" or "Revised" License

下载


Hardware Devices in PL on PYNQ Z2

MakarenaLabs s.r.l.

In this repo we provide some tutorials to build in PL on PYNQ Z2 board some devices and communication protocol IP. Specifically we have integrated 4 IPs:

  • General Purpose I/O (GPIO);
  • Inter-Integrated Circuit (I2C);
  • Serial Peripheral Interface (SPI);
  • Universal Asynchronous Receiver-Transmitter (UART);

Port usage and definition

For I2C, SPI and UART devices we have used PMODB, which is not shared with other elements of the board (in our specific board PMODA is shared with Raspberry Pi header). The pinout definition is shown in the following image:

PMODB pins

As we can see in the previuos image, the first pin is in the high right corner of the module, the last one is in the left low corner.

For GPIO communication protocol we have used an Arduino header analog port of PYNQ Z2, specifically A0.

Authors

Staff MakarenaLabs