Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8792 - Gigabeat S - intermediate SPI work

Attached to Project: Rockbox
Opened by Will Robertson (aliask) - Monday, 24 March 2008, 13:55 GMT+2
Last edited by Nils Wallménius (nls) - Friday, 09 May 2008, 10:12 GMT+2
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Player Type Gigabeat F/X
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch addresses the strange behaviour in the SVN SPI driver which caused it to hang occasionally. However, because the driver (still) isn't interrupt based, it's not really worth putting into SVN.

The main idea behind this patch was so that others can take a look at the PMU registers - some of which are displayed in the debug menu under port info - and contribute to the MC13783Regs wiki page[1].

The patch also adds a few things which I've determined such as powering the device off, and headphone detect logic (again, not interrupt based - though should be possible when we can catch external interrupts from the PMU).

[1] http://www.rockbox.org/twiki/bin/view/Main/MC13783Regs
   spi_stuff.patch (6.7 KiB)
 apps/debug_menu.c                                   |   56 +++++++++++++++++++-
 firmware/export/config-gigabeat-s.h                 |    2 
 firmware/target/arm/imx31/gigabeat-s/button-imx31.c |    8 ++
 firmware/target/arm/imx31/gigabeat-s/spi-imx31.c    |   16 +++--
 firmware/target/arm/imx31/gigabeat-s/power-imx31.c  |    1 
 5 files changed, 75 insertions(+), 8 deletions(-)

This task depends upon

Closed by  Nils Wallménius (nls)
Friday, 09 May 2008, 10:12 GMT+2
Reason for closing:  Out of Date
Additional comments about closing:  The interrupt based implementation is in svn now.

Loading...