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/CC3200MOD: CC3200MOD

Part Number: CC3200MOD

Tool/software: Code Composer Studio

Hi,

I am using CC3200MOD in my custom board. I want to run OOB example in my cc3200mod and I don't have any external pin to short P58-Vcc so I am not able to access cc3200mod in AP mode. 

When I see the OOB example configuration. ,I found the P58 config like this :

MAP_PinTypeGPIO(PIN_58, PIN_MODE_0, false);
MAP_GPIODirModeSet(GPIOA0_BASE, 0x8, GPIO_DIR_MODE_IN);

so I tried to change this code acc. to it.

MAP_PinTypeGPIO(PIN_05, PIN_MODE_0, false);                                                      //( changed config. )
MAP_GPIODirModeSet(GPIOA1_BASE, 0x40, GPIO_DIR_MODE_IN);

I shorted PIN_5 to Vcc and tried to run AP  mode but unable to do it.

Am I doing it the right way? 

Can anyone please tell me how to run my board in AP mode?

Thanks and regards,

Nikhil

  • Hi Nikhil,

    You need also change code in function ReadDeviceConfiguration() (main.c). In this function is read state of pin and set WLAN mode.

    Jan
  • Hi Hnz,
    I have changed the parameter in ReadDeviceconfiguration() but still it is not running AP mode. Below is my code for same:

    MAP_PinTypeGPIO(PIN_05, PIN_MODE_0, false); // PinMuxConfig()
    MAP_GPIODirModeSet(GPIOA1_BASE, 0x40, GPIO_DIR_MODE_IN);

    #define SH_GPIO_14 13 //

    GPIO_IF_GetPortNPin(SH_GPIO_14,&uiGPIOPort,&pucGPIOPin); //ReadDeviceconfiguration()
    ucPinValue = GPIO_IF_Get(SH_GPIO_14,uiGPIOPort,pucGPIOPin);

    I have checked the voltage at PIN_05 ,it is showing 3.3v.
    Still I am getting '0' at ucPinValue.

    Please tell me how to proceed now.

    Thanks
    Nikhil
  • Hi Nikhil,

    I am not sure why your code is not working. I have to look at it in more detail, but I am not able do it right now.

    State of GPIO pin you can also read by driverlib function like this:

    MAP_GPIOPinRead(GPIOA1_BASE, 0x40)

    Jan