How to develop CC2530

HI, everyone.

Now, I am developing CC2530.

But I don't know how to develop CC2530.

Firstly, I prepared ZStack for CC2530 and IAR EW8051.

I download ZStack and installed.

After that, I opened sample file of ZStack using EW8051.

There are many folders.

I would like to know how to custmize sample file for CC2530.

And I would like to know that I should develop folders and files.

Here I create the system that consists of coordinator and end devices.

I am a beginner of micro controller.

Please tell us kindly.

Best regards, 

27 Replies

  • In reply to Igor Sherer:

    Same problem! D:

    I installed the IAREW 8051 7.60 (The trial version of the IAR page)  the .iso it's kind of heavy (120 MB)

  • In reply to Rogelio Garcia:

    If you have Z-stack v2.5.0 installed on your PC it won't work with

    IAR v7.60, you must have the 8.10 version.

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)

  • In reply to Igor Sherer:

    Haha I should have known before :P

    I already installed the 8.10 version and that problem was solved but there was another problems.

    When I rebuilt "Genericap" and "SensorDemo", the IAR showed the problem in most of all files (64 problems):

    "[Og007]: Assembler list file generation not allowed in this version of the compiler 

    Error while running C/C++ Compiler"
    Sorry for the bothers and thank you for all the help until now
    Best regards

  • In reply to Rogelio Garcia:

    Hey 

    I decided to put aside that problem for a while and focus in the CC2530.

    Do you know if its possible to wake up a device of sleep mode (PM3 its what I want to use)  with an internal interupt like the Recive mode interupts??

    Hope that you can help me.

     

    Best Regards

    Roger

  • In reply to Rogelio Garcia:

    Hi Roger,

     

    Please refer to cc2530 users guide, chapter 4.

    Sections 4.1.3 and 4.1.4 will answer your question

     

    Br,

    Igor

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)

  • In reply to Igor Sherer:

    Hi Igor,

    I have a problem with this function osal_start_timer Ex. The packets are delivered every 15 seconds, not 5 seconds, even though the function suggests that the interval will be 5 seconds. Even after changing the value of GENERIC_APP_SEND_MSG_TIMEOUT to even 1000, the app still sends it out at an interval of 15 seconds. So, the value of the timeout doesn't matter to this function, I don't know why, I need help figuring it out.

    Also, in the Packet Sniffer, the MAC payload refers to the transmitted data, right? Like "Hello World" in the application comes under MAC Payload? In that case, what is Application data?
  • In reply to 1804nr:

    Hi,

    Why won't you start a fresh thread, so anyone could pitch in.

    Anywho:

    osal_start_timerEx defines a timer and an event which will be invoked when the timers expires.

    If you'r changing some interval and the outcome isn't changed, then you'r changing the wrong interval.

    Try to debug and see what timer is responsible for 15 seconds event.

    Nitesh Reddy
    Also, in the Packet Sniffer, the MAC payload refers to the transmitted data, right? Like "Hello World" in the application comes under MAC Payload? In that case, what is Application data?

    The data transmitted (in an abstract way) as application data, which is a payload of a network layer, where network

    layer is a payload of the MAC layer.

    So "hello world" is the app_data, which is wrapped by network layer which is wrapped by MAC layer, each of these layers has

    it's own header, and sometimes a footer.

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)