soburi / JN516x-arduino-package

Arduino package for JN516x
35 stars 7 forks source link
arduino jn5164 jn5168 jn5169 jn516x nxp

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.

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.

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.