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.

RTOS/CC2650EMK: CC2650 whole PIN Mapping scheme?

Part Number: CC2650EMK
Other Parts Discussed in Thread: CC2650, CC2540

Tool/software: TI-RTOS

Hi! i'm user using simplelink CC2650 Development Kit.

And now i'm trying to pin configuration in my way for making some system.

so to do that, i want to whole pin map scheme.

i'm using a exam of rfpacketTx, and in that exam there are io.h/CC2650DK_7ID.h are like below:

<io.h>

//*****************************************************************************
//
// The following fields are IO Id for the IOC module
//
//*****************************************************************************
#define IOID_0                  0x00000000  // IO Id 0
#define IOID_1                  0x00000001  // IO Id 1
#define IOID_2                  0x00000002  // IO Id 2
#define IOID_3                  0x00000003  // IO Id 3
#define IOID_4                  0x00000004  // IO Id 4
#define IOID_5                  0x00000005  // IO Id 5
#define IOID_6                  0x00000006  // IO Id 6
#define IOID_7                  0x00000007  // IO Id 7
#define IOID_8                  0x00000008  // IO Id 8
#define IOID_9                  0x00000009  // IO Id 9
#define IOID_10                 0x0000000A  // IO Id 10
#define IOID_11                 0x0000000B  // IO Id 11
#define IOID_12                 0x0000000C  // IO Id 12
#define IOID_13                 0x0000000D  // IO Id 13
#define IOID_14                 0x0000000E  // IO Id 14
#define IOID_15                 0x0000000F  // IO Id 15
#define IOID_16                 0x00000010  // IO Id 16
#define IOID_17                 0x00000011  // IO Id 17
#define IOID_18                 0x00000012  // IO Id 18
#define IOID_19                 0x00000013  // IO Id 19
#define IOID_20                 0x00000014  // IO Id 20
#define IOID_21                 0x00000015  // IO Id 21
#define IOID_22                 0x00000016  // IO Id 22
#define IOID_23                 0x00000017  // IO Id 23
#define IOID_24                 0x00000018  // IO Id 24
#define IOID_25                 0x00000019  // IO Id 25
#define IOID_26                 0x0000001A  // IO Id 26
#define IOID_27                 0x0000001B  // IO Id 27
#define IOID_28                 0x0000001C  // IO Id 28
#define IOID_29                 0x0000001D  // IO Id 29
#define IOID_30                 0x0000001E  // IO Id 30
#define IOID_31                 0x0000001F  // IO Id 31
#define IOID_UNUSED             0xFFFFFFFF  // Unused IO Id
#define IOC_IOID_MASK 0x000000FF // IOC IO Id bit mask

<CC2650DK_7ID.h>

