Bitcloud ZigBee stack in AVR32 complex application

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

We need to integrate the BitCloud ZigBee stack in a complex application that has GPS, Wi-Fi and Bluetooth (The TCP/IP stack and the Bluetooth stack are not handled by the AVR32 MUC). Our application is using freeRTOS.

What we want to do is to place the whole ZigBee stack inside a freeRTOS task. Is this possible?

I have been studying the bitcloud SDK and I have seen that you are using the IAR __low_level_init to initialize the HAL and then branch to the APL_TaskHandler.

Could you please give me some guidelines on porting the BitCloud ZigBee stack to my platform (Compiler and linker settings, etc)? I am new to IAR so I need bit of help...

Thanks in advance.

Best regards,

Daniel

Daniel Campora http://www.wipy.io

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

danicampora wrote:
Our application is using freeRTOS.

I'd say it is impossible. At least without having source code. In BitCloud main() is hidden inside closed source library and all initializations and task scheduling are done from main(). There is no easy way to start freeRTOS task doing the same things. It is likely that you'll also face timing issues since BitCloud contains very timing critical sections of code.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello alexru,

Thanks a lot for your quick reply. I guess I am going to have to add a bitcloud module to the boards and run the stack separately from there...

Daniel Campora http://www.wipy.io

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

danicampora wrote:
Thanks a lot for your quick reply. I guess I am going to have to add a bitcloud module to the boards and run the stack separately from there...

That would be the best solution, but be careful, Profile Suite is not supported on ZigBits. So if you need to run profiles then this is not an option.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.