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.

ADC6140EVM-PDK: ADC6140EVM available SDK to work outside of PPC3?

Part Number: ADC6140EVM-PDK


Hello, I have a curious situation that I'm hoping to get a solution for. I have a colleague who is working with the ADC1640EVM. I'm not entirely sure how it is being used. What I do know is they would like to be able to use the board without the use of the PPC3. 

Currently. What they are doing is launching PPC3, enabling the card, then using a Python script that utilizes the soundcard package to read information off the board. 

What they would like to be able to do, is activate the card outside of PPC3 via the Python script and then make some simply adjustments such as sample rate rate as one example. 

Is there a python package available? Is there any SDK that we can use to interface with the board ourselves?

  • Hi Michael,

    We don't have a python package for our EVMs since we intend for our customers to use PPC3 when connected to a PC. It's not a simple process to hijack the AC-MB since the XMOS processor firmware is designed for PPC3 and the audio driver. I would leave the AC-MB alone and use an external I2C host that can interface with your python script since I2C is the only thing that's needed to activate the card. Fortunately you can use PPC3 I2C monitor to find exactly whatever I2C commands PPC3 is sending to the EVM (keep in mind the address shown in PPC3 scripts is 8 bit) and then copy that to the external I2C host.

    Let me know if you have any other questions about the AC-MB or bringing up the EVM.
    Jeff McPherson 

  • just to be clear, I'm not working with the board and I'm not familiar with it. With that said, it sounds to me that PPC3 has an option within the UI that allows you to monitor the I2c messages. From there, we can extrapolate exactly what commands are being used to activate and manipulate the board. 

    With that information, we could use an external i2c host, let's say an Arduino board, to effectively communicate with the EVM itself. 

    Does that sound about right?

    Would we remove the AC-MB, I don't think so, but I'm not seeing any place on the AC-MB that would give me a direct i2c connection. What would be the connection point between the AC-MB and the Arduino? I'm thinking that I would use the SDA and SCL points within the Digital Test Points section. Maybe?

  • Hi Michael,

    Yes, PPC3 has an I2C monitor that allows you to capture the I2C commands being sent that you can copy over to an arduino.

    I had assumed since you were using a python host, that you would also be trying to capture audio over USB. If that's true then you will still need the AC-MB connected. You could connect the arduino either to the SDA/SCL test points on the AC-MB (they're on the right side of the board near the connector) or the test points on the ADC6140EVM that you mentioned.

  • Jeff, 

    Thank you for the follow-up. I appreciate the confirmation. I have passed this information along to my team, and hopefully, we can make something work.

    Again, thank you for your time and support. 

    Michael