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

SigmaStudio 4.6 - ADAU1787 - Export without download, other issues

SigmaDSP & SigmaStudio dan_ash_dspc Jun 24, 2022 00:00 7 replies Original on forum ↗
Subscribe
dan_ash_dspc Question
Jun 24, 2022 00:00

ISSUE 1: I generate my register settings blindly to run on other target hardware without the need to download.

If I want to Export meaning the Action -> Export option is not greyed out I have to first click Link Compile Download.

ISSUE 2: When I choose that I get the following dialog.

ISSUE 3: Another problem is when I do this, my DAC volume settings are reset.

I proceed to correct them back to 0.

At this point I am able to Export.

ISSUE 4: but upon export, the SigmaDSP on bit gets flips high when I am not using the SigmaDSP.

I correct this manually in the TxBuffer_IC_1_SIGMA.dat file since it is the last command sequence.

ISSUE 5: and I get this dialog.

I can work around all of these issues, but these issues affect my ability to automate

Thanks,.

Dan

ADAU1787 export

software

ADAU1787

Integrated/Special Purpose A/D Converters

SigmaStudio 4.6

Audio CODECs

Show More

pastedimage1656094070663v1.png
pastedimage1656094070663v1.png
pastedimage1656094227884v2.png
pastedimage1656094227884v2.png
pastedimage1656094265085v3.png
pastedimage1656094265085v3.png
pastedimage1656094336761v5.png
pastedimage1656094336761v5.png
pastedimage1656094325870v4.png
pastedimage1656094325870v4.png
pastedimage1656094423895v7.png
pastedimage1656094423895v7.png
pastedimage1656094384068v6.png
pastedimage1656094384068v6.png
DaveThib Reply
Jun 24, 2022 00:00

Hello Dan,

Try Link/Compile/Connect. This way SigmaStudio will not try to download anything to the DSP. It will just compile the project and so then it has the data to export. The icon will no longer be grey.

Dave T

pastedimage1656095592133v1.png
pastedimage1656095592133v1.png
dan_ash_dspc Reply
Jun 24, 2022 00:00

Dave,

Thanks, that seems to fix issues 1 and 3 (DAC level reset). Also I do not need to explicitly export since I made that automatic in settings.

I still get the two dialogs issues 2 and 5 which I can live with.

Issue 5 also still occurs. Can you help me with that one?

Thanks for your prompt response.

Dan

pastedimage1656098512123v1.png
pastedimage1656098512123v1.png
DaveThib Reply
Jun 29, 2022 00:00

Hello Dan,

Issue 5 is often because of a corrupted file. Can you send over your project?

Dave T

DaveThib Reply
Jun 30, 2022 00:00

Hello Dan,

Issue 2 and Issue 5 is cause by an absolutely blank empty file trying to be compiled. There is nothing there so it says parameter "no_name" is not found.

Your project consists of just dropping the ADAU1787 object into the Hardware Config and that is all. You MUST bring in some sort of communications interface. Usually the USBi and you MUST at least put something in the schematic, at least one thing. Pass through input to output, or an Oscillator, a DC cell, something. It is just blank.

This is what I saw in your project:

This was the Config tab with the Schematic tab just blank.

Drag in the USBi so you can communicate with the DSP.

Then switch over to the schematic tab and drag in something. In this example I brought in the ADC inputs and connected it to the outputs of the fast core.

There are still registers that will need to be set to make this actually pass audio.

What is your application and what are you intending to use in the DSP?

Dave T

pastedimage1656598017612v1.png
pastedimage1656598017612v1.png
pastedimage1656598301739v2.png
pastedimage1656598301739v2.png
pastedimage1656598528037v3.png
pastedimage1656598528037v3.png
dan_ash_dspc Reply
Jun 30, 2022 00:00

Dave.

My design has two devices on the same TDM bus and I2C bus from an NXP MCU.

I am just creating register configuration for now to duplicate my inline code so developers who want to add in FastDSP and SigmaDSP have a skeleton program.

I am not using the eval board. Developers may.

I do not want to add anything that generates extraneous SigmaDSP code.

I take it this is an odd use case.

Regards,

Dan

DaveThib Reply
Jul 1, 2022 00:00

Hello Dan,

Yes, this is an odd use case.

How can you test your configuration without an eval board to test it?

This part has so many routing options and other system features that it is difficult to come up with some standard configuration. I have example programs for most of our SigmaDSP products but this one I do not.

You will need to at least make one or two simple audio pass-thru programs as a starting point. I am not sure what the signal flow should be. Like I said, it is so flexible.

Dave T

dan_ash_dspc Reply
Jul 1, 2022 00:00

We decided not to out debug capability into the hardware. We are underutilizing the part for now, but eventually we will need to use the SigmaDSP and FastDSP, then using the eval boards will matter and having "normal" projects. No worries, at least we can explain it.

The last part of why the SigmaDSP ena bit gets set to one on compile is still useful to resolve.