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 with CC2591 design

Other Parts Discussed in Thread: CC2591, CC2530

Hi, everyone,

 

I was asked to design a cc2530 with cc2591 front-end PA-LNA system. Meanwhile, I need to use P0.2-P0.5 as a (UART 0, alt 2) debug interface, as I need to connect P1.4-P1.7 (UART 1, alt 2) with hardware flow control to another device. However, it seems to be P1.4 is captured by the CC2591 EN pin, and I can't change the code to let it connect to any other pins.  Is there any solution for the P1.4 pin conflict? I'm looking forward for your replies.

 

Thank you very much.

  • What code are you running? I believe the output to CC2591 is set up using an OBSSEL register (cf. p 86-87 in the CC253x User Guide). If you have the source code, you need to replace the assignments to OBSSEL4 with a similar assignment to another OBSSEL register (and keep OBSSEL4 at its reset value of 0). The observation output can be set up on pins P1.0-P1.5 using the registers OBSSEL0-OBSSEL5, so it should be possible to find an unused pin for this.

  • Oh, Thank you very much. 

     

    Is it to change code here in mac_radio_defs.c

    /* P1_4 -> EN (LNA control) */

        RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;

        OBSSEL4       = OBSSEL_OBS_CTRL1;

     

    Change the register above can solve, right? Thank you.

  • Yes, just replace OBSSEL4 with e.g. OBSSEL3 (if you want to use P1.3).