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.

LAUNCHXL-F280049C: Cant Find i2c slave devices

Part Number: LAUNCHXL-F280049C

Hi there I am trying to find the I2C slave devices on the bus for my microcontroller using the function 

//I2Cs connected to I2CA will be found in AvailableI2C_slaves buffer
//after you run I2CBusScan function.
uint16_t *pAvailableI2C_slaves = AvailableI2C_slaves;
status = I2CBusScan(I2CA_BASE, pAvailableI2C_slaves);

for i2c example 4 however no i2c devices that I have used with other microcontrollers being detected with this one. What should I check to fix this?

  • Bass,

    1) Did you try looking into AvailableI2C_slaves in memory window? What the contents after you ran the code?

    If you are running i2c_ex4_eeprom_polling example, I2C master address is configured as 0x60 in example code. You should atleast see 0x60 in AvailableI2C_slaves? Do you see that?

    2) How many I2C slave devices are connected to the bus?

    3) Which I2C slave device you are connecting to F280049 I2C (master)? What is its slave address?

    Regards,

    Manoj

  • I do see a 60 thank you so much I was confused about that and I am trying to connect a dummy i2c device (an arduino uno) just to see if the address was even being found on the bus and it was not, for my main project I am trying to connect an RTC but I am guessing my problem starts with the fact that no I2C device other than ones from the chip are being found and I have checked that Im using the right pins

  • also what line of code is it that sets the I2C master adress to 0x60

  • I have highlighted section of code which programs I2CA address (0x60 = 96 in decimal)

    If the F280049 I2C doesn't receive ACK signal from arduino uno I2C then its address wouldn't be visible in AvailableI2C_slaves. Then the problem is with arduino uno I2C configuration.

    Regards,

    Manoj