Sigmastudio export error adau1761
Hi. It appears that some errors in exporting the registers has occurred in the later versions of sigma Studio.
3.15 and 3.17 exports any reserved bits as 1 and not 0.
Ie
/* Register Default - IC 1.Clock Control Register */
ADI_REG_TYPE R2_CLKCTRLREGISTER_IC_1_Default[REG_CLKCTRLREGISTER_IC_1_BYTE] = {
exports as 0x7F
previous versions export as 0x0F
};
No you might think that this does not matter as they these bits are reserved.
But it appears some reserved registers when set actually cause issues
in the case below there are 2 issues the first register does not even export correctly. I set the GUI to be 0x00 yet it sends 0x18..
the second if I set 0x7C the ADC doesnt work. I have to be 0x00 again as set in the GUI
/* Register Default - IC 1.Converter Control Registers */
#define R11_CONVERTER_CONTROL_REGISTERS_IC_1_SIZE 2
ADI_REG_TYPE R11_CONVERTER_CONTROL_REGISTERS_IC_1_Default[R11_CONVERTER_CONTROL_REGISTERS_IC_1_SIZE] = {
exports as 0x18, 0x7C
SHOULD BE 0x00, 0x00 as set in GUI
};
If I load the same project in older versions It exports correctly and works
3.17 has another oddity. The first register is NOT the following
/* Register Default - IC 1.Sample Rate Setting */
ADI_REG_TYPE R0_SAMPLE_RATE_SETTING_IC_1_Default[REG_SAMPLE_RATE_SETTING_IC_1_BYTE] = {
0x7F
};
instead it skips this register altogether
Now I will also point out that the exports from 3.17 and 3.15 dont even run the DSP, It fails to run, and a readback shows that all the Program data 0x800 is blank
Thanks
Brett
Audio Signal Processors
sigmastudio export error adau1761
SigmaDSP Audio Processors
adau1761
Well it turned out to be some corruption in the project files
If a started a new project and copied the schematic. It exports correctly.
Very strange
Please log in to reply.