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.

Testing of I2c program with TMS320F28027 launcpad

Dear 

1.I had to test the existing code of I2C for EEPROM . But the pins assigned for SDA and SCL ( GPIO 28 &29) are being used by on board XDSv100.So how can I run the program.

2.Also if I want to test the program without connecting external EEPRM, is there any facilty to carry out the activity

  • Hello,
    You can turn off the serial switch in the LP if you use LP. Another option, you can change the GPIO pins for example pin 32 (SDA) and 33 (SCL) and set them properly.
    You can check the activity by oscilloscope. but the communication needs ACK from the device so you will not get proper result without the proper eeprom.

    Best regards,
    Maria
  • Hi Ashutosh,

    Ashutosh Pailwan1 said:
    1.I had to test the existing code of I2C for EEPROM . But the pins assigned for SDA and SCL ( GPIO 28 &29) are being used by on board XDSv100.So how can I run the program.

    You can use GPIO32 & GPIO33 instead.

    Ashutosh Pailwan1 said:
    2.Also if I want to test the program without connecting external EEPRM, is there any facilty to carry out the activity

    You can DSO for checking the pulses out. One probe to SDA and another to SCL. Something like this:

    Regards,

    Gautam

  • How to access 32 and 33 as they are coupled with 16 and 17

    They are showning  JP 4,5,6,7

    Which are not acessable

    What does this mean

  • How to access 32 and 33 as they are coupled with 16 and 17

    They are showning JP 4,5,6,7

    Which are not acessable

    What does this mean
  • You can use GPIO28 & GPIO29 itself ie J1 PIn 3 & 4. Once you configure these pins for I2C peripheral, you don't have to worry about SCI peripheral. Also these pins are not used for XDS100 operation at all.... its only fed to FTDI chip for USB-Serial communication.

    Regards,
    Gautam