Forum Discussion

santosh2uu2's avatar
santosh2uu2
Icon for New Contributor rankNew Contributor
9 months ago

Issue with I2C1 on Cyclone V HPS (DE1 SOC board)

We aim to communicate with an external peripheral via the LTC header (pins 7, 4) using I2C communication. As per the datasheet we have to use I2C1 (0xFFC05000) of the DE1 SOC board.

For I2C1 (0xFFC05000) in the Qsys we have set the multiplexer as (I/O Set 0) . The pin mux table and assignments have been thoroughly verified against our schematic, yet we see no activity on the bus

We are able to detect the I2Cs available. Please see attached image.

But while writing to another slave we get "controller timed out."

Key Observations: I2C0 (0xFFC04000), which remains internal to the SOM, works fine (e.g., communicating with a G-sensor or an audio/video decoder).

We need help figuring this out

5 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    Could you try the command "i2cdetect -y 1"?


    From the i2cdetect tool the -r flag is not recommended to be used.


    Regards

    Jingyang, Teh


    • santosh2uu2's avatar
      santosh2uu2
      Icon for New Contributor rankNew Contributor
      I already check that think but there is no use
      If you know about the preloader and uboot thing?

      At the time of hps working we have to put some files like image ,preloader.bin
  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    Sorry for the late reply.

    Is it possible if you could share with us the dmesg and the device tree of the device?


    What question you have regarding the uboot files?


    Regards

    Jingyang, Teh


  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we did not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    Regards

    Jingyang, Teh