How to export the information of all register setting for ADAU1761?
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
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.
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
Hi, JeradL
Do you have any update?
If you have some advices, it will be helpful for me.
Best Regards,
TomY
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.
Hi, JeradL
Thank you for your answer.
I'll try to design, considering your comment.
Best Regards,
TomY
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
Please log in to reply.