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.
void PinMuxConfig(void)
{
//
// Enable Peripheral Clocks
//
PRCMPeripheralClkEnable(PRCM_I2CA0, PRCM_RUN_MODE_CLK);
//
// Configure PIN_16 for I2C0 I2C_SCL
//
PinTypeI2C(PIN_16, PIN_MODE_9);
//
// Configure PIN_17 for I2C0 I2C_SDA
//
PinTypeI2C(PIN_17, PIN_MODE_9);
}
生成的代码是一样的。
还是一样的现象。
PIN16和17默认是JTAG的TDI和TDO, 你是用JTAG在通信吗?如果你占用了它,当然就没办法通信了。
如果将PIN16,PIN17用作I2C,是不是就无法使用板载FTDI仿真器了?