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

How to export the information of all register setting for ADAU1761?

SigmaDSP & SigmaStudio TomY Jul 28, 2010 00:00 6 replies Original on forum ↗
Subscribe
TomY Question
Jul 28, 2010 00:00

How to export the information of all register setting for ADAU1761?

I tried to export the register file by the "Export System Files" of SigmaStudio.
And I could get the information of register setting by "**_IC_1.h".
However, it seems that there is not all information of register setting in "**_IC_1.h".
I compared the information of "**_IC_1.h" and the "Table 33 Register Map" of ADAU1761 Datasheet.
Some registers information is lacked in "**_IC_1.h".

I want to export the information of all register setting.
How should I do?

Audio Signal Processors

SigmaDSP Audio Processors

adau1761

ADIApproved Reply
Jul 28, 2010 00:00

Could you describe specifically which registers are not included in the header file outputs?

You can also use the Capture Window in SigmaStudio to see the values of all of the registers being written to the hardware.

TomY Reply
Jul 29, 2010 00:00

Hi, JeradL

Thank you for your reply.

I gathered the difference between the datasheet's register map and header

file's information.

Please find an attachment.

Best Regards

TomY

TomY Reply
Aug 6, 2010 00:00

Hi, JeradL

Do you have any update?

If you have some advices, it will be helpful for me.

Best Regards,

TomY

ADIApproved Reply
Aug 6, 2010 00:00

The definitions in *_IC_1.h are not showing the settings of each individual registers. Rather, they show the settings of groups of registers. For example, the group of ADC control registers is defined with these lines:

/* Register Default - IC 1.ADC Control Registers */

#define R8_ADC_CONTROL_REGISTERS_SIZE 3

ADI_REG_TYPE R8_ADC_CONTROL_REGISTERS_Default[R8_ADC_CONTROL_REGISTERS_SIZE] = {

0X13, 0X00, 0X00

};

You can see that the size is set to 3, which means that it is setting three 1-byte registers. In this case, these settings are for registers R19-R21, addresses 0x4019 to 0x401B. I can see how using the R* numbering for these settings can be easily confused with the R0-R66 settings shown in the datasheet.

There is another output file, *_IC_1_REG.h that defines each individual register's address and settings. You can see that *_IC_1.h uses some of the definitions found in this other file.

TomY Reply
Aug 16, 2010 00:00

Hi, JeradL

Thank you for your answer.

I'll try to design, considering your comment.

Best Regards,

TomY

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin