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.

CCS/CC3200-LAUNCHXL: GPIO pin

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200

Tool/software: Code Composer Studio

Hello,

I have used  GPIO pins 09,10.it is working properly ,but i am using GPIO pins 06,07 not working

 MAP_PRCMPeripheralClkEnable(PRCM_GPIOA0, PRCM_RUN_MODE_CLK);

            MAP_PinTypeGPIO(PIN_61, PIN_MODE_0, false);
            MAP_GPIODirModeSet(GPIOA0_BASE, GPIO_PIN_6, GPIO_DIR_MODE_OUT);

      
           
            MAP_PinTypeGPIO(PIN_62, PIN_MODE_0, false);
            MAP_GPIODirModeSet(GPIOA0_BASE, GPIO_PIN_7, GPIO_DIR_MODE_OUT);

there after i want to configure anything to use that pins

thank you

  • Hi,

    Using the pinmux code that you have provided above I do not have any issues with using GPIO6 or 7. Are you using a CC3200 launchpad or are you using your own custom board?

    You can test the functionality of those two GPIOs by running the blinky SDK example with some slight code modifications.

    In pinmux.c, add the code you have above. Then, in gpio_if.c change the following two defines like so:

    #define GPIO_LED1 6
    #define GPIO_LED2 7

    Once you build and run the blinky example, only the green LED will be blinking by default. This is since we moved the other two GPIO outputs away from the LEDs. To get those LEDs blinking again, connect P61 to P64 and then connect P62 to P01. Do note that there is a unpopulated 0 ohm resistor that you will need to put in order to route the GPIO7 signal to the launchpad headers.

    Let me know if you cannot get GPIO6 and GPIO7 working with the blinky example.

    Regards,

    Michael