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.

TMS320F28377D: I2C_eeprom_polling 和EMIF 发生冲突

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

我使用的是syscfg进行配置,当仅运行I2C_eeprom的时候能够正常运行,参考的是C2000Ware_4_03_00_00中的i2c_ex4_eeprom_polling例程。但是当我在syscfg中加入EMIF配置后虽然能通过编译,但是程序会卡死在while(!(I2C_getStatus(base) & I2C_STS_REG_ACCESS_RDY));,也就是状态无法正常转化,即使注释掉这些while循环也无法正常读写。而一旦去掉EMIF的配置后就能够正常运行。syscfg对EMIF的配置如下,CS2-4都是16bit,Address Bus MSB都为EM1A18,且不使能 Extended Wait。