Giter Site home page Giter Site logo

rzhai / hifive1revb_wifi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kjarvel/hifive1revb_wifi

0.0 1.0 0.0 126 KB

SiFive HiFive1 Rev B ESP32 - WiFi connection demo

Home Page: https://github.com/kjarvel/hifive1revb_wifi/wiki/HiFive1-Rev-B-WiFi-and-BLE

License: The Unlicense

C 100.00%

hifive1revb_wifi's Introduction

hifive1revb_wifi

SiFive HiFive1 Rev B ESP32 - WiFi connection demo

A small demo application that enables the following on a SiFive HiFive1 Rev B RISC-V board:

  • UART: 115200 bps
  • SPI: 80 KHz
  • CPU: 320 MHz
  • WiFi in Station mode (client)

Requirements

Build instructions

Create an empty Freedom E SDK Software project for:

  • Target: sifive-hifive1-revb
  • Example program: empty

Copy the source files from this repository into the src folder and build.

Usage

Copy the generated hex file into the HiFive USB drive.
(Or, simply use the pre-built hex file hifive1_revb_wifi.zip).

Connect to the UART used for the FE310-G002/HiFive1 console, using for example Tera Term.
The output should look like this (press the Reset button on the board if it does not work):

Bench Clock Reset Complete

ATE0-->ATE0
OK
AT+BLEINIT=0-->OK
AT+CWMODE=0-->OK

---- HiFive1 Rev B WiFi Demo --------
* UART: 115200 bps
* SPI: 80 KHz
* CPU: 320 MHz
Greetings!
Enter SSID:
Enter Password:

After the WiFi connection is made, press ENTER to disable it.
After that, you can enter any AT commands from ESP32 AT Instruction Set and Examples.
For example, this will return the IP address:

ATE0
AT+CWMODE=1
AT+CWJAP="ssid","pwd"
AT+CIFSR

hifive1revb_wifi's People

Contributors

kjarvel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.