ΣSigmaStudio Ask AI Русский Log in

Implementing custom USBi "device" for ADAU1701 programming

SigmaDSP & SigmaStudio JanPribyslavsky Aug 8, 2023 00:00 1 replies Original on forum ↗
Subscribe
JanPribyslavsky Question
Aug 8, 2023 00:00

Dear ADI Team,

I am designing a class D amplifier that will utilize the ADAU1701 DSP. There will be an MCU with USB capabilities on the same board. That USB will be used mainly for firmware updates and also audio streaming.

Normally, the ADAU1701 is programmed using the EVAL-ADUSB2EBZ (USBi) or a similar tool (mostly based on the CY7C68053 or similar chip).

My idea is to use USB of the MCU that already is on the amp board to implement the USBi interface. The main reason is that the user could tune/program the amp directly from your Sigma studio without the need of the external programmer.

Is this method supported? Can I get more materials and information how to support the USBi interface on my own MCU?

Thank you very much for your reply,

Jan Pribyslavsky

Audio Signal Processors

programming

Audio Products

hardware

programming dsp

usbi

USBi interface

SigmaDSP Audio Processors

-

adau1701

Show More

DaveThib Reply
Aug 8, 2023 00:00

Hello Jan,

Unfortunately we do not give out the USBi code but I think others have reverse engineered it and you can probably find it on other web sites. What I suggest is to have your MCU use I2C to directly control the DSP and to either have the DSP selfboot or boot it from the MCU. Then provide a connector for the USBi to also connect to the board. The USBi has a 5V signal on one of the pins. You can use that to signal the MCU that the USBi is attached so it does not try to communicate with the DSP at the same time. So then you are good. Just be careful that you divide down the 5V so you do not damage your MCU with 5V applied.

When the USBi is unplugged you can trigger the MCU to read the filters and other settings to remember them. Or, I suppose you could have a "save" button that triggers a read.

Your basic idea is possible but not having the USBi directly communicate with you MCU and have your MCU communicate with the DSP. If you want to do that then I think you would need to write your own application and that is a ton of work.

Dave T