GithubHelp home page GithubHelp logo

twelite_on_rpi's Introduction

TWE-Lite on RPi

What is this?

TWE-LiteをRaspberry PiのUARTに直接接続するボードです。 ラズパイのケースにそのまま収まったり、TWE-LiteRのアダプタをケチれたりするので、 Border-Routerを作るときに役に立つはずのものです。

How to use it?

私家版jenprog (https://github.com/soburi/jenprog) で書き込みができるようになっています。

  • TX - RX
  • RX - TX
  • GPIO9 - SPIMISO(Programming-mode)
  • GPIO23 - reset

でTWE-LiteとRaspberryPiを接続しています。

jenprog -c serial -t /dev/ttyS0 --rpi --spimiso-pin=9 \
--reset-pin=23 --verbose -p slip-radio.jn516x.bin

のようにすると、イメージの焼き込みができます。 シリアルの指定はRPi3の場合は/dev/ttyS0、RPi2/1は/dev/ttyAMA0で。

SW1はリセットに繋がっています。所謂リセットボタン。

GPIO24はSW2に接続しています。明示的に機能は割り当てていないので、 RPi側のプログラムで任意に使用できます。

  • GPIO24 - SW2

LED,SWはNXPのDR1174の接続に準拠しているので、 ContikiにあるJN516x_WITH_DR1174の設定を使うときに便利です。

  • DIO2 - LED1
  • DIO3 - LED2
  • DIO8 - SW3

twelite_on_rpi's People

Contributors

soburi 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.