Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  H120 24 bit optical in
« previous next »
  • Print
Pages: [1]

Author Topic: H120 24 bit optical in  (Read 2787 times)

Offline Snowman

  • Member
  • *
  • Posts: 4
H120 24 bit optical in
« on: February 17, 2008, 02:38:28 PM »
I've been searching for a while but can't find a definite answer... so could anybody tell me if rockbox supports 24bit via digital input on the iriver h120?

I read somewhere that it doesn't work because the cpu can't handle that amount of data, but that post is about 2 years old and I don't understand why the cpu shouldn't be able to handle e.g. a 24bit/48kHz stream if it can handle a 16bit/96kHz stream.
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: H120 24 bit optical in
« Reply #1 on: February 17, 2008, 03:59:03 PM »
as far as I know, this is because we can only do 16bit with DMA, and 24bit would then have to be done in PIO mode (ie the CPU has to read every sample manually from the bus) which would be very heavy for the cpu

ask amiconn in IRC for the nasty details ;)
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: H120 24 bit optical in
« Reply #2 on: February 17, 2008, 05:23:22 PM »
Besides, the Coldfire audio bus can only handle 20-bit audio.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline Snowman

  • Member
  • *
  • Posts: 4
Re: H120 24 bit optical in
« Reply #3 on: February 18, 2008, 01:02:39 PM »
Quote from: LinusN on February 17, 2008, 05:23:22 PM
Besides, the Coldfire audio bus can only handle 20-bit audio.

Is this documented anywhere? I searched all coldfire documentation and the sourcecode but can't find any hints.

Btw, since the hardware design of the h120 and h320 is almost identical, am I right that it would be possible to install a optical interface on the h320?
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: H120 24 bit optical in
« Reply #4 on: February 18, 2008, 02:36:20 PM »
Quote from: Snowman on February 18, 2008, 01:02:39 PM
Quote from: LinusN on February 17, 2008, 05:23:22 PM
Besides, the Coldfire audio bus can only handle 20-bit audio.

Is this documented anywhere? I searched all coldfire documentation and the sourcecode but can't find any hints.
Yes it is. Check the MCF5249 User's Manual, http://www.rockbox.org/twiki/pub/Main/DataSheets/MCF5249UM.pdf

Page 17.3: "Five audio interface receivers (IIS1, IIS3, IIS4, and two EBU receivers) send their received data on an internal 40-bit wide bus, the Internal Audio Data Bus." (That is 40 bytes for two channels, i.e 20-bit samples.)

Page 17.13: "The IEC958 receive block (19) extracts the audio data from the stream and puts this in 20-bit format on Internal Audio Data bus. The format is exactly the same as the format produced by the serial data interfaces."

Page 17.18: "The IEC958 interface provides the necessary features to allow transmitting of digital data according to the IEC958 specification with the exception that only 20-bit data is supported."

Quote
Btw, since the hardware design of the h120 and h320 is almost identical, am I right that it would be possible to install a optical interface on the h320?
In theory yes, but unfortunately the Coldfire chip is a BGA package, so you won't be able to reach the I/O pins for the EBU audio... :(
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline Snowman

  • Member
  • *
  • Posts: 4
Re: H120 24 bit optical in
« Reply #5 on: February 18, 2008, 04:17:47 PM »
My bad, I must've been blind... I searched the whole manual (and mcf5250's) a few times. Now that's a good starting point to dig through the sources...

Thanks for answering my noobish questions! :)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  H120 24 bit optical in
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 14 queries.