Contiki port for the ZB502 development boards

As mentioned in my previous post, Getting started with the CC2530 and Contiki, I've recently been playing with the CC2530 platform from TI and the Contiki operating system.

However, when first programming the development boards I had, the ZB502 and ZB600, I noticed that some of the functionality was missing, the buttons were not working correctly, and some programs failed to work at all. Initially I believed this was due to development on the Contiki-sensinode folk being quite stale. It was only after checking the schematics for the devices that I realised the problem was due to the differences in hardware, specifically, the button configuration for the ZB502 is slightly different to that of the TI based development boards; the ZB502 has buttons on two ports, and features both an active high and active low button.

Since this was essential for getting the boards to work nicely with the Contiki OS, I forked the Contiki-sensinode folk platform and created a new branch, ''zb502-model-support'', in which I created a new model, the "MODEL_ZB502".

This can be found on my Github page

ZB600 support

I've not currently implemented the joystick on the ZB600, and nor do I intend to. Button one should work just fine with the above changes.


Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.
By submitting this form, you accept the Mollom privacy policy.