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.

TMS320F28027F: Issues related to EEPROM communication using IIC in motorWARE

Part Number: TMS320F28027F
Other Parts Discussed in Thread: MOTORWARE, C2000WARE

Hello, expert.
I am currently using the motorWare software (InstaSPIN-Foc) for the F28027F. However, I needed the communication function of IIC, so I found: D:\ti\C2000Ware_6_00_00_00\device_support\f2802x\examples\structs\i2c_eeprom
In the above sample code, registers are used to configure the IIC. I attempted to configure it in the directory:
D:\ti\C2000Ware_6_00_00_00\device_support\f2802x\examples\drivers
The code for searching for IIC_eeprom was not found.

Since motorWARE is configured using drivelib, although no error was reported after I transplanted the code, communication was not possible. However, when I used the i2c_eeprom code, I found that it worked.

May I ask if there are any methods that can guide me to solve this problem?

  • Hi Yan,

    Can you double check if there are any missing include paths or compiler search options between the 2 projects? The IIC_eeprom would be a project-level function implemented in some header file, so look for that and pull it into your other project in order to be able to use the function

    Regards,

    Peter