Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System Another
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bertrik - 2008-10-22
Last edited by bertrik - 2008-10-26

FS#9503 - Sansa v2 audio/PMU communication driver (for the AS3525 SoC)

Attached patch adds support for communicating with the “audio/PMU (power management unit)” part inside the AS3525 SoC. This part allows control of the audio configuration, battery charger, analog-digital converter, real-time clock and unique player id. It sits on an internal i2c bus. The register map of the audio/PMU appears very similar to the register map used in the as3514 of the sansa c200v1 and e200v1.

The code in the patch exposes simply an init, a read and a write function, the internal i2c bus is hidden away. Communication is polling-based, which means it blocks the caller for the duration of a transfer, which takes about 75 us. The bootloader is patched to demonstrate communication by displaying the players’ unique id which can be verified by looking at the iSerial field of the ‘lsusb -v’ output of the sansa v2 player.

Closed by  bertrik
2008-10-26 13:48
Reason for closing:  Accepted
Additional comments about closing:  

Committed as r18886

Oops, tab alert. Attached version uses spaces instead of tabs.

I can confirm that this also works on a m200v2.

Minor text fixes and also make it work for m200v2 and e200v2.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing