FPGA SPI Bridge Console for Avalon Bus Application icon

FPGA SPI Bridge Console for Avalon Bus 1.0.4

24.5 MB / 1+ Downloads / Rating 1.0 - 1 reviews


See previous versions

FPGA SPI Bridge Console for Avalon Bus, developed and published by RapidNack.com, has released its latest version, 1.0.4, on 2017-09-21. This app falls under the Tools category on the Google Play Store and has achieved over 50 installs. It currently holds an overall rating of 1.0, based on 1 reviews.

FPGA SPI Bridge Console for Avalon Bus APK available on this page is compatible with all Android devices that meet the required specifications (Android 4.0+). It can also be installed on PC and Mac using an Android emulator such as Bluestacks, LDPlayer, and others.

Read More

App Screenshot

App Screenshot

App Details

Package name: com.rapidnack.SPIBridgeConsole

Updated: 7 years ago

Developer Name: RapidNack.com

Category: Tools

New features: Show more

App Permissions: Show more

Installation Instructions

This article outlines two straightforward methods for installing FPGA SPI Bridge Console for Avalon Bus on PC Windows and Mac.

Using BlueStacks

  1. Download the APK/XAPK file from this page.
  2. Install BlueStacks by visiting http://bluestacks.com.
  3. Open the APK/XAPK file by double-clicking it. This action will launch BlueStacks and begin the application's installation. If the APK file does not automatically open with BlueStacks, right-click on it and select 'Open with...', then navigate to BlueStacks. Alternatively, you can drag-and-drop the APK file onto the BlueStacks home screen.
  4. Wait a few seconds for the installation to complete. Once done, the installed app will appear on the BlueStacks home screen. Click its icon to start using the application.

Using LDPlayer

  1. Download and install LDPlayer from https://www.ldplayer.net.
  2. Drag the APK/XAPK file directly into LDPlayer.

If you have any questions, please don't hesitate to contact us.

App Rating

1.0
Total 1 reviews

Previous Versions

FPGA SPI Bridge Console for Avalon Bus 1.0.4
2017-09-21 / 24.5 MB / Android 4.0+

About this app

類似アプリ「FPGA SPI Bridge Panel - GUI maker for Avalon Bus」も公開しました。
Avalonバスを操作するGUIを短時間で作成できます。お試しください。


Qsysのオンライン・マニュアル「Embedded Peripheral IP User Guide」の「SPI Slave/JTAG to Avalon Master Bridge Cores」に書かれているように、JTAG以外にSPIでも外部からFPGA内部を操作できます。
Arduino、Raspberry PiなどからSPI経由でFPGAに実装した回路をアクセスできるのです。Nios II CPUを組み込まなくてもいいんです。
例えば、ESP-WROOM-32をWifiーSPI変換器として使えばアンドロイド端末からWifi経由でFPGAを操作できてしまいます。こんな感じです。

  アンドロイド端末 →(Wifi)→ ESP-WROOM-32 →(SPI)→ FPGA

詳細は、

  http://rapidnack.com/

をみていただきたいのですが、こちらにもESP-WROOM-32用のArduinoスケッチを載せておきます。

----------------------------------- ここから -----------------------------------
#include <SPI.h>
#include <WiFi.h>

/* Set these to your desired credentials. */
//const char *ssid = "ESPap";
//const char *password = "thereisnospoon";

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("Configuring access point...");
// /* You can remove the password parameter if you want the AP to be open. */
// WiFi.mode(WIFI_AP);
// WiFi.softAP(ssid, password);
// IPAddress myIP = WiFi.softAPIP();
// Serial.print("AP IP address: ");
// Serial.println(myIP);

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);
}
}
}
----------------------------------- ここまで -----------------------------------

New features

簡単にデータを切り替えられるようにWriteボタンを2個追加しました。
BlockWriteボタンのデータに「Cos+Sin」を追加、32ビットの場合、[31:16]にcos、[15:0]にsinを書き込みます。

App Permissions

Allows applications to open network sockets.
Allows applications to access information about networks.