Hi,
Im been working on a project I found on instructable, with arduino based amplifier, and I been having some problems with the code I think,
When i send i2c bus scan, i receive 0x44 so there is contact and the clock work on the bus and the lcd screen.
get sound for 1ms when i plug in power to the board.
all solder joints are good, this is the second card I build with new components.
I hope there are somebody who understands c++,
I might suspect the code on the libary for wire, write and so on..
or maybe in the eeprom section, i am using 1.0.6.
take a look here..
nikotronic
best regards Niklas.
Im been working on a project I found on instructable, with arduino based amplifier, and I been having some problems with the code I think,
When i send i2c bus scan, i receive 0x44 so there is contact and the clock work on the bus and the lcd screen.
get sound for 1ms when i plug in power to the board.
all solder joints are good, this is the second card I build with new components.
I hope there are somebody who understands c++,
I might suspect the code on the libary for wire, write and so on..
or maybe in the eeprom section, i am using 1.0.6.
take a look here..
nikotronic
best regards Niklas.
Last edited:
Hi,
Im been working on a project I found on instructable, with arduino based amplifier, and I been having some problems with the code I think,
When i send i2c bus scan, i receive 0x44 so there is contact and the clock work on the bus and the lcd screen.
get sound for 1ms when i plug in power to the board.
all solder joints are good, this is the second card I build with new components.
I hope there are somebody who understands c++,
I might suspect the code on the libary for wire, write and so on..
or maybe in the eeprom section, i am using 1.0.6.
take a look here..
nikotronic
best regards Niklas.
have you check this?
TDA7439 power on reset condition (from datasheet):
volume : MUTE
input selection : IN2
speaker : MUTE
i have similar project using TDA7442 here
I can see this. on datasheet.
Input selection IN2
Input gain 28 dB
Volume MUTE
Bass 0 dB
Mid-range 2 dB
Treble 2 dB
Speaker MUTE
but what do you mean or what does that mean,
Im a litttle lost...
Input selection IN2
Input gain 28 dB
Volume MUTE
Bass 0 dB
Mid-range 2 dB
Treble 2 dB
Speaker MUTE
but what do you mean or what does that mean,
Im a litttle lost...
tda7439 start in muted condition so you have to unmute
maybe you can try simplifying your code just to initialize the chip,
write some value to speaker attenuation (ex : 0dB)
write some value to volume (ex : -20dB)
then plug your source to IN2
if you get sound then try expanding your code
maybe we can discuss it tomorrow because it was night here
(sorry my english is not good)
maybe you can try simplifying your code just to initialize the chip,
write some value to speaker attenuation (ex : 0dB)
write some value to volume (ex : -20dB)
then plug your source to IN2
if you get sound then try expanding your code
maybe we can discuss it tomorrow because it was night here
(sorry my english is not good)
i would like you to explain simply how to initialize the chip and how you write value to attenuation. and so on,
is it via a file?
i would love to get some sound out,
is it via a file?
i would love to get some sound out,
hi. to bad that you are not using arduino 🙂 🙂
but thanks for looking at it, im a little wiser but it comes no sound.
I look at what to change,
and found this under, and cant put a 0 at
equ.spkAtt(configuration.attLevel); cant put value there..
it comes.
error: no matching function for call to 'TDA7439::spkAtt(int&, int)'
but its semms to be something with mute and att....
best regards
Niklas.
EEPROM_readAnything(0, configuration);
if (configuration.activeInput == 255) configuration.activeInput = 0;
if (configuration.volumeLevel == 255) configuration.volumeLevel = 32;
if (configuration.bassLevel == 255) configuration.bassLevel = 0;
if (configuration.midLevel == 255) configuration.midLevel = 0;
if (configuration.trebLevel == 255) configuration.trebLevel = 0;
if (configuration.attLevel == 255) configuration.attLevel = 0;
if (configuration.gainLevel == 255) configuration.gainLevel = 1;
if (configuration.frequency < 88) configuration.frequency = 88;
equ.setInput(configuration.activeInput+1);
equ.inputGain(configuration.gainLevel,1);
equ.setVolume(configuration.volumeLevel);
equ.setSnd(configuration.bassLevel,1);
equ.setSnd(configuration.midLevel,2);
equ.setSnd(configuration.trebLevel,3);
equ.spkAtt(configuration.attLevel); //cant put 0 here.... !!?
powerStateChanged = 0;
lcd.clear();
analogWrite(backlight, 200);
digitalWrite(offPowerLED, HIGH);
digitalWrite(onPowerLED, LOW);
lcd.setCursor(0,0);
lcd.print("Arduino Powered");
lcd.setCursor(0,1);
lcd.print(" Gainclone ");
delay(2000);
lcd.clear();
digitalWrite(powerRelay, 1);
digitalWrite(fan, 1);
equ.setInput(configuration.activeInput+1);
equ.inputGain(configuration.gainLevel);
equ.setVolume(configuration.volumeLevel);
equ.setSnd(configuration.bassLevel,1);
equ.setSnd(configuration.midLevel,2);
equ.setSnd(configuration.trebLevel,3);
equ.spkAtt(configuration.attLevel); // no 0 here either.... !!
if (configuration.activeInput == 0) {
radio_on();
i hope i will find out one day.
but thanks for looking at it, im a little wiser but it comes no sound.
I look at what to change,
and found this under, and cant put a 0 at
equ.spkAtt(configuration.attLevel); cant put value there..
it comes.
error: no matching function for call to 'TDA7439::spkAtt(int&, int)'
but its semms to be something with mute and att....
best regards
Niklas.
EEPROM_readAnything(0, configuration);
if (configuration.activeInput == 255) configuration.activeInput = 0;
if (configuration.volumeLevel == 255) configuration.volumeLevel = 32;
if (configuration.bassLevel == 255) configuration.bassLevel = 0;
if (configuration.midLevel == 255) configuration.midLevel = 0;
if (configuration.trebLevel == 255) configuration.trebLevel = 0;
if (configuration.attLevel == 255) configuration.attLevel = 0;
if (configuration.gainLevel == 255) configuration.gainLevel = 1;
if (configuration.frequency < 88) configuration.frequency = 88;
equ.setInput(configuration.activeInput+1);
equ.inputGain(configuration.gainLevel,1);
equ.setVolume(configuration.volumeLevel);
equ.setSnd(configuration.bassLevel,1);
equ.setSnd(configuration.midLevel,2);
equ.setSnd(configuration.trebLevel,3);
equ.spkAtt(configuration.attLevel); //cant put 0 here.... !!?
powerStateChanged = 0;
lcd.clear();
analogWrite(backlight, 200);
digitalWrite(offPowerLED, HIGH);
digitalWrite(onPowerLED, LOW);
lcd.setCursor(0,0);
lcd.print("Arduino Powered");
lcd.setCursor(0,1);
lcd.print(" Gainclone ");
delay(2000);
lcd.clear();
digitalWrite(powerRelay, 1);
digitalWrite(fan, 1);
equ.setInput(configuration.activeInput+1);
equ.inputGain(configuration.gainLevel);
equ.setVolume(configuration.volumeLevel);
equ.setSnd(configuration.bassLevel,1);
equ.setSnd(configuration.midLevel,2);
equ.setSnd(configuration.trebLevel,3);
equ.spkAtt(configuration.attLevel); // no 0 here either.... !!
if (configuration.activeInput == 0) {
radio_on();
i hope i will find out one day.
- Status
- Not open for further replies.
- Home
- Source & Line
- Digital Line Level
- TDA7439 sound processor not working.