(06-20-2023, 07:24 AM)WhiteHexagon Wrote: But how would I find more information on how the microphone is connected, and how those pins relate to the modem chip you described in another article with the PCM configuration information?
Yep it looks complex, let's walk through the connections:
- The LTE Modem is connected to A64 Port PCM0 for PCM Audio
- A64 Port PCM0 is documented in the A64 User Manual, "I2C/PCM", Page 621
- So we need to route the PCM Audio from PCM0 to PinePhone's Microphone / Speaker
According to the PinePhone Schematic:
- The Audio Connections are HPOUT, MIC1 (MICIN1), MIC2 (MICIN2), EAROUT, LINEOUT
- HPOUT and MIC2 (MICIN2) are connected to Headphone Jack
- MIC1 (MICIN1) is connected to the Digital Video Connector (?)
- EAROUT is connected to the Earpiece Speaker
- LINEOUT is connected to the Loudspeaker
A64 Ports HPOUT, MICIN1, MICIN2, EAROUT, LINEOUT are documented in the A64 User Manual, "Audio Codec", Page 278
I hope this will get you started :-)
To fix the DMB issue, we need to flush the CPU Cache.