你好ti:
我手里有一块ti官方lp-am243demo板,查看原理图得知i2c0连接了eeprom
问题
1.此eeprom只读吗?
~mcu_plus_sdk_am243x_09_00_00_35\examples\drivers\i2c\i2c_read
sdk只有关于read的例子
2.可以往此eeprom写数据吗?有没有具体示例
谢谢
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.
1.此eeprom只读吗?
可以读写,EVM板上有个写保护的管脚WP,该管脚悬空,就可以进行写。
4.6.2 Board ID EEPROM
https://www.ti.com/lit/ug/spruj12e/spruj12e.pdf
2.可以往此eeprom写数据吗?有没有具体示例
可以写,和read读操作类似,都用I2C_transfer函数,可以参考mcu sdk user guide。
https://dev.ti.com/tirex/explore/node?node=A__AD2nw6Uu4txAz2eqZdShBg__com.ti.MCU_PLUS_SDK_AM243X__AROnekL__LATEST