#define Board_LED_ON                        1               /* LEDs on SmartRF06 EB are active high */
#define Board_LED_OFF                       0
#define Board_DK_LED1                       IOID_25         /* P2.11 */
#define Board_DK_LED2                       IOID_27         /* P2.13 */
#define Board_DK_LED3                       IOID_7          /* P1.2  */
#define Board_DK_LED4                       IOID_6          /* P1.4  */
/* Button Board */
#define Board_KEY_SELECT                    IOID_11         /* P1.14 */
#define Board_KEY_UP                        IOID_19         /* P1.10 */
#define Board_KEY_DOWN                      IOID_12         /* P1.12 */
#define Board_KEY_LEFT                      IOID_15         /* P1.6  */
#define Board_KEY_RIGHT                     IOID_18         /* P1.8  */
/* LCD  Board */
#define Board_LCD_MODE                      IOID_4          /* P1.11 */
#define Board_LCD_RST                       IOID_5          /* P1.13 */
#define Board_LCD_CSN                       IOID_14         /* P1.17 */
/* UART Board */
#define Board_UART_RX                       IOID_2          /* P1.7  */
#define Board_UART_TX                       IOID_3          /* P1.9  */
#define Board_UART_CTS                      IOID_0          /* P1.3  */
#define Board_UART_RTS                      IOID_21         /* P2.18 */
/* SPI Board */
#define Board_SPI0_MISO                     IOID_8          /* P1.20 */
#define Board_SPI0_MOSI                     IOID_9          /* P1.18 */
#define Board_SPI0_CLK                      IOID_10         /* P1.16 */
#define Board_SPI0_CSN                      PIN_UNASSIGNED  /* P1.14, separate CSn for LCD, SDCARD, and ACC */
#define Board_SPI1_MISO                     IOID_24         /* RF2.10 for testing only */
#define Board_SPI1_MOSI                     IOID_23         /* RF2.5  for testing only */
#define Board_SPI1_CLK                      IOID_30         /* RF2.12 for testing only */
#define Board_SPI1_CSN                      PIN_UNASSIGNED  /* RF2.6  for testing only */
/* Ambient Light Sensor */
#define Board_ALS_OUT                       IOID_23         /* P2.5 */
#define Board_ALS_PWR                       IOID_26         /* P2.6 */
/* Accelerometer */
#define Board_ACC_PWR                       IOID_20         /* P2.8 */
#define Board_ACC_CSN                       IOID_24         /* P2.10 */
/* SD Card */
#define Board_SDCARD_CSN                    IOID_30         /* P2.12 */
/* Power Board */
#define Board_3V3_EN                        IOID_13         /* P1.15 */
/* PWM outputs */
#define Board_PWMPIN0                       IOID_27
#define Board_PWMPIN1                       Board_DK_LED2
#define Board_PWMPIN2                       PIN_UNASSIGNED
#define Board_PWMPIN3                       PIN_UNASSIGNED
#define Board_PWMPIN4                       PIN_UNASSIGNED
#define Board_PWMPIN5                       PIN_UNASSIGNED
#define Board_PWMPIN6                       PIN_UNASSIGNED
#define Board_PWMPIN7                       PIN_UNASSIGNED
/* Analog capable DIO's */
#define Board_DIO23_ANALOG                  IOID_23
#define Board_DIO24_ANALOG                  IOID_24
#define Board_DIO25_ANALOG                  IOID_25
#define Board_DIO26_ANALOG                  IOID_26
#define Board_DIO27_ANALOG                  IOID_27
#define Board_DIO28_ANALOG                  IOID_28
#define Board_DIO29_ANALOG                  IOID_29
#define Board_DIO30_ANALOG                  IOID_30


so from above 2 codes, i can notice only pins mapped in CC2650DK_7ID.h.

for example, when i'm checking IOID_25, then it is mapped to Board_DK_LED1 pin(P2.11) in CC2650DK_7ID.h. but in case of IOID_29 or IOID_31, i don't know which pin is allocated in the board!(RF2.16 or RF2.15 whatever...)

so i need pin whole pin map scheme of CC2650 chip like (IOID_x -> RF.x pin).

Have a nice day and thx in advance!

  • The board file typically defines the IOs that are used on a given board meaning that if a IO is not used it doesn't have to be in the list.

    You can look it in a different way: Say that you only want to use SPI and UART. You then set the 4 SPI lines to the DIOs you want to use for this, same for the two lines for UART. In this case, everything else can be set as PIN_UNASSIGNED.
  • Sorry for late response and also thank you!
    but still i don't understand.
    The IOID_1 to IOID_31 will be already allocated to CC2650 IC chip pin.

    example)
    #define Board_DK_LED1 IOID_25 /* P2.11 */
    #define IOID_25 0x00000019 // IO Id 25

    so the above IOID_25 is already mapped to P2.11(CC2650 IC pin). so, as you mentioned, i can use IOID_25 for output(LED) or PWM signal or input and so on.
    so how can i figure it out why IOID_25 is P2.11?

    i guess there will be some map file for connecting IOID_25 to physical Pin(P2.11). am i right? if it is right, where can i check these info?
  • P2.11 are referring to the connector pin the CC2540 pin are routed to on the development board. Please take a look at the schematic for the development board.
  • Yeap i know that. but if i want to chage IOID_25 to P2.12 not P2.11, then how can i change it?
    and also, in <CC2650DK_7ID.h>, i can figure it out only from the annotation ( IOID_25 /* P2.11 */).
    #define Board_DK_LED1 IOID_25 /* P2.11 */

    i want to know CC2650's whole connectors pin IOID!
    example) P1.1-> IOID1
    P1.2-> IOID2
    P1.3-> IOD3 so on~

    in CC2650 Development Kit which i'm using it, there are P2.15 and 2.16 connectors. but i don't know which IOID_x is allocated to it. because there are not mentioned about it in CC2650DK_7ID.h.
  • Sorry for bothering you, and I am grateful for your kind reply.
  • As you see from www.ti.com/.../swrc298, DIO_25 (IOID_25 is connected to P2.11. P2.12 is connected to DIO30 (IOID_30)

    P2.15 is connected to nReset, P2.16 to DIO_28 (IOID_28)