Rick's b.log - 2010/01/31 |
|
It is the 24th of November 2024 You are 18.188.154.238, pleased to meet you! |
|
mailto:
blog -at- heyrick -dot- eu
In any case, here's the complete feature list of what the TMS320DM320 offers:
For now, as I am using my PVR, this is about as far as I plan to go. Certainly I do not know the specifics of the update file format, nor do I have JTAG (etc) hardware, so geeky tomfoolery (like extracting the firmware for safe keeping and attempting to push a minimal RISC OS kernel onto it) will remain an amusing dream but never a reality.
It is perhaps worth noting that the bulk price, if you order a load of them, is 350 yuan which works out to be about 38 euros. Pearl Germany are selling them at cost, Pearl France (probably the same big warehouse!) is making a profit for no good reason, and... need I mention Rip-off Britain? &9786;
Whoa.
It is so close to being true. But, there are problems that make it less so.
Into the PVR
Power
Most of the ICs run at 3.3V, while some of the video inputs run at 1.8V. The input power will be regulated down to the desired voltages. There are no big heatsinks as the devices used are extremely efficient.
While I have not looked in detail, those not-quite-transistor looking things just below the NVRAM (to the left in the picture above, by the yellow lumps) are pretty good candidates for the power regulation.
Clocking
There are numerous oscillator crystals on the board...
This is an oscillator running at 32.768kHz, like pretty much every clock in every RTC and digital watch on the planet. This frequency is a multiple of two - 215 ticks per second, so a simple binary counter/divider will lead to a precise second-by-second result.
The 48MHz oscillator (near the CPU-DSP) is used for the USB interface.
A 27MHz oscillator (near the CPU-DSP) is the main system clock. The CPU-DSP syntheses all the necessary internal clocks from this. It is difficult to extract exact clocking from the datasheet, so it would appear that...
The video decoder would appear to run from a single 14.31818MHz oscillator, synthesising the necessary clocking for its CPU and DSP internally.
The audio encoder/decoder would appear to run from a single 12MHz clock, synthesising the necessary clocking for its CPU and DSP internally.
RTC
This is an I²C device that maintains the date and time. Unlike the popular Philips PCF8583, this has no NVRAM provision. From this, I can only surmise that settings and schedule entries are written to FlashROM.
Standard NiCad battery, probably around 3.3V. Most likely trickle charged from the main power supply.
Memory
This is a 64Mbit (8Mb) FlashROM operating entirely at 3.3V (including programming). Offering a 90ns access time, and with the bottom two 'sectors' protected, the entire external storage capacity is 8 megabytes. It may be, however, that this is accessed as 16 bit words in order to utilise the ARM's Thumb mode.
The FlashROM holds the system firmware. It is also believed that a part of it holds the settings.
The system firmware is upgradable from a file placed upon the attached USB memory, however the firmware available from the manufacturer would appear to be older than that actually present on my PVR!
This memory device offers 2Mbit by 16 bit by 4 banks (!) storage. As there are two such devices, each offering 128Mbit, this would imply that the RAM capacity is 32Mb.
It is not currently known if this memory is accessed in tandem as 32 bit words, or if it is banked as two devices operating with 16 bit halfwords. The memory controller can support both, as can the ARM.
Audio and video
This device is capable of accepting NTSC, PAL, and SÉCAM at either 50Hz or 60Hz (in other words, all global variations of traditional analogue broadcasting), though the firmware only permits NTSC or PAL. That said, the device is still fully capable of extracting a stable colour signal from a PAL input when the PVR is in NTSC mode - the only difference is the bottom part of the picture is chopped off (NTSC is 480 active lines, as opposed to PAL's 576).
It can accept either two composite or one S-video input, though the PVR is fixed to a single composite input. This is less of a problem than it might otherwise appear as clever stuff inside the device attempts to minimise the effects of high frequency luminance interfering with the chroma - a traditional problem with PAL leading to the "electric schoolgirl" effect where a gingham pattern uniform dress can seem to fluouresce as the detail in the picture interferes with the colour information, as demonstrated by the picture on the right (resized from original, click image to go to source).
In addition to this, there is more cleverness aimed at getting a good lock on to an irregular signal. I have not tried recording from video using my PVR yet, but I can say that doing such a thing using the TV tuner (PCI BT848-based miró capture card) was more or less a disaster on anything recorded "off air" from a UHF input. The noisier the signal, the worse the result - which meant my capture card failed miserably on anything recorded from Channel 4 way-back-when. I wonder how the PVR would fare?
The eventual output is ITU-R BT.656, 8-Bit 4:2:2 (oversampled for better results) which is supplied to the CPU-DSP for encoding.
Full brightness, colour, contrast, sharpness, and hue adjustment is available, none of which is utilised by the firmware. Shame, I think a bit more sharpness would be nice. Control of the device is effected through the I²C bus.
This device appears to handle the audio paths, both digitising input audio and creating analogue output from digital data. It supports data-transfer word lengths of 16, 20, 24, and 32 bits, with sample rates from 8kHz to 96kHz, though I would imagine we're using a standard 44.1kHz sampling rate in the PVR.
Looking at the data sheet, it would seem as if calling it a codec, whilst correct ((en)coder/decoder) is not quite the same as its computer counterpart. You can have an "MP3 codec" or an "AAC codec" on your computer, but this device is more an ADC/DAC which accepts or outputs digital serial data from/to analogue inputs/outputs depending on which way we're working.
Another thing that I have not sussed yet is how the scaling is performed. There is very little between 720 across (actually 704 in PAL) and 640 across. Are we simply discarding every 10th pixel, or something? Likewise, how are we munging 576 lines (PAL) into the 480 lines supported by the PVR? That's a loss of 96 lines. Surely we aren't chucking every sixth line? The 5150 has a 'cut-out' facility, but does not appear to support scaling. Certainly, the scaling method used is fairly simplistic as can be seen at the lower resolutions where no anti-aliasing is being performed.
Finally, is it possible for the AIC23 to work in both directions at the same time? Or is watch-while-recording audio simply looped through?
CPU-DSP
Publically known information is that this device contains a C5409 16 bit fixed point DSP, plus an ARM926EJ-S processor. It runs (internally) at 160MHz ... some sources say the CPU is clocked at 320MHz, however the datasheet (part1p38) says otherwise.
That said, the datasheet does not seem certain on the SDRAM frequency - in the overview it claims to support up to 108MHz SDRAM (part1p13, part1p23) while the SDRAM controller information claims to support up to 100MHz (part1p394). Which is it?
Confused? Well, here's a rundown for you:
Some observations:
It is ironic that the Neuros OSD makes a big point of playing "The Neuros OSD records in the standard and open MP4 format compatible with a wide range of devices. Videos recorded with the Neuros OSD can not only be played a TV set using the OSD as a player, but can also be viewed on PC/Laptops and popular PMPs like the iPod/Nano/iPhone, the PSP, smartphones etc..." and this is perhaps the same approach taken by Unisen with this PVR... DivX is proprietory, XviD is not. MP3 is proprietory, AAC is not. Where this falls down, however, is in the use of an MP4 wrapper. There are many computer-based devices capable of playing these files. On the other hand, numerous stand-alone DVD players only recognise video files in an AVI wrapper. Could they play this type of video? Perhaps - standard SD MPEG4 video (H.263alike) is broadly similar. Can they understand the file format? In short, no.
It's sad that these (broadly compatible) formats can be played but not recorded.
For Europeans - did you know the 5150 can extract WST teletext? Probably little call for it on a PVR, but wouldn't it be awesome to auto-sync to P888 (configurable, as that's only a British convention) and place anything received in as an MPEG4 subtitle frame?
Of course, if somebody else with more experience and better hardware wants to fiddle... the datasheets are here and you can buy one here (France) for €89,90 or here (Germany) for €39,90. Don't ask about the price difference.
You can apparently get one here for a mere £99.99.
A British site, http://www.i-recorder.co.uk/ was offering it for about the same price, and also on Amazon.co.uk, but this site seems to have never taken off and it looks like it's been more or less dormant since the end of 2008.
I have not seen a US retailer. Ironic, given its affinity with NTSC!
Processor-frenzy
So let's get this straight. The video decoder contains a processor of some sort plus a tiny bit of firmware. The audio processor contains a processor plus some firmware. The CPU core contains an ARM processor plus firmware which is distinct from the processing capabilities (and firmware) of the DSP, not to mention the coprocessors for image processing, DCT, VLCD...
Not only does the main CPU-DSP have a DSP, but so do the video and audio ICs.
Reseller...
The i-Recoder website mentions about becoming a reseller, saying:
We are looking for companies, stores and traders to become resellers of the iRecorder. This is a new exciting product that will be a massive seller in 2008.
The non-iPod option should switch to something akin to XviD in an AVI wrapper.
No comments yet...
© 2010 Rick Murray |
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted. RIPA notice: No consent is given for interception of page transmission. |