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.

TM4C1231的内部EEPROM写入数据出错

Other Parts Discussed in Thread: TM4C1231H6PM

芯片:TM4C1231H6PM,使用内部EEPROM,初始化SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0);EEPROMInit();后用EEPROMProgram函数写入108字节数据,偶尔会出错,出错时EEPROMProgram函数返回的数据是0没有问题,程序没有跑飞,断点都有效,但是有些ADC口采样回来的数据不对,有些IO口状态及数据也不对。系统用了ucos ii系统,系统堆栈和任务堆栈都检查过,改成很大数值也一样,但是改用外部eeprom就不会有问题。