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.

LM1972M音量IC音量不平衡

Other Parts Discussed in Thread: LM1972, LM19

最近使用LM1792M这个IC,发现在最大音量的时候左右声道是一样大小的,而调小一点点之后左右声道的音量就不会不一样,只有最大音量时是正常的。也有可能是硬件问题。我现在在排除问题,也把软件发出来,希望大家帮忙判断下。谢谢!

软件如下:

#define uchar unsigned char
#include"LM1972.H"
#include"delay.h"
#include"IO.H"

void LM19_BYTE(uchar addr,uchar volume)
{
uchar i;
EN=0;
CLK=0;
for(i=0;i<8;i++)
{
CLK=0;delay(2);
DI=(addr<<i)&0x80;delay(2);
CLK=1;delay(2);
}
for(i=0;i<8;i++)
{
CLK=0;delay(2);
DI=(volume<<i)&0x80;delay(2);
CLK=1;delay(2);
}
delay(1);
EN=1;
delay(2);
}