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-F28069M: i2C communication between multiple devices.

Part Number: LAUNCHXL-F28069M

Hi,

I'm a research student from Sri Lanka. In my project I have to communicate between 5 Launchxl-f28069M development boards. Each of them handle the ground level control and monitoring of power converters units (Typical buck, boost and few isolated full bridge circuits). The connection system follows master-slave architecture. Each board act as slave device. Basically each board measures voltage and current at few terminals and send them to the master. On the other hand based on the measurements master sends the operation points (reference points of the PI controllers) to the slave devices.

To achieve this task I'm planing to use i2C protocol because of the device addressing capabilities. Also I'm using Solidthinking embed software package to do the programming (diagram-to-coding). As a testing program I'm trying to communicate between two launchpads and following diagrams are used for sending and receiving operations based on the examples provide by the software producer. However I have few issue regarding the configuration settings. If anyone can give me a helpful advice to clarify these problems it would be a immense support (a step-by-step guidance is highly appreciated).

The way did the activity if follows.My ultimate goal is to change the blinking of two LEDs alternatively (GPIO 34 & 39) on one board(slave) according to the command send by the master device.  First three figures shows the settings on sending end device (Master)'

  • Hi,

    Thanks for the details. can you provide some more information on what is the issue you are seeing?
  • Thanks for the reply sir. The issue is I don't see anything on the receiving end. I tried to use one TI board as master device while other as a slave. I think the problem is with my configurations. That's where I think the problems is. Please advice a method to clarify them and debug the program.

    Thanks.
  • HI,

    It is very difficult to debug third-party generated code.

    Have you checked out the signals on an oscilloscope?
    Have you done any other debug steps? What were the results?
    The best I can recommend is to take a look at the generated code and compare with the required register settings for the I2C.
    Next might be to contact the SolidThinking programmer support.

    Thanks,
    Mark
  • Have you looked at the I2C registers to verify the registers indeed contain the desired values? Sometimes, the problem could be as simple as the clock to the module not being enabled.

    Have you used Solidthinking to generate code for any other module that works fine?
  • Hello there.

    It has been a few days since you have last replied, so I am assuming that you have resolved your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue.

    Thanks,
    Mark