PWM whine near earpiece in low signal phone call and loud sound sent to the other end
#15
(05-24-2021, 10:21 AM)vortex Wrote: So, I forced the modem into 2G mode (weaker 2G reception where I am at than 4G), took a landline at the same location, setup the call, and recorded the sound with the Sound Recorder app installed by default on Mobian. To make the signal worse and increase the transmit power, I held the phone in a metal enclosure with the door slightly ajar so I could hold it and see it (the kind of metal enclosure circuit breakers are put in).

If possible, it would be interesting to repeat the same experiment once more, now with a wired headset connected to the phone.  That way, the built-in microphone would be left unused, so it would be possible to determine whether the issue stems from the built-in microphone or from the routing of the audio signals.  Maybe it's even up to the A/D conversion performed inside the A64 SoC?

I'll try to reproduce the issue, by placing my PinePhone in a metal enclosure, etc.  By the way, back at the time when the modem calls initially started to work on the PinePhone, the dialer application didn't perform the audio routing.  As a result, there was a loud noise during the call, resemblling some sort of weird, metallic, pulsating noise that made it impossible to hear the other end of the call, or the other end to hear me.  After executing the audio setup utility, during the call, this noise disappeared and the audio quality was rather good afterwards.  I wonder if this is somehow related?

(05-24-2021, 10:21 AM)vortex Wrote: The resulting spectrogram, which is where the bad news starts, is

[Image: spectrogram_Freja_Nordsiek_2021_05_24_2G...al_box.png]

Nice work on creating the analysis and plotting utility!  The first thing that crossed my mind once I saw these spectrograms was "damn! the noise covers nearly the entire audible spectrum!" and it sadly turned out to be true after reading your explanation. Undecided

(05-24-2021, 10:21 AM)vortex Wrote: And then there is an important question. How widespread is this phenomena among PinePhones in low cellular signal conditions? For those that have it, is the frequency the same? This latter one is important for implementing any filter in a widespread fashion. If each phone with the problem has a different frequency, each phone will require tuning of the filter. If it is the same, then the parameters can be found very accurately using one or a handful of phones and used for all with the problem.

I'll try to reproduce the issue on my PinePhone, and hopefully more people would do the same.  That's the only way to know how widespread the issue is, and whether it manifests in the same way on all affected phones.

Edit: I somehow managed to forget mentioning that the proprietary modem firmware can be updated, which you're probably already aware of, so you should check that as well. You can find the instructions, the latest firmware, and the release notes in this repository.  Further information, including the source code of the update utility, can be found in this forum thread

Edit #2: Here's a very good insight from Biktorgj, who is the primary author of the open-source firmware for the PinePhone's Quectel modem. The quotation below comes from an IRC session on #pinedev, in which I asked Biktorgj to have a look at this forum thread.

Quote:Difficult to diagnose without hearing it and finding something to replicate. Smile

I've always heard some noise from the modem during calls that seems to filter to the analog amp in the pinephone but it's never been a static whine, you can hear the "data" being moved between the bts and the modem like when you put a phone near an amplifier, but I'm always on 4G with VoLtE.

That said, the modem does have some gain compensation and white noise generation through the afe loop which can be making the problem worse. First I would try to adjust the output level to the modem, then I'd try without the AFE calibration and that stuff (my firmware doesn't have it).

The modem doesn't have any internal dac/adc for voice (it can be optionally attached to an external codec but the pinephone doesnt have one, so everything that the modem gets is digital).

The other thing that could be tried is setting audio to 16KHz if running stock firmware or to 48k if using the custom one, just in case the resampling is getting artifacts into the audio, but maybe that's useless.
  Reply


Messages In This Thread
RE: PWM whine near earpiece in low signal phone call and loud sound sent to the other end - by dsimic - 05-24-2021, 01:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Phone powers off with high user demands car46999 7 595 04-11-2024, 09:17 AM
Last Post: zetabeta
  Phone will not turn on (but sometimes will) insidetrip101 10 4,790 08-18-2023, 04:28 AM
Last Post: spha
  Pine phone main board part Generaltuxenburg 1 1,070 07-31-2023, 07:50 PM
Last Post: tllim
  No calls on Pine Phone Beta convergence edition polypode 1 1,179 03-06-2023, 08:04 PM
Last Post: rocket2nfinity
  Pine phone USB keyboard connection CleanEnergyCleanEnvironment 1 1,131 02-20-2023, 12:14 AM
Last Post: Kevin Kofler
  I cannot call or receive calls aka0kuro 6 3,106 01-13-2023, 05:31 PM
Last Post: alaraajavamma
Thumbs Down Phone is unresponsive theneedful 14 7,662 08-12-2022, 08:18 AM
Last Post: theneedful
  Phone Dead Already? MarsColonist 4 2,691 08-11-2022, 11:52 AM
Last Post: auanta
  PPKB with phone; phone dies while charging SwordfishII 1 1,375 06-08-2022, 04:14 AM
Last Post: SwordfishII
  Lost internal earpiece Veraendert 3 2,379 02-14-2022, 07:51 AM
Last Post: Veraendert

Forum Jump:


Users browsing this thread: 1 Guest(s)