This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
The customer sets the Output Crossbar through the EVM, and then outputs it to the dump.c file,
Then use the I2C interface to set another TAS5822M,
The volume of the Output Cross Bar does not respond, where do I need to set it?
typedef unsigned char cfg_u8; typedef union { struct { cfg_u8 offset; cfg_u8 value; }; struct { cfg_u8 command; cfg_u8 param; }; } cfg_reg; #define CFG_META_SWITCH (255) #define CFG_META_DELAY (254) #define CFG_META_BURST (253) /* Example C code */ /* // Externally implemented function that can write n-bytes to the device // PCM51xx and TAS5766 targets require the high bit (0x80) of the I2C register to be set on multiple writes. // Refer to the device data sheet for more information. extern int i2c_write(unsigned char *data, int n); // Externally implemented function that delays execution by n milliseconds extern int delay(int n); // Example implementation. Call like: // transmit_registers(registers, sizeof(registers)/sizeof(registers[0])); void transmit_registers(cfg_reg *r, int n) { int i = 0; while (i < n) { switch (r[i].command) { case CFG_META_SWITCH: // Used in legacy applications. Ignored here. break; case CFG_META_DELAY: delay(r[i].param); break; case CFG_META_BURST: i2c_write((unsigned char *)&r[i+1], r[i].param); i += (r[i].param / 2) + 1; break; default: i2c_write((unsigned char *)&r[i], 2); break; } i++; } } */ cfg_reg registers[] = { //RESET { 0x00, 0x00 }, { 0x7f, 0x00 }, { 0x01, 0x11 }, { 0x46, 0x01 }, { 0x03, 0x02 }, { CFG_META_DELAY, 5 }, { 0x66, 0x07 }, // EQReg { 0x7f, 0x8c }, { 0x00, 0x29 }, { 0x18, 0x00 }, // Input Mixer Left to left = -110 dB { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, // Input Mixer Right to left = 0 dB { 0x1d, 0x80 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, // Input Mixer Left to right = -110 dB { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, // Input Mixer Right to right = 0 dB { 0x25, 0x80 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x00, 0x2a }, { 0x24, 0x00 }, // Volume Left = 0 dB { 0x25, 0x80 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, // Volume Right = 0 dB { 0x29, 0x80 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x30, 0x00 }, // Volume Alpha = 3 ms { 0x31, 0x71 }, { 0x32, 0x94 }, { 0x33, 0x9a }, { 0x00, 0x2c }, { 0x0c, 0x00 }, // Left Input to Left Level Meter = -110 dB { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, // Right Input to Left Level Meter = -110 dB { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, // Left Output to Left Level Meter = 0 dB { 0x15, 0x80 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x18, 0x00 }, // Right Output to Left Level Meter = -110 dB { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, // Output Crossbar Left to Amp Left = 1.125 dB { 0x1d, 0x91 }, { 0x1e, 0xb3 }, { 0x1f, 0x3c }, { 0x20, 0x00 }, // Output Crossbar Right to Amp Left = -110 dB { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x28, 0x00 }, // Output Crossbar Left to Amp Right = -110 dB { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x00 }, // Output Crossbar Right to Amp Right = 4 dB { 0x2d, 0xca }, { 0x2e, 0xdd }, { 0x2f, 0xc8 }, { 0x34, 0x00 }, // Output Crossbar Left to I2S Left = 0 dB { 0x35, 0x80 }, { 0x36, 0x00 }, { 0x37, 0x00 }, { 0x38, 0x00 }, // Output Crossbar Right to I2S Left = -110 dB { 0x39, 0x00 }, { 0x3a, 0x00 }, { 0x3b, 0x00 }, { 0x48, 0x00 }, // Output Crossbar Left to I2S Right = -110 dB { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, // Output Crossbar Right to I2S Right = 0 dB { 0x4d, 0x80 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x5c, 0x00 }, // AGL Release Rate: 0.001 { 0x5d, 0x00 }, { 0x5e, 0x57 }, { 0x5f, 0x62 }, { 0x60, 0x00 }, // AGL Attack Rate: 0.2 { 0x61, 0x89 }, { 0x62, 0x37 }, { 0x63, 0x4c }, { 0x64, 0x08 }, // AGL Threshold: 0 dB { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x40 }, // AGL OnOff: 0 { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x02 }, // AGL Softening Alpha: 0.55 ms { 0x6d, 0x66 }, { 0x6e, 0xc4 }, { 0x6f, 0x1b }, { 0x00, 0x2d }, { 0x18, 0x7d }, // AGL Softening Omega: 0.55 ms { 0x19, 0x99 }, { 0x1a, 0x3b }, { 0x1b, 0xe5 }, { 0x1c, 0x00 }, // Level Meter Time Constant = 1000 ms { 0x1d, 0x00 }, { 0x1e, 0x57 }, { 0x1f, 0x62 }, { 0x20, 0x00 }, // Left Input to Right Level Meter = -110 dB { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, // Right Input to Right Level Meter = -110 dB { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, // Left Output to Right Level Meter = -110 dB { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x00 }, // Right Output to Right Level Meter = 0 dB { 0x2d, 0x80 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, //Biquad { 0x00, 0x00 }, { 0x7f, 0xaa }, { 0x00, 0x24 }, { 0x18, 0x08 }, // Biquad - BQ1 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x08 }, // Biquad - BQ2 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x2d, 0x00 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, { 0x30, 0x00 }, { 0x31, 0x00 }, { 0x32, 0x00 }, { 0x33, 0x00 }, { 0x34, 0x00 }, { 0x35, 0x00 }, { 0x36, 0x00 }, { 0x37, 0x00 }, { 0x38, 0x00 }, { 0x39, 0x00 }, { 0x3a, 0x00 }, { 0x3b, 0x00 }, { 0x3c, 0x00 }, { 0x3d, 0x00 }, { 0x3e, 0x00 }, { 0x3f, 0x00 }, { 0x40, 0x08 }, // Biquad - BQ3 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0x00 }, { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, { 0x4d, 0x00 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x50, 0x00 }, { 0x51, 0x00 }, { 0x52, 0x00 }, { 0x53, 0x00 }, { 0x54, 0x08 }, // Biquad - BQ4 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x55, 0x00 }, { 0x56, 0x00 }, { 0x57, 0x00 }, { 0x58, 0x00 }, { 0x59, 0x00 }, { 0x5a, 0x00 }, { 0x5b, 0x00 }, { 0x5c, 0x00 }, { 0x5d, 0x00 }, { 0x5e, 0x00 }, { 0x5f, 0x00 }, { 0x60, 0x00 }, { 0x61, 0x00 }, { 0x62, 0x00 }, { 0x63, 0x00 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x08 }, // Biquad - BQ5 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x00 }, { 0x6d, 0x00 }, { 0x6e, 0x00 }, { 0x6f, 0x00 }, { 0x70, 0x00 }, { 0x71, 0x00 }, { 0x72, 0x00 }, { 0x73, 0x00 }, { 0x74, 0x00 }, { 0x75, 0x00 }, { 0x76, 0x00 }, { 0x77, 0x00 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, { 0x7c, 0x08 }, // Biquad - BQ6 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x25 }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x0c, 0x00 }, { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, { 0x15, 0x00 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x18, 0x08 }, // Biquad - BQ7 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x08 }, // Biquad - BQ8 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x2d, 0x00 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, { 0x30, 0x00 }, { 0x31, 0x00 }, { 0x32, 0x00 }, { 0x33, 0x00 }, { 0x34, 0x00 }, { 0x35, 0x00 }, { 0x36, 0x00 }, { 0x37, 0x00 }, { 0x38, 0x00 }, { 0x39, 0x00 }, { 0x3a, 0x00 }, { 0x3b, 0x00 }, { 0x3c, 0x00 }, { 0x3d, 0x00 }, { 0x3e, 0x00 }, { 0x3f, 0x00 }, { 0x40, 0x08 }, // Biquad - BQ9 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0x00 }, { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, { 0x4d, 0x00 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x50, 0x00 }, { 0x51, 0x00 }, { 0x52, 0x00 }, { 0x53, 0x00 }, { 0x54, 0x08 }, // Biquad - BQ10 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x55, 0x00 }, { 0x56, 0x00 }, { 0x57, 0x00 }, { 0x58, 0x00 }, { 0x59, 0x00 }, { 0x5a, 0x00 }, { 0x5b, 0x00 }, { 0x5c, 0x00 }, { 0x5d, 0x00 }, { 0x5e, 0x00 }, { 0x5f, 0x00 }, { 0x60, 0x00 }, { 0x61, 0x00 }, { 0x62, 0x00 }, { 0x63, 0x00 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x08 }, // Biquad - BQ11 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x00 }, { 0x6d, 0x00 }, { 0x6e, 0x00 }, { 0x6f, 0x00 }, { 0x70, 0x00 }, { 0x71, 0x00 }, { 0x72, 0x00 }, { 0x73, 0x00 }, { 0x74, 0x00 }, { 0x75, 0x00 }, { 0x76, 0x00 }, { 0x77, 0x00 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, { 0x7c, 0x08 }, // Biquad - BQ12 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x26 }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x0c, 0x00 }, { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, { 0x15, 0x00 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x18, 0x08 }, // Biquad - BQ13 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x08 }, // Biquad - BQ14 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x2d, 0x00 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, { 0x30, 0x00 }, { 0x31, 0x00 }, { 0x32, 0x00 }, { 0x33, 0x00 }, { 0x34, 0x00 }, { 0x35, 0x00 }, { 0x36, 0x00 }, { 0x37, 0x00 }, { 0x38, 0x00 }, { 0x39, 0x00 }, { 0x3a, 0x00 }, { 0x3b, 0x00 }, { 0x3c, 0x00 }, { 0x3d, 0x00 }, { 0x3e, 0x00 }, { 0x3f, 0x00 }, { 0x54, 0x08 }, // Biquad - BQ1 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x55, 0x00 }, { 0x56, 0x00 }, { 0x57, 0x00 }, { 0x58, 0x00 }, { 0x59, 0x00 }, { 0x5a, 0x00 }, { 0x5b, 0x00 }, { 0x5c, 0x00 }, { 0x5d, 0x00 }, { 0x5e, 0x00 }, { 0x5f, 0x00 }, { 0x60, 0x00 }, { 0x61, 0x00 }, { 0x62, 0x00 }, { 0x63, 0x00 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x08 }, // Biquad - BQ2 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x00 }, { 0x6d, 0x00 }, { 0x6e, 0x00 }, { 0x6f, 0x00 }, { 0x70, 0x00 }, { 0x71, 0x00 }, { 0x72, 0x00 }, { 0x73, 0x00 }, { 0x74, 0x00 }, { 0x75, 0x00 }, { 0x76, 0x00 }, { 0x77, 0x00 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, { 0x7c, 0x08 }, // Biquad - BQ3 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x27 }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x0c, 0x00 }, { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, { 0x15, 0x00 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x18, 0x08 }, // Biquad - BQ4 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x08 }, // Biquad - BQ5 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x2d, 0x00 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, { 0x30, 0x00 }, { 0x31, 0x00 }, { 0x32, 0x00 }, { 0x33, 0x00 }, { 0x34, 0x00 }, { 0x35, 0x00 }, { 0x36, 0x00 }, { 0x37, 0x00 }, { 0x38, 0x00 }, { 0x39, 0x00 }, { 0x3a, 0x00 }, { 0x3b, 0x00 }, { 0x3c, 0x00 }, { 0x3d, 0x00 }, { 0x3e, 0x00 }, { 0x3f, 0x00 }, { 0x40, 0x08 }, // Biquad - BQ6 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0x00 }, { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, { 0x4d, 0x00 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x50, 0x00 }, { 0x51, 0x00 }, { 0x52, 0x00 }, { 0x53, 0x00 }, { 0x54, 0x08 }, // Biquad - BQ7 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x55, 0x00 }, { 0x56, 0x00 }, { 0x57, 0x00 }, { 0x58, 0x00 }, { 0x59, 0x00 }, { 0x5a, 0x00 }, { 0x5b, 0x00 }, { 0x5c, 0x00 }, { 0x5d, 0x00 }, { 0x5e, 0x00 }, { 0x5f, 0x00 }, { 0x60, 0x00 }, { 0x61, 0x00 }, { 0x62, 0x00 }, { 0x63, 0x00 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x08 }, // Biquad - BQ8 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x00 }, { 0x6d, 0x00 }, { 0x6e, 0x00 }, { 0x6f, 0x00 }, { 0x70, 0x00 }, { 0x71, 0x00 }, { 0x72, 0x00 }, { 0x73, 0x00 }, { 0x74, 0x00 }, { 0x75, 0x00 }, { 0x76, 0x00 }, { 0x77, 0x00 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, { 0x7c, 0x08 }, // Biquad - BQ9 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x28 }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x0c, 0x00 }, { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, { 0x15, 0x00 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x18, 0x08 }, // Biquad - BQ10 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x19, 0x00 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x00 }, { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x08 }, // Biquad - BQ11 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x2d, 0x00 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, { 0x30, 0x00 }, { 0x31, 0x00 }, { 0x32, 0x00 }, { 0x33, 0x00 }, { 0x34, 0x00 }, { 0x35, 0x00 }, { 0x36, 0x00 }, { 0x37, 0x00 }, { 0x38, 0x00 }, { 0x39, 0x00 }, { 0x3a, 0x00 }, { 0x3b, 0x00 }, { 0x3c, 0x00 }, { 0x3d, 0x00 }, { 0x3e, 0x00 }, { 0x3f, 0x00 }, { 0x40, 0x08 }, // Biquad - BQ12 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0x00 }, { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, { 0x4d, 0x00 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x50, 0x00 }, { 0x51, 0x00 }, { 0x52, 0x00 }, { 0x53, 0x00 }, { 0x54, 0x08 }, // Biquad - BQ13 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x55, 0x00 }, { 0x56, 0x00 }, { 0x57, 0x00 }, { 0x58, 0x00 }, { 0x59, 0x00 }, { 0x5a, 0x00 }, { 0x5b, 0x00 }, { 0x5c, 0x00 }, { 0x5d, 0x00 }, { 0x5e, 0x00 }, { 0x5f, 0x00 }, { 0x60, 0x00 }, { 0x61, 0x00 }, { 0x62, 0x00 }, { 0x63, 0x00 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x08 }, // Biquad - BQ14 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x00 }, { 0x6d, 0x00 }, { 0x6e, 0x00 }, { 0x6f, 0x00 }, { 0x70, 0x00 }, { 0x71, 0x00 }, { 0x72, 0x00 }, { 0x73, 0x00 }, { 0x74, 0x00 }, { 0x75, 0x00 }, { 0x76, 0x00 }, { 0x77, 0x00 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, //postEq { 0x00, 0x26 }, { 0x40, 0x08 }, // PostEQ - BQ1 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0x00 }, { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, { 0x4d, 0x00 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x50, 0x00 }, { 0x51, 0x00 }, { 0x52, 0x00 }, { 0x53, 0x00 }, { 0x00, 0x28 }, { 0x7c, 0x08 }, // PostEQ - BQ1 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x29 }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x0c, 0x00 }, { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, { 0x15, 0x00 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x00, 0x2e }, { 0x7c, 0x08 }, // PostEQ - BQ2 Left - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x2f }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x0c, 0x00 }, { 0x0d, 0x00 }, { 0x0e, 0x00 }, { 0x0f, 0x00 }, { 0x10, 0x00 }, { 0x11, 0x00 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x14, 0x00 }, { 0x15, 0x00 }, { 0x16, 0x00 }, { 0x17, 0x00 }, { 0x1c, 0x08 }, // PostEQ - BQ2 Right - Filter: All Pass Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x00 }, { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, { 0x24, 0x00 }, { 0x25, 0x00 }, { 0x26, 0x00 }, { 0x27, 0x00 }, { 0x28, 0x00 }, { 0x29, 0x00 }, { 0x2a, 0x00 }, { 0x2b, 0x00 }, { 0x2c, 0x00 }, { 0x2d, 0x00 }, { 0x2e, 0x00 }, { 0x2f, 0x00 }, //drc { 0x00, 0x00 }, { 0x7f, 0x8c }, { 0x00, 0x2b }, { 0x34, 0x00 }, // DRC Settings of band1: attack: 25 ms, release: 50 ms, energy: 25 ms, Region1 - Threshold: -124 dB, Offset: 0 dB, Ratio: 100 Region2 - Threshold: -50 dB, Offset: 0 dB, Ratio: 100 Region3 - Threshold: -20 dB, Offset: 0 dB, Ratio: 100 { 0x35, 0x0d }, { 0x36, 0xa6 }, { 0x37, 0x86 }, { 0x38, 0x00 }, { 0x39, 0x0d }, { 0x3a, 0xa6 }, { 0x3b, 0x86 }, { 0x3c, 0x00 }, { 0x3d, 0x06 }, { 0x3e, 0xd3 }, { 0x3f, 0x72 }, { 0x40, 0x00 }, { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0xff }, { 0x49, 0x81 }, { 0x4a, 0x47 }, { 0x4b, 0xae }, { 0x4c, 0xf9 }, { 0x4d, 0xda }, { 0x4e, 0xbc }, { 0x4f, 0x21 }, { 0x50, 0xfc }, { 0x51, 0x58 }, { 0x52, 0x8b }, { 0x53, 0x89 }, { 0x54, 0x00 }, { 0x55, 0x00 }, { 0x56, 0x00 }, { 0x57, 0x00 }, { 0x58, 0x00 }, { 0x59, 0x00 }, { 0x5a, 0x00 }, { 0x5b, 0x00 }, { 0x00, 0x2d }, { 0x58, 0x01 }, // DRC Settings of band2: attack: 1 ms, release: 100 ms, energy: 1 ms, Region1 - Threshold: -124 dB, Offset: 0 dB, Ratio: 100 Region2 - Threshold: -50 dB, Offset: 0 dB, Ratio: 100 Region3 - Threshold: -20 dB, Offset: 0 dB, Ratio: 100 { 0x59, 0x53 }, { 0x5a, 0x8f }, { 0x5b, 0xcc }, { 0x5c, 0x01 }, { 0x5d, 0x53 }, { 0x5e, 0x8f }, { 0x5f, 0xcc }, { 0x60, 0x00 }, { 0x61, 0x03 }, { 0x62, 0x69 }, { 0x63, 0xc5 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x00 }, { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0xff }, { 0x6d, 0x81 }, { 0x6e, 0x47 }, { 0x6f, 0xae }, { 0x70, 0xf9 }, { 0x71, 0xda }, { 0x72, 0xbc }, { 0x73, 0x21 }, { 0x74, 0xfc }, { 0x75, 0x58 }, { 0x76, 0x8b }, { 0x77, 0x89 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, { 0x7c, 0x00 }, { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, //dpeq { 0x00, 0x00 }, { 0x7f, 0xaa }, { 0x00, 0x2e }, { 0x40, 0x08 }, // DPEQ Sense Eq - Biquad - BQ1 { 0x41, 0x00 }, { 0x42, 0x00 }, { 0x43, 0x00 }, { 0x44, 0x00 }, { 0x45, 0x00 }, { 0x46, 0x00 }, { 0x47, 0x00 }, { 0x48, 0x00 }, { 0x49, 0x00 }, { 0x4a, 0x00 }, { 0x4b, 0x00 }, { 0x4c, 0x00 }, { 0x4d, 0x00 }, { 0x4e, 0x00 }, { 0x4f, 0x00 }, { 0x50, 0x00 }, { 0x51, 0x00 }, { 0x52, 0x00 }, { 0x53, 0x00 }, { 0x00, 0x00 }, { 0x7f, 0x8c }, { 0x00, 0x2d }, { 0x30, 0x00 }, // DPEQ ENERGY { 0x31, 0x03 }, { 0x32, 0x69 }, { 0x33, 0xc5 }, { 0x34, 0x04 }, // DPEQ High { 0x35, 0x0c }, { 0x36, 0x37 }, { 0x37, 0x14 }, { 0x38, 0x1c }, // DPEQ Low { 0x39, 0x1b }, { 0x3a, 0xf0 }, { 0x3b, 0x41 }, { 0x00, 0x00 }, { 0x7f, 0xaa }, { 0x00, 0x2a }, { 0x5c, 0x08 }, // DPEQ Highlevel Eq - Biquad - BQ1 { 0x5d, 0x00 }, { 0x5e, 0x00 }, { 0x5f, 0x00 }, { 0x60, 0x00 }, { 0x61, 0x00 }, { 0x62, 0x00 }, { 0x63, 0x00 }, { 0x64, 0x00 }, { 0x65, 0x00 }, { 0x66, 0x00 }, { 0x67, 0x00 }, { 0x68, 0x00 }, { 0x69, 0x00 }, { 0x6a, 0x00 }, { 0x6b, 0x00 }, { 0x6c, 0x00 }, { 0x6d, 0x00 }, { 0x6e, 0x00 }, { 0x6f, 0x00 }, { 0x70, 0x08 }, // DPEQ LowLevel Eq - Biquad - BQ1 { 0x71, 0x00 }, { 0x72, 0x00 }, { 0x73, 0x00 }, { 0x74, 0x00 }, { 0x75, 0x00 }, { 0x76, 0x00 }, { 0x77, 0x00 }, { 0x78, 0x00 }, { 0x79, 0x00 }, { 0x7a, 0x00 }, { 0x7b, 0x00 }, { 0x7c, 0x00 }, { 0x7d, 0x00 }, { 0x7e, 0x00 }, { 0x7f, 0x00 }, { 0x00, 0x2b }, { 0x08, 0x00 }, { 0x09, 0x00 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x00, 0x2a }, { 0x34, 0x00 }, // Low F1 BQ1 - Filter: Low Pass-ButterWorth 2 Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x35, 0x21 }, { 0x36, 0x87 }, { 0x37, 0x5f }, { 0x38, 0x00 }, { 0x39, 0x21 }, { 0x3a, 0x87 }, { 0x3b, 0x5f }, { 0x3c, 0x00 }, { 0x3d, 0x21 }, { 0x3e, 0x87 }, { 0x3f, 0x5f }, { 0x40, 0x7a }, { 0x41, 0x14 }, { 0x42, 0x81 }, { 0x43, 0xb2 }, { 0x44, 0x8b }, { 0x45, 0x50 }, { 0x46, 0xdf }, { 0x47, 0x1e }, { 0x48, 0x00 }, // Low F2 BQ2 - Filter: Low Pass-ButterWorth 2 Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x49, 0x21 }, { 0x4a, 0x87 }, { 0x4b, 0x5f }, { 0x4c, 0x00 }, { 0x4d, 0x21 }, { 0x4e, 0x87 }, { 0x4f, 0x5f }, { 0x50, 0x00 }, { 0x51, 0x21 }, { 0x52, 0x87 }, { 0x53, 0x5f }, { 0x54, 0x7a }, { 0x55, 0x14 }, { 0x56, 0x81 }, { 0x57, 0xb2 }, { 0x58, 0x8b }, { 0x59, 0x50 }, { 0x5a, 0xdf }, { 0x5b, 0x1e }, { 0x00, 0x2b }, { 0x0c, 0x7a }, // High F1 BQ1 - Filter: High Pass-ButterWorth 2 Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x0d, 0x36 }, { 0x0e, 0x09 }, { 0x0f, 0x11 }, { 0x10, 0x85 }, { 0x11, 0xc9 }, { 0x12, 0xf6 }, { 0x13, 0xef }, { 0x14, 0x7a }, { 0x15, 0x36 }, { 0x16, 0x09 }, { 0x17, 0x11 }, { 0x18, 0x7a }, { 0x19, 0x14 }, { 0x1a, 0x81 }, { 0x1b, 0xb2 }, { 0x1c, 0x8b }, { 0x1d, 0x50 }, { 0x1e, 0xdf }, { 0x1f, 0x1e }, { 0x20, 0x7a }, // High F2 BQ2 - Filter: High Pass-ButterWorth 2 Frequency: 1000 Hz QVal: 0.71 Bandwidth: 1000 Hz { 0x21, 0x36 }, { 0x22, 0x09 }, { 0x23, 0x11 }, { 0x24, 0x85 }, { 0x25, 0xc9 }, { 0x26, 0xf6 }, { 0x27, 0xef }, { 0x28, 0x7a }, { 0x29, 0x36 }, { 0x2a, 0x09 }, { 0x2b, 0x11 }, { 0x2c, 0x7a }, { 0x2d, 0x14 }, { 0x2e, 0x81 }, { 0x2f, 0xb2 }, { 0x30, 0x8b }, { 0x31, 0x50 }, { 0x32, 0xdf }, { 0x33, 0x1e }, //drc mixer gain { 0x00, 0x00 }, { 0x7f, 0x8c }, { 0x00, 0x2e }, { 0x10, 0x00 }, // DRC Band2 Mixer Gain: 1 { 0x11, 0x80 }, { 0x12, 0x00 }, { 0x13, 0x00 }, { 0x08, 0x00 }, // DRC Band1 Mixer Gain: 1 { 0x09, 0x80 }, { 0x0a, 0x00 }, { 0x0b, 0x00 }, { 0x18, 0x00 }, // THD Clipper: 0 dB { 0x19, 0x80 }, { 0x1a, 0x00 }, { 0x1b, 0x00 }, { 0x1c, 0x40 }, // THD Finevolume Left: 0 dB { 0x1d, 0x00 }, { 0x1e, 0x00 }, { 0x1f, 0x00 }, { 0x20, 0x40 }, // THD Finevolume Right: 0 dB { 0x21, 0x00 }, { 0x22, 0x00 }, { 0x23, 0x00 }, //Register Tuning { 0x00, 0x00 }, { 0x7f, 0x00 }, { 0x02, 0x31 }, { 0x30, 0x00 }, { 0x4c, 0x30 }, { 0x53, 0x41 }, { 0x54, 0x00 }, { 0x60, 0x01 }, { 0x61, 0x0b }, { 0x03, 0x03 }, { 0x78, 0x80 }, };
Hi Kevin
It seems no problem about your using, and possible the I2C at customer side went wrong. Theses registers need to be written 4 registers in a group, shouldn't be any discontinuity in them, other wise won't be able to written correctly. Please use EVM to verify the codes first, and could use flying wire to send I2C from EVM to customer's board to control.
hi jack
if you use PPC3 GUI, your code in i2c format is not correct.
if you want to flash code through i2c, you can not use .c file.
you can use i2c log to get the code.
then flash the code to another device.
tks
jesse