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.

怎么修改wifi_audio_app 例程的IIC引脚

Other Parts Discussed in Thread: CC3200AUDBOOST, CC3200

正在开发的项目用到了CC3200AUDBOOST模块,需要把wifi_audio_app 例程里面的IIC引脚 PIN_01 和 PIN_02 引脚换到板子的其他IIC引脚上,尝试修改完以后不能用,要怎么修改?

MAP_PRCMPeripheralClkEnable(PRCM_I2CA0, PRCM_RUN_MODE_CLK);

//
// Configure PIN_01 for I2C0 I2C_SCL
//
 MAP_PinTypeI2C(PIN_01, PIN_MODE_1);

//
// Configure PIN_02 for I2C0 I2C_SDA
//
MAP_PinTypeI2C(PIN_02, PIN_MODE_1);

按照这个方法我把IIC引脚配置到 PIN_03和PIN_04引脚上不能用

MAP_PRCMPeripheralClkEnable(PRCM_I2CA0, PRCM_RUN_MODE_CLK);

// Configure PIN_3 for I2C0 I2C_SCL
//
MAP_PinTypeI2C(PIN_03, PIN_MODE_5);

//
// Configure PIN_4 for I2C0 I2C_SDA
//
MAP_PinTypeI2C(PIN_04, PIN_MODE_5);

这个是我修改后的代码