Other Parts Discussed in Thread: CC3220SF
Tool/software: Code Composer Studio
I am using the I2C demo application to communicate the sensor through I2C. I want to change the pin from 1 and 2 to 16th and 17th. When, I changed it, the communication is not happening with CC3200. How can I enable these pins? The pins is not enabling for I2C. The code is given below which I am using.
void
PinMuxConfig(void)
{
//
// Enable Peripheral Clocks
//
MAP_PRCMPeripheralClkEnable(PRCM_UARTA0, PRCM_RUN_MODE_CLK);
MAP_PRCMPeripheralClkEnable(PRCM_I2CA0, PRCM_RUN_MODE_CLK);
//
// Configure PIN_55 for UART0 UART0_TX
//
MAP_PinTypeUART(PIN_55, PIN_MODE_3);
//
// Configure PIN_57 for UART0 UART0_RX
//
MAP_PinTypeUART(PIN_57, PIN_MODE_3);
//
// Configure PIN_16 for I2C0 I2C_SCL
//
MAP_PinTypeI2C(PIN_16, PIN_MODE_9);
//
// Configure PIN_17 for I2C0 I2C_SDA
//
MAP_PinTypeI2C(PIN_17, PIN_MODE_9);
}