• AVR Freaks

MRF24J40MA zigbee stack question

Author
picky
Starting Member
  • Total Posts : 44
  • Reward points : 0
  • Joined: 2006/01/07 23:21:06
  • Status: offline
2009/08/06 15:13:23 (permalink)
0

MRF24J40MA zigbee stack question

What are the options to store the zigbee 2006 stack. Should it reside in the PIC that controls the MRF or can it be in a separate EEPROM?
#1

8 Replies Related Threads

    mrf_joe
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2009/08/04 16:23:25
    • Location: 0
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/08 10:58:18 (permalink)
    0
    Hi, you should answer yourself if the pic can execute code from eeprom? If it can then you can place the code to eeprom. From my understanding non of pic can do this and then the only place for it is inside microcontroller.
    #2
    picky
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2006/01/07 23:21:06
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/08 12:49:38 (permalink)
    0
    Joe, the reason I asked was there are some pics which do not have 50k eeprom.
    In that case what options do I have to store stack.
    I am also thinking of using an FPGA to talk to the MRF24J40.
    #3
    ericwertz
    Starting Member
    • Total Posts : 90
    • Reward points : 0
    • Joined: 2009/04/14 05:27:28
    • Location: 0
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/08 16:34:11 (permalink)
    0
    Large software stacks are pretty much the reason why a few of the PIC families have 64/96/128kB of flash.  The short answer about what to do when your PIC of choice doesn't have the necessary flash (or SRAM) is "Don't do that".

    Also, if you're not going to use a PIC for your MCU (and use an FPGA in your case, as you'd mentioned), you won't be using the Microchip stack anyways.  However, the size of the stack (subset) that you need will give you a ballpark guesstimate as to how much codespace you'll need for your FPGA implementation.

    #4
    epa
    New Member
    • Total Posts : 20
    • Reward points : 0
    • Joined: 2009/07/31 00:23:58
    • Location: Sri Lanka
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/11 01:14:27 (permalink)
    0
    Hi..,
     
    I have faced a same problem while i am trying to deal with MRF24J40MA using PIC18F452 MCU. It has only 32 Flsh (program). Can anybody tell me which PIC will exactly suitabkle for this work....... ? I think PIC18F4620 will suite for that.......... Anyway waht are the recomended PICs ?
    thanks.
    #5
    picky
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2006/01/07 23:21:06
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/11 01:18:55 (permalink)
    0
    epa, yes the 18F4620 will work. Its the PIC on the picdemz board. 
    Just look for flash mem greater than 48K in the PIC product table.
    #6
    epa
    New Member
    • Total Posts : 20
    • Reward points : 0
    • Joined: 2009/07/31 00:23:58
    • Location: Sri Lanka
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/11 01:55:31 (permalink)
    0
    Hi picky,
    thanks for the reply... so as you are the one who started this thread.., did you try to use the module with External memory(EEPROM) attached with PIC MCU..?
    or so PIC18F4620 is the MCU you are using for that...? I am just starting .... so exept storing Zigbee stack software, how much memory needed for a Zigbee application roughly(say for some sensor application...) in the MCU ?
    Thanks.
    #7
    picky
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2006/01/07 23:21:06
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/11 02:18:37 (permalink)
    0
    epa,
    I am still deciding if I want to go with zigbee or just Micriship's own RF(MRF49XA) -http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en541404
    This chip seems simpler and there is no stack. So any uC/fpga can interface to it.
    But it may not be capable of mesh network like zigbee(i am not sure though).

    If you make any products using the zigbee stack you gotta pay the zigbee consortium.
    Have a look at this thread, when I was first trying to start with zigbee.
    http://www.microchip.com/forums/tm.aspx?m=404112&mpage=1&key=&#404112

    To answer your question, if you have 64k with 58k filled with the stack, I think the remaining memory would be more than sufficient for simple apps.
    I haven't used zigbee with PIC, so not sure about using external flash memory. Common sense says yes. But ask the folks who have done it.
    #8
    mrf_joe
    Starting Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2009/08/04 16:23:25
    • Location: 0
    • Status: offline
    RE: MRF24J40MA zigbee stack question 2009/08/11 07:04:16 (permalink)
    0
    There is an option to use MRF24J40 part with any microcontroller that have enough code size for the radio stack functionality you like. The code can be ported easily even to prove it is working say - BasicDriver and then you can add what you want.
    #9
    Jump to:
    © 2019 APG vNext Commercial Version 4.5