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.

TAS5754M

您好    我用TAS5754M-56MDC AEVM板   生成代码  :

w 98 00 30
w 98 14 7f ff ff 00 a5 d2 65 00 3a b7 f5 00 6d 41 3c 00 9d c8 3b 00
w 98 00 2c
w 98 01 05
w 98 00 30
w 98 14 7f ff ff 00 a5 d2 65 00 3a b7 f5 00 6d 41 3c 00 9d c8 3b 00
w 98 00 00

这是我定义的数组:

unsigned char StartPage[3]={0x98,0x00,0x30};
unsigned char UpData[22]={0x98,0x14,0x7f,0xff,0xff,0x00,0xa5,0xd2,0x65,0x00,0x3a,0xb7,0xf5,0x00,0x6d,0x41,0x3c,0x00,0x9d,0xc8,0x3b,0x00};
unsigned char SwitchPage[3]={0x98,0x00,0x2c};
unsigned char SwitchRegDada[3]={0x98,0x01,0x05};
unsigned char EndPage[3]={0x98,0x00,0x00};

写I2C 过程:

WriteI2c((unsigned char*)StartPage,3,WRITE);
Delay_1ms(8);
WriteI2c((unsigned char*)UpData,22,WRITE);
Delay_1ms(65);
WriteI2c((unsigned char*)SwitchPage,3,WRITE);
Delay_1ms(6);
WriteI2c((unsigned char*)SwitchRegDada,3,WRITE);
Delay_1ms(110);
WriteI2c((unsigned char*)ReadByte,3,READ);//  CRAM A  与  CRAM B状态
Delay_1ms(6);
WriteI2c((unsigned char*)StartPage,3,WRITE);
Delay_1ms(8);
WriteI2c((unsigned char*)UpData,22,WRITE);
Delay_1ms(16);
WriteI2c((unsigned char*)EndPage,3,WRITE);

以上 数据写都成功 (有ACK) 就是没有效果(无法调整EQ)