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.

Configuring CC3200 GPIO pins

Other Parts Discussed in Thread: CC3200

Hi,

I need to use GPIO other than the ones specified in the board.h file. (Say Pin 15 and Pin 55).I want to be configured as Output.I have modified the pin config file on the code generated by TI Mux config Tool. Also I have done the changes to the GPIO_PinConfig gpioPinConfigs[] function.Still i cannot write or read or toggle the particular pins.Am I forgetting something?

Can someone tell me the procedure step by step on what configuration has to be done.

Thanks

  • Hi John,

    Using the gpiointerrupt_CC3200_LAUNCHXL_TI_CC3200 example as a reference:

    1. Generate the pinmux files necessary to set up the peripheral clocks etc.

    2. Update the gpioPinConfigs array with your new IO pin and it's respective settings within the CC3200_LAUNCHXL.c file

    3. Update the Enumeration for GPIO pins within the CC3200_LAUNCHXL.h header file (Used by the GPIO driver to index into the pin configs array)

    4. Use the name defined in the enumeration from step 3 to call the respective GPIO functions.

    Best,

    Alexander

  • Hi Alexander,

    Thank you for the reply.I was doing the same thing but was mistaking Pin Number and GPIO Number.

    But still thank you for the nicely written procedure.Everything is working fine.

    Regards and Cheers

    John