AnsweredAssumed Answered

include files generations bug?

Question asked by inventis on Feb 3, 2010
Latest reply on Dec 15, 2011 by BrettG

Hello,

I'm developing an application with ADAU1761

When I export a project the include file xxx_CODEC.H has some

variable with a incorrect name, for istance:

 

ADI_REG_TYPE R29_DSP_RUN_REGISTER_Default[REG_DSP_RUN_REGISTER_BYTE] = {
0X01
};

 

the DSPRUN register in the ADAU1761  is R62.

 

I'm also confused because in the datasheet the registry size is always 1byte but I found some initialization with multibyte

like this

 

/* Register Default - CODEC.Watchdog Registers */
#define R19_WATCHDOG_REGISTERS_SIZE 5
ADI_REG_TYPE R19_WATCHDOG_REGISTERS_Default[R19_WATCHDOG_REGISTERS_SIZE] = {
0X01, 0X00, 0X00, 0X00, 0X00
};

 

in the datasheet page 50 the watchdog register R56 has a size of 1byte

Outcomes