beep - playing PCM samples on PinePhone?
#1
Can someone help me with an overview of the steps I'd need to play a PCM sample from RAM via the PinePhone speaker please?  I want my bare-metal OS to have some beeps Smile

This is what I have so far:

LINEOUT to Speaker goes via component U800, audio amplifier, and link expired in the component list.  but seems to have an interesting connection to NAND. (PA-SHDN)

AC_PR Configuration Register mentioned (p362), but not sure of it's register address or usage, it mentions PRCM but doesnt explain how.  The register address in the diagram looks out of range for A64?  It seems I'll need this for access to : 0x05 LINEOUT Control Register, and maybe to un-mute the MIX channels.  

Looking at the data path diagram (page 280).  It looks like I should be able to send PCM over I2S, but sounds like there is a mode that reads direct from RAM?

As you can hear, I'm a bit lost down the rabbit hole at the moment!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Star Selling my Pinephone Pro Explorer Edition zheyon 2 2,854 12-01-2025, 10:25 AM
Last Post: Kevin Kofler
  PinePhone sensors - Gyroscope power WhiteHexagon 3 282 11-30-2025, 08:07 AM
Last Post: WhiteHexagon
  Light Sensor / Proximity Sensor on PinePhone? WhiteHexagon 1 326 11-18-2025, 03:07 PM
Last Post: WhiteHexagon
  Pinephone visibly losing power while plugged in Hiraghm 7 4,531 10-21-2025, 10:38 PM
Last Post: Anthona
  Pinephone boot. Richy_T 8 4,389 10-21-2025, 12:12 PM
Last Post: Richy_T
  How can I record video on a Pinephone? kk22 22 14,833 10-08-2025, 01:29 PM
Last Post: Kevin Kofler
  Does PinePhone support long-term battery health optimization? roseblack 5 1,270 10-06-2025, 09:05 PM
Last Post: Kevin Kofler
  iso pinephone for sale (USA) elwoodb25 0 3,805 09-24-2025, 09:25 PM
Last Post: elwoodb25
  Why projects like PinePhone matter – feedback and encouragement Gary2003 13 18,105 09-16-2025, 01:13 PM
Last Post: Gary2003
  Can use PlayStation on Pinephone? willharper 7 9,070 09-13-2025, 12:30 AM
Last Post: ChaiLetters

Forum Jump:


Users browsing this thread: j_s, 3 Guest(s)