Giter VIP home page Giter VIP logo

jn516x-arduino-package's Introduction

About

This is Arduino add-on package for NXP JN516x platform. This package is built on ContikiOS.

Install

Install JN516x plugin to Arduino

Use this additional package definition of 'Additional Boards Manager URLs' option that is on Arduino's preferences.

Install Compiler and SDK.

Download and install compiler and sdk from NXP's JN516x page.

  • JN-SW-4141 BeyondStudio for NXP
  • JN-SW-4163 JN516x IEEE 802.15.4 SDK

For Windows

Install JN-SW-4141 and JN-SW-4163 to installer's default destination (C:\NXP).

For Linux/MacOSX

Install JN516x IEEE 802.15.4 SDK contents (JN-SW-4163 directory, need to extract on windows) under /usr/jn516x-sdk/(default directory as Contiki expects). If installed to another directory, set the path to SDK_BASE_DIR and export it.

Limitations

Not support function.

  • analogReadResolution()
  • analogWriteResolution()
  • Keyboard
  • Mouse

Interrupt mode

JN516x does not support LEVEL triggerd and both edge triggerd interruption, support only RISING and FALLING. attatchInterrupt() treat HIGH, LOW, CHANGE as RISING.

jn516x-arduino-package's People

Contributors

soburi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jn516x-arduino-package's Issues

Invalid zip?

So I'm trying to install this on the arduino IDE, put in the link on board manager url, selected my board in tools, but when I try to compile, I get this error.

Arduino: 1.6.9 (Windows 7), Board: "NXP JN516x, JN5169"

Preparing package ...
Download https://github.com/soburi/contiki/archive/a61d7b9f7dc477e7df130842a5286f569a05c4bb.zip ...
Download complete.
Extract to ...
%!(EXTRA string=C:\Users\Emu\AppData\Local\Arduino15\packages\intiki\hardware\contiki\0.0.20160519\system\contiki)2016/06/22 15:22:04 zip: not a valid zip file
exit status 1
Error compiling for board NXP JN516x.

Maybe it is a IDE version issue and it's looking for a file in the zip that is not there?

Border router ?

Hello,
It'll be greate if you have the exemple of a border router solution than we can use to receive data from 802.15.4 6lowpan to a tcp network.

Regards,

tcp client can't connect to tcp server

Dear Soburi,

I tested your examples on three JN5168 board, each with a different sketch :
They are all running on the same time.

  • tcp-echo-server-rpl give in terminal :
    """
    Contiki-1.6.9 started with IPV6, RPL
    Node id is set to 45088.
    nullsec CSMA nullrdc
    Start Echo Server.
    Start RPL with prefix AAAA::
    """"

  • tcpv6-client-example give in terminal :
    """
    Contiki-1.6.9 started with IPV6, RPL
    Node id is set to 56915.
    nullsec CSMA nullrdc
    MicroIP.begin
    connecting...

connection failed.
"""

-tcp-echo-client
"""
Contiki-1.6.9 started with IPV6, RPL
Node id is set to 42437.
nullsec CSMA nullrdc
Start Echo Client.
connect 0
connect 0
connect 0
connect 0
""""

Is your arduino for jn516x able to use the wireless connection of the JN516x ?

Thank you for your help and your good work already done :D

capture

Small correction eeprom_size

Hello Soburi,
I think that you should replace :
in the file "JN516x-arduino-package/variants/jn516x/platform.h"

static inline size_t eeprom_size() {
return segmentLength * segmentNumber;
}

by :
static inline size_t eeprom_size() {
return segmentLength * (segmentNumber+1);
}

Because segmentNumber start from zero, so you under estimate teh size of eeprom.
Thank you for your greate job !
👍

Mac OS

Hi,

Thank you for providing this software !

Is it possible to make it work on Mac OS ? The JN516x is only for Windows ?

Thank you !

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.