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.

TAS5822M: Output Crossbar setting

Part Number: TAS5822M

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?

dump.c
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 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
    EVM is OK

    But it cannot be adjusted through I2C
    .
    .
    W 0x1C 0x00
    W 0x1D 0x91
    W 0x1E 0xB3
    W 0x1F 0x3C
    .
    .

    ALL HAVE ACK confirm

  • 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

  • HI Jesse

    I try to compare 1&2 using AP
    1.PPC CODE TABLE via I2C
    2. Use the command as in the picture
    1&2 get the same power
    So this problem has been solved