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.

TAS2764EVM: MATLAB control

Part Number: TAS2764EVM
Other Parts Discussed in Thread: TAS2764

I will be using a TAS2764EVM for a university project, and I've been trying to figure out whether the board can only be controlled by PPC3, or if the I2C bus can be read and controlled by MATLAB in real time.

  • Hi Christian,

    The EVM can be controlled by any I2C source. As long as MATLAB has a hardware interface to connect to the EVM it should be able to talk to it.
    Make sure to use the proper jumper settings for external I2C according to user's guide:,0,74

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • As long as MATLAB has a hardware interface to connect to the EVM it should be able to talk to it.

    Do you mean an additional hardware interface board, or just a USB connection between the EVM and the computer?

  • Christian,

    In any case you would need to handle the interface from MATLAB through USB to either an additional hardware for I2C commands, or the onboard processor available on the EVM already (xMOS).

    Using the controller on the EVM board would be similar to what we do with PPC3.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Thanks for your response,

    I am unfamiliar with using PPC3, and I2C busses, would you be able to point me to a tutorial or a user guide that would help me with my specific case? I would want to read the IV sense data from the I2C bus with MATLAB. So far I've had no luck with using the Instrument Control Toolbox, what would you recommend to use in this case?

  • Christian,

    First let me clarify: IV sense data is sent back to the host through I2S, not I2C interface.
    If you just need to record IV sense data, and not control the device configuration, you can use any recording tool. The EVM is recognized by the PC as any sound card, so you can use it to play or record data.

    I would suggest to test by doing the following:

    1. Connect EVM to USB and power
    2. Open PPC3 and start the plugin for the device you're using (TAS2764)
    3. Initialize the device. Specifically for TAS2764:
      1. Click on "connect" button from bottom left corner
      2. Go to Device Control panel, enable V-sense and I-sense at the Miscellaneous configuration
      3. Go to TDM->Transmitter, then click on "Configure Slots". Click on "+" button to add I-sense and V-sense data to the transmit stream. Click on "Apply" button
      4. Click on "Power Up" button
    4. At this point the EVM should be initialized and ready to play and record data
    5. Use audio software like Audacity to play and record from the EVM at the same time, check if I-sense and V-sense data is recorded from EVM

    If all the above works as expected, you can use any plugin from MATLAB that can record from sound card.

    Best regards,
    -Ivan Salazar
    Applications Engineer