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.

i2c problem

I try to make a simple program with i2c and i have the next error:

 

>> warning: entry point other than _c_int00 specified

 

undefined                        first referenced

 symbol                              in file

---------                        ----------------

_c_int00                         C:\\Documents and Settings\\Gaston\\Mis documentos\\MIsProyectosDSP\\testeo\\treceavo\\Debug\\DSP2833x_CodeStartBranch.obj

>>   error: symbol referencing errors - './Debug/treceavo.out' not built

 

>> Compilation failure

 

way????  

Gaston

 

  • Gaston,

    Right click on your project and select the open for editing option, and check all the file path and other linker variables you have given correctly .

    This is not the problem with the I2C Anyways ,

  • When you are writing a C program, there is a need to link in the C Run-Time Support library.  This is documented in the TMS320C28x Optimizing C/C++ User's Guide (SPRU514) in Chapter 7 and 8.  This run-time support library provides support for the ANSI/ISO C/C++ standard library, C I/O library, intrinsic arithmetic routines and system startup routin _c_int00.

    This library should be found in the C2000 Code Generation Tools .\lib directory such as C:\ti\c2000\cgtools_v5.1.1\lib.  The specific path is unique to your installation.  I just happend have it located at c:\ti\c2000\.

    You should edit your project to include the appropriate rts library.

  • hi SAP,

    i want to connect the dsp with an extern device using i2c , i see the example code (i2c_eeprom) an i want to know :

    1) If i don`t use the eeprom, i don`t need to use MemoryHighAddr and MemoryLowAddr?

    2)  These are the direction for the eeprom or the slave address?

    Thanks.

    Gaston.

  • Gaston,

    In the I2C example code , There is a slave address for the EEPROM (0x68) and the memory address of the EEPROM (0x00,0x03)

    MemoryHighAddr & MemoryLowAddr is the setup bye which is send to the EEPROM,Check the below link so that you can get more details for the same  

    http://wulfden.org/downloads/datasheets/24WC256.pdf

     

     

    You may need to change both address if you are using any other peripheral

     

     

  • hi,

    SAP  where i can find more examples for the i2c?

    If i don`t want to use the fifo register it changes the structure of the msg?

    I try to communicate with other device but i can`t see anything. I use a msp430.

    Where i can find data to do this?

    Gaston.

  • Gaston ,

    You are using the MSP430 as your slave device ?

    This  Example Codes link may be helpful for you   [:)]  , 

    It will be helpful for me to understand, if you be more specific on what you are trying to do?