Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No audio + error message with latest F/W #961

Closed
Haasoperator opened this issue Jul 29, 2017 · 14 comments
Closed

No audio + error message with latest F/W #961

Haasoperator opened this issue Jul 29, 2017 · 14 comments
Labels

Comments

@Haasoperator
Copy link

I have had this problem since every build AFTER the May 22, 2017 "daily snapshot", but with the latest F/W snapshots I am getting new messages.

First issue: when I have installed the f/w snapshots made AFTER May 22, 2017, I get ZERO sound, and ZERO traces on the scope. Doesn't matter what band I am on.

Newest thing is, when I install the latest F/W, on the boot screen I get the following messages:

"Audiocodec WM8371 NOT detected"

"Boot delay due to error/warning" Takes several seconds to boot up, then when it is on the main display screen, I get no sound and no traces on the scope.

Attempting to reset the codec in the menu yields no results. Restarting the radio gets no results. The only thing that gets the radio functioning again is installing older firmware (prior to May 27th, 2017, which was the point at which the "newest/latest/greatest" stopped functioning in my radio)

I have lost my copy of the May 22, 2017 "daily snapshot", so now the latest working one I can find is 2.2.0 from March 25th, 2017.

@df8oe df8oe added the question label Jul 29, 2017
@df8oe
Copy link
Owner

df8oe commented Jul 29, 2017

You do have problems on I2C bus no. 2 - I am guessing due to hardware problems. But maybe you can get a workaround in firmware:

Go to configuration menu - I2C2 Bus Speed and set the value down to 20KHz. This is the slowest speed that is technical possible and was the standard speed (or should I say "standard slow"?) of older versions. If you do have proper hardware you should be able to run both busses @320KHz (I have confirmed this with all mcHFs I have seen since then, about 16 pcs.). 100KHz should be safe - and 20KHz is for "worst case hardware".

I2C1 is for SI570 and temperature sensor
I2C2 is for audio codec and serial EEPROM.

If audio codec is not detected but serial EEPROM is (both are located on the same bus!!) there can be a defect of audio codec, bad soldering around audio codec or wrong (too high) resistors R21/R22 ui PCB.

@db4ple
Copy link
Collaborator

db4ple commented Jul 29, 2017

Hi,
since the change of firmware creates this "problem", it could also be a firmware problem. This is relatively unlikely (in this case more users would have problems). So I assume it is the improved error detection now showing an issue which existed before probably due to hardware problems in the I2C bus.
As Andreas wrote, if reducing the I2C speed resolves the problem, you have to check the I2C bus.

Here is a question for you: Do you have an I2C EEPROM soldered in?
Here another: Did you change the I2C2 bus speed?
73
Danilo

@db4ple
Copy link
Collaborator

db4ple commented Jul 29, 2017

Assuming you have no I2C EEPROM, it could be an interaction with the I2C bus do to the unsuccessful detection tries for the EEPROM on this bus.

@Haasoperator
Copy link
Author

Haasoperator commented Jul 29, 2017 via email

@db4ple
Copy link
Collaborator

db4ple commented Jul 29, 2017

Ok, you do have an I2C EEPROM.

If you have changed the speed, you should check the speed and reset to default 100Khz. The newest firmware has this setting in the "Configuration Menu" towards the end of the menu items. That is the first thing you should do.

The WM8731 has been and is the audio codec of the mcHF from the beginning, i.e. all design versions use this chip (and the firmware supports only this chip). There is a TI TLV320AIC23(B) which is supposed to be fully compatible to the WM8731.
In any case, I don't understand your question related to the WM8731 and ver 0.6.

@DG9BFC
Copy link

DG9BFC commented Jul 29, 2017

maybe the two caps on i2c bus are installed??

@db4ple
Copy link
Collaborator

db4ple commented Jul 29, 2017

But even with them, with the default speed I2C of 100kHz it should work.

@Haasoperator
Copy link
Author

Haasoperator commented Jul 29, 2017 via email

@db4ple
Copy link
Collaborator

db4ple commented Jul 30, 2017

The message is not a warning. It is an error message. And yes, the mcHF does not work properly if the WM8731 is not detected, since in this case no audio and TX/RX is possible. The user interface as such is not impacted by the missing codec, though.

No detection of the Codec does not mean it is not there, it means the firmware is not able to find it via I2C or to communicate reliably with it via I2C. So yes, the I2C speed setting can have a negative effect.

73
Danilo

@df8oe
Copy link
Owner

df8oe commented Aug 4, 2017

Hi Rich,

do you have solved your problem?

@Haasoperator
Copy link
Author

Haasoperator commented Aug 4, 2017 via email

@df8oe
Copy link
Owner

df8oe commented Aug 5, 2017

Do you have tried reducing I2C speeds BEFORE you opened the case? Taht would be an interesting information, as Danilo and I recommended to test this more than one time....

The red SENSOR tells you, firmware cannot reliable communicate to temperature sensor IC via I2C1. This might be a problem with I2C speed, too.

73
Andreas

@Haasoperator
Copy link
Author

Haasoperator commented Aug 5, 2017 via email

@df8oe
Copy link
Owner

df8oe commented Aug 24, 2017

This is no firmware issue but a hardware issue. Please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants