GUI Maker for Avalon Bus - FPGA SPI Bridge Panel

GUI Maker for Avalon Bus - FPGA SPI Bridge Panel

RapidNack.com
05/09/2018
  • 40.3 MB

    Размер файла

  • Android 4.1+

    Android OS

Oписание GUI Maker for Avalon Bus - FPGA SPI Bridge Panel

You can create a GUI to operate Intel FPGA's Avalon bus without Nios II.

What is the purpose of this application?

You can create a GUI to operate Intel (formerly Altera) FPGA's Avalon bus in a short time. You can operate FPGA from Android without Nios II CPU.

You can place buttons, timers, graphs, etc., and describe the processing in Python.

Likewise, you can write a simple game by describing the placement and processing of 3D objects in Python.

What program should be written to ESP8266 / ESP32?

Arduino sketch http://rapidnack.com/?p=835

Operation explanation - Display http://rapidnack.com/?p=918

SPI Bridge Scope http://rapidnack.com/?p=1831

Please write the above Arduino sketch to ESP.

You can use the following methods to access the Avalon bus in the FPGA.

byte[] WriteBytePacket(UInt32 addr, byte data, int timeoutInSec = 3)

byte[] WriteUInt16Packet(UInt32 addr, UInt16 data, int timeoutInSec = 3)

byte[] WriteUInt32Packet(UInt32 addr, UInt32 data, int timeoutInSec = 3)

byte[] WriteBytePacket(UInt32 addr, byte[] dataBytes, bool isIncremental = false, int timeoutInSec = 3)

byte[] WriteUInt16Packet(UInt32 addr, UInt16[] dataArray, bool isIncremental = false, int timeoutInSec = 3)

byte[] WriteUInt32Packet(UInt32 addr, UInt32[] dataArray, bool isIncremental = false, int timeoutInSec = 3)

byte ReadBytePacket(UInt32 addr, int timeoutInSec = 3)

UInt16 ReadUInt16Packet(UInt32 addr, int timeoutInSec = 3)

UInt32 ReadUInt32Packet(UInt32 addr, int timeoutInSec = 3)

byte[] ReadBytePacket(UInt16 size, UInt32 addr, bool isIncremental = false, int timeoutInSec = 3)

UInt16[] ReadUInt16Packet(UInt16 size, UInt32 addr, bool isIncremental = false, int timeoutInSec = 3)

UInt32[] ReadUInt32Packet(UInt16 size, UInt32 addr, bool isIncremental = false, int timeoutInSec = 3)

The following is a sketch for ESP32.

---------------------------------- from here -----------------------------------

#include <SPI.h>

#include <WiFi.h>

const char* ssid     = "your-ssid";

const char* password = "your-password";

WiFiServer server(2002);

WiFiClient client;

#define SPI_BUF_LEN 1024

byte spiBuf[SPI_BUF_LEN];

byte spiReadBuf[SPI_BUF_LEN];

void setup() {

  Serial.begin(57600);

  SPI.begin();

  SPI.setFrequency(24000000);

  SPI.setDataMode(SPI_MODE1);

  SPI.setBitOrder(MSBFIRST);

  pinMode(SS, OUTPUT);

  digitalWrite(SS, HIGH);

  Serial.println();

  Serial.print("Connecting to ");

  Serial.println(ssid);

  //WiFi.mode(WIFI_STA);  // Disable Access Point

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {

    delay(500);

    Serial.print(".");

  }

  Serial.println("");

  Serial.println("WiFi connected"); 

  Serial.println("IP address: ");

  Serial.println(WiFi.localIP());

  server.begin();

  Serial.println("Server started");

}

void loop() {

  if (!client.connected()) {

    // try to connect to a new client

    client = server.available();

  } else {

    // read data from the connected client

    int n = client.available();

    if (n > 0) {

      //Serial.print("available: ");

      //Serial.println(n);

      if (n > SPI_BUF_LEN) {

        n = SPI_BUF_LEN;

      }

      // transfer data to/from SPI

      client.readBytes(spiBuf, n);

      digitalWrite(SS, LOW);

      SPI.transferBytes(spiBuf, spiReadBuf, n);

      digitalWrite(SS, HIGH);

      // return data to client

      client.write(spiReadBuf, n);

    }

  }

}

----------------------------------- until here -----------------------------------

Ещё

Что нового в последней версии 1.3.0

Last updated on 2018-09-05
Panel "SPI Bridge Scope" added
Ещё

Видео и Скриншоты

  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel постер
  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel скриншот 1
  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel скриншот 2
  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel скриншот 3
  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel скриншот 4
  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel скриншот 5
  • GUI Maker for Avalon Bus - FPGA SPI Bridge Panel скриншот 6

Информация GUI Maker for Avalon Bus - FPGA SPI Bridge Panel APK

Последняя Версия
1.3.0
Категория
Инструменты
Android OS
Android 4.1+
Размер файла
40.3 MB
Разработчик
RapidNack.com
Безопасная и Быстрая Загрузка APK на APKPure
APKPure позволяет легко и безопасно загружать GUI Maker for Avalon Bus - FPGA SPI Bridge Panel APK с проверкой подписи.
APKPure иконка

Супер Быстрая и Безопасная Загрузка через Приложение APKPure

Один клик для установки XAPK/APK файлов на Android!

Скачать APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies