Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
quzart
PostPosted: May 30, 2012 - 03:37 PM
Newbie


Joined: May 30, 2012
Posts: 2


Hi forum,

I'm trying to write an application on the ATZB-900-B0 zigbee unit. This unit contains an ATmega1281 MCU and AT86RF212 transceiver.

We are using the Secure_Remote_Control example from the MAC v2.7.1 software package to try and get the unit to send something.

However, the unmodified example application doesn't even return from the tal_init() function. On closer inspection, the application is locked in this while loop in tal.c on line 386:
>> while (!tal_awake_end_flag);

The application we are using is provided with the MAC v2.7.1 software:
MAC_v_2_7_1\Applications\STB_Examples\Secure_Remote_Control\AT86RF212_ATMEGA1281_RCB_5_3_SENS_TERM_BOARD

The fuses are set to 0xFF9D62.

Could someone please give us a pointer in the right direction, we can't figure out why this is going wrong.

Kindest regards,
Jorn
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: May 30, 2012 - 05:05 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4869
Location: San Jose, CA

I'm pretty sure that RCB and ZigBit-900 have different pins assigned for the transceiver.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
quzart
PostPosted: May 31, 2012 - 10:07 AM
Newbie


Joined: May 30, 2012
Posts: 2


Thanks for the pointer, what a stupid mistake of us assuming we could use the files from the RCB board.

Does an example application exist for this ZigBit-900 unit?

If not. I think we can modify the RCB board files to work with the Zigbee unit. However we would then need the internal pin connection from the MCU to the transceiver, is this available?

Kindest regards,
Jorn
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: May 31, 2012 - 04:50 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4869
Location: San Jose, CA

There is no support for ZigBits in MAC (AFAIK), but modifications should be simple enough. Here is the scematic http://dl.dropbox.com/u/6121480/ATZB_24_A2_sch.jpg.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits