This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2538: Constant TX on single channel for UL approval

Part Number: CC2538
Other Parts Discussed in Thread: Z-STACK,

Hi, 

we have a customer that needs to have UL approval of one of our products. Now UL wants to have a constant TX on channels 1, 18, 25 for measurement purposes. We gave them our products and said they should control the channels via RF Studio but the refused because they want to have a standalone PCB without PC connection. 

Now my question, is there some example which is doing what UL wants? 

I saw something in Z-Stack ZNP that seems to do it ( znpTestRF() ) but my Version of IAR 7.40 can't open the samples which seem to be created i newer version of IAR (*aarrrrgghhh*).

So, can someone help me with either a hint how to do it or perhaps with the ZNP SW for IAR 7.40 or perhaps someone has a different solution for my problem?

Thank you very much in advance!

Best regards, 

oliver

  • You can try to use ZNP of Z-Stack 3.0.1 to set both primary and secondary channel to make it.
  • Hi Oliver,

    Have you referred to the ZNP Interface Examples from the CC2530ZNP Mini Kit? This includes a RF Tester project workspace: www.ti.com/.../swrc211

    You might find the CC2538-SW most useful: e2e.ti.com/.../331305

    Please note that channel 1 is sub-1 GHz which is not supported on CC253x devices.

    Regards,
    Ryan
  • Hi,

    first of all - thank you very much! swrc272a helped a lot! I modified the project to run without LEDs and LCD. It compiles, it runs - but no RF output. I attached my file - perhaps you can take a look whether there is a major bug....

    BTW we are using the CC2538NF53.

    Have a nice weekend!

    Regrads,

    Oliver

    -------

    per_test.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    //*****************************************************************************
    //! @file per_test.c
    //! @brief Packet Error Rate test for CC2538 on SmartRF06EB/BB.
    //!
    //! CC2538/CC2592EM is supported on SmartRF06EB.
    //! The CC2538/CC2592EM only has access to LED1 and LED2, so the
    //! PER is not indicated by the LEDs when this module is selected.
    //! Instead LED1 is toggled as long as packets are received.
    //!
    //! SmartRF06EB: Follow the instructions on the LCD display.
    //! SmartRF06BB: Press UP key to start/stop TX.
    //! Press DOWN key to start RX. Reset PER statistics
    //! by pressing SELECT key. LEDs indicate the current
    //! PER as follows:
    //! LED1 blinks if PER is >= 10%
    //! LED2 blinks if PER is < 10%
    //! LED3 blinks if PER is < 5%
    //! LED4 blinks if PER is < 1%
    //! To return from RX, power cycle CC2538.
    //!
    //! Revised $Date: 2014-01-21 15:06:31 +0100 (ti, 21 jan 2014) $
    //! Revision $Revision: 11955 $
    //
    // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
    //
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions
    // are met:
    //
    // Redistributions of source code must retain the above copyright
    // notice, this list of conditions and the following disclaimer.
    //
    // Redistributions in binary form must reproduce the above copyright
    // notice, this list of conditions and the following disclaimer in the
    // documentation and/or other materials provided with the distribution.
    //
    // Neither the name of Texas Instruments Incorporated nor the names of
    // its contributors may be used to endorse or promote products derived
    // from this software without specific prior written permission.
    //
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    //****************************************************************************/
    /**************************************************************************//**
    * @addtogroup per_test
    * @{
    ******************************************************************************/
    /******************************************************************************
    * INCLUDES
    */
    #include "per_test.h"
    #include "basic_rf.h"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi Oliver,

    Here's my version which outputs RF on channel 11.

    1057.per_test.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    //*****************************************************************************
    //! @file per_test.c
    //! @brief Packet Error Rate test for CC2538 on SmartRF06EB/BB.
    //!
    //! CC2538/CC2592EM is supported on SmartRF06EB.
    //! The CC2538/CC2592EM only has access to LED1 and LED2, so the
    //! PER is not indicated by the LEDs when this module is selected.
    //! Instead LED1 is toggled as long as packets are received.
    //!
    //! SmartRF06EB: Follow the instructions on the LCD display.
    //! SmartRF06BB: Press UP key to start/stop TX.
    //! Press DOWN key to start RX. Reset PER statistics
    //! by pressing SELECT key. LEDs indicate the current
    //! PER as follows:
    //! LED1 blinks if PER is >= 10%
    //! LED2 blinks if PER is < 10%
    //! LED3 blinks if PER is < 5%
    //! LED4 blinks if PER is < 1%
    //! To return from RX, power cycle CC2538.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Regards, Ryan

  • Hi @all, 

    thanks for your help! I forget to init the BSP so, this was the reason my code was not emitting any RF output - but now it works!

    Best regards, 

    Oliver