0
\$\begingroup\$

I'm researching different ZigBee implementations for a mesh network application.

I like NXP's JN5168-001-Mxx because it is cheaper than XBee (pricing for 200 units) and has a powerful uC. Mesh Bee seems to be an open source alternative to the JN5168-001-Mxx, but isn't competitive on price.

The biggest downside to the JN5168-001-Mxx is a lack of community support.


I can't find a specific SPI programmer on NXP's website to use with the JN5168-001-Mxx. My USBtinyISP is (supposedly) a general-purpose SPI programmer.

Would a USBtinyISP work with the Jennic JN51xx flash programmer (JN-UG-3007)? If not, what would?

\$\endgroup\$
2
\$\begingroup\$

Maybe I am late to answer this, but thought to share the ideas for others who may come across this question.

You can use FTDI FT232RL or any such USB to TTL converter, connect Rx/Tx of one with Tx/Rx of other, pull down pin 3 (SPIMISO), then pull down Reset (Pin 22), then release reset and then release SPIMISO. This sequence would put JN516x in programming mode. Starting the flash process then should transfer the code to your device. You can write a program to control the serial port of your computer, using which you can control various additional pins of FTDI to create the above mentioned sequence to put JN5168 in programming mode. For example, you can make use of CTS, RTS, DTR or other pins

Hope it helps

\$\endgroup\$
1
\$\begingroup\$

As I understood the JN5168 is programmable with any SPI flash programmer (I plan to use the UartsBee v5, as described for the MeshBee [1]). If SPIMISO is low on device reset, the JN5168 enters programming mode.

[1] http://www.seeedstudio.com/wiki/Mesh_Bee

\$\endgroup\$
0
\$\begingroup\$

I am currently using an FTDI USB to TTL converter to program the Mesh Bee, works great. Simply connect it to the UART0 port and pull down SPIMISO like Simon said. Be careful with the voltage, the Mesh Bee only accepts 3.3v.

\$\endgroup\$
  • \$\begingroup\$ what about the reset line? \$\endgroup\$ – dmSherazi Sep 12 '17 at 6:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.