I use the push button as volume control,and set the Initial volume, such as -6dB. See below photo. But atfer slef boot, it does not set to the -6dB volume.
Could you please provide us with a SigmaStudio project where you observe this error? I was not able to replicate the problem in our lab.
Thanks for your reply. Pls check the project in acttached files.
Attached is a sequence file based on the project you provided me. It sets the initial volume to your desired level. To write it to the EEPROM, in SigmaStudio, right-click the ADAU1772 block and click "Create E2PROM image from Sequence File":
Then, select the attached .xml file.
The workaround involved moving the PB_VOL_CONV (0x0040) register write to a later point in the startup sequence. I am working with our software team to ensure that this is improved in the next release of SigmaStudio.
The xml file works fine.
Because the SigmaStudio has the bug in this moment, could you tell me how to build the xml file ?
To build the .xml file, first create a SigmaStudio project that you want to load to the E2PROM. Then, in the Capture window, clear the captures using the button circled below:
Next, click Link Compile Download once. This will re-populate the capture window with the data loaded to the ADAU1772. Then, click the button with two arrows on the right side of the capture window, to open the sequencer:
Use shift-click to select all of the items in the capture tab, and drag them into the sequencer. Then, in the sequencer window, drag the write at address 0x0040 to be below the write at 0x0045 (if the addresses are not in hexadecimal, right-click one of the entries to change this option). Your sequencer window should now have the writes in this order:
Click the Save icon inside the sequencer window to save the sequence as an .xml file, then follow the steps in the previous post to save it to the E2PROM.
Apologies for the roundabout way in which this must be accomplished -- as I said, we will be fixing this in a future release.
Thanks for your great support.
When I use the MP0/1 key to change the volume. It can go up to 0dB, the output power is too large. Can I limit the MAX volume ?
Could you help me on the Volume limitation ?
Retrieving data ...