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.

CC2530: CC2530 DIO voltage output issue at power up

Part Number: CC2530
Other Parts Discussed in Thread: TIMAC,

Tool/software:

I use the TIMAC.

When the power is turned on, a voltage of 2V is output for 50ms from the pin set to digital output.

So there is a problem that the relay connected to the output pin turns ON for a monent every time the power is turned on.

It can be solved by adding a chattering removal circuit to the relay board.

Can it be removed by setting in just CC2530 without adding a chattering removal circuit ?

  • Hi Edan,

    What is the voltage level of your system?  Is there a specific IO pin which shows this behavior or is it all pins?  Does this occur if you load an empty baseline project (i.e. Fundamental Software example)?  Can you verify whether this pulse occurs before the device enters main code functionality (possibly through another pin control and compare time deltas)?

    Regards,
    Ryan

  • Thanks for your answer. my system voltage is 3.3V.all pins are same behavior.

    See the code below. Line 3, P1=0xff; This setting causes a voltage output.

    This setting is intended to use all pins of P1 as DIO..

      initUART(); //p0.2,p0.3 is uart ,other is ADC (p0.0,p0.1)
      //P1 AND P2 IS DIO
      P1=0xFF;
      //SEL : 0(base),1(special) , DIR : (0 :INPUT,1:OUTPUT)
      P1SEL = 0;//ALL DIO 
      //--------p1 is all output setting----
      //P1DIR = 0; //P1.0~7 D_INPUT     
      P1DIR|=0xff;//P1.0is output . AUTOMATIC AT HAL_I2C.C

  • Ah..P1=0xFF; my mistake.

    I mistakenly thought these settings were for DIO.