My STA310 based sourround decoder working very well🙂. Now I can select Dolby Digital 5.1, DTS and PCM algorithm to decode (auto-detection from S/PDIF input data stream), and set volume level (with balance control). I use TI DAC PCM1606 and PIC18F458 controller.
Best regards
Tomek
Best regards
Tomek
Hi Tomek,
did you write DD and "DTS", is it correct?
According to ST datasheet STA310 can decode MP3, DD, and PCM. How can you handle DTS?
I'm very interested in this project (an so many others I believe), could you please post any more details?
I suppose this Pic uC performs the "Human Interface" of your decoder (volume, display, ecc)...
Regards
did you write DD and "DTS", is it correct?
According to ST datasheet STA310 can decode MP3, DD, and PCM. How can you handle DTS?
I'm very interested in this project (an so many others I believe), could you please post any more details?
I suppose this Pic uC performs the "Human Interface" of your decoder (volume, display, ecc)...
Regards
If you set STREAMSEL =0x05 and DECODSEL=0x06 you can decode IEC61937 Input with DTS frames (cut 2.0 STA310 chip). The Interrupt Head3 register (0x43) contains DTYPE fields. DTYPE=11 for DTS 1 (512 frame size), DType=12 for DTS2 and DTYPE=13 for DTS3gianka said:Hi Tomek,
did you write DD and "DTS", is it correct?
According to ST datasheet STA310 can decode MP3, DD, and PCM. How can you handle DTS?
I'm very interested in this project (an so many others I believe), could you please post any more details?
I suppose this Pic uC performs the "Human Interface" of your decoder (volume, display, ecc)...
Regards
This chip can configure SRS VMAX and Circle Surround post processing (and Dolby Prologicof course). For example you can set SRS post processing if you set B6 on PDEC1 register (0x62).
My controller contains PIC uC , 6 keys, LCD display from NOKIA 3310 and RC5 receiver
Gorgeous!! 😀
Pictures? Schematic?
C'mon we all want to see your work!! 😉
I'll begin the hunt for STA310... and to study tons of datasheets!! 😀
Thank you for your help and for everything you'll want to share with this forum. 😉
Pictures? Schematic?
C'mon we all want to see your work!! 😉
I'll begin the hunt for STA310... and to study tons of datasheets!! 😀
Thank you for your help and for everything you'll want to share with this forum. 😉
gianka said:Gorgeous!! 😀
Pictures? Schematic?
C'mon we all want to see your work!! 😉
I'll begin the hunt for STA310... and to study tons of datasheets!! 😀
Thank you for your help and for everything you'll want to share with this forum. 😉
Ok but now I design 6 channel power amplifier with national Overture LM4782. I send pictures when all be ready
Tomek,
Great work, I'm glad to hear you got it functioning. The value of the PLL filters are not in the datasheet so I'm not sure how to figure it out other than by guestimating. I made a BOM of a test rig for the STA310 but never ordered it. Since I can't code and can't write any software it would have been a dead project. I'm very very glad to hear you've been quite successful and would like to hear more. 🙂
Thanks.
Jonathan
Great work, I'm glad to hear you got it functioning. The value of the PLL filters are not in the datasheet so I'm not sure how to figure it out other than by guestimating. I made a BOM of a test rig for the STA310 but never ordered it. Since I can't code and can't write any software it would have been a dead project. I'm very very glad to hear you've been quite successful and would like to hear more. 🙂
Thanks.
Jonathan
Kafka, you could try to get some samples from arrow or spoerle.
Arrows minimum buying quantity is 540 units. Maybe spoerle can sell you just one unit.
http://www.spoerle.com/en
http://www.arrow.com
Arrows minimum buying quantity is 540 units. Maybe spoerle can sell you just one unit.
http://www.spoerle.com/en
http://www.arrow.com
emuman100:
Values for PLL filters (both PLLAF and PLLSF) are:
R: 1K
C: 5.6 nF
C3: 470 pF
As they are on datasheet.
Values for PLL filters (both PLLAF and PLLSF) are:
R: 1K
C: 5.6 nF
C3: 470 pF
As they are on datasheet.
I just want to point out that while this is a very worthy project, I got a Venturer AV1000 "home theatre in a box" from Walmart for $40 (on sale). It does Dolby Digital decoding and comes with 5 B0se-like speakers and a horrible little subwoofer. I pulled the cover but the main decoder chip was hidden on the underside of the board (and getting at the underside would be a bunch of work). It would be interesting to remove the internal chip power amp modules (Toshiba TA8258H) and add RCA outs...
One can also use a Creative Labs Extigy as a standalone Dolby Digital decoder.
Or, get a used Technics SH-AC500D on eBay; it does DD and DTS and has 4 inputs (2 each Toslink and RCA).
One can also use a Creative Labs Extigy as a standalone Dolby Digital decoder.
Or, get a used Technics SH-AC500D on eBay; it does DD and DTS and has 4 inputs (2 each Toslink and RCA).
spdif input vs pcm input
Hey folks,
I hope this thread is still active.
I was wondering if the spdif input of the STA310 needs some additional components. Because in most of the application notes you see a 75 ohm in parallel and a 10nF capacitor in series as input for the coax cable.
My idea was to have four coax cables and four optical receiver as input for the spdif. And switch them with an 74F151 to the input of the STA310. Is this possible? I'm not shure about the voltage levels SPDIF uses.
The other idea is to take an SC8416 from Cirrus Logic and select the input there. But can I use the pcm input to decode ac3?
thank you for your help.
How did you do it tomek?
Hey folks,
I hope this thread is still active.
I was wondering if the spdif input of the STA310 needs some additional components. Because in most of the application notes you see a 75 ohm in parallel and a 10nF capacitor in series as input for the coax cable.
My idea was to have four coax cables and four optical receiver as input for the spdif. And switch them with an 74F151 to the input of the STA310. Is this possible? I'm not shure about the voltage levels SPDIF uses.
The other idea is to take an SC8416 from Cirrus Logic and select the input there. But can I use the pcm input to decode ac3?
thank you for your help.
How did you do it tomek?

The STA310 S/PDIF module is same like STA120 SPDIF receiver. Consumer interface, the standards call for an unbalanced circuit having a receiver impedance of 75ohm ±5% and +/-0,5V. But module has RS422 receiver and it can accept TTL/CMOS level - you can see STA120 data sheet.
SPDIF signal from DVD coax output has +/-0,5V level optical input and and 74F151 isn't good idea. In this case switch input signals by mechanical switch or relays. You can also use SPDIF/TTL converter and optical input in decoder (e.g.Toshiba TORX173)
If your DVD has optical outpt you can use TORX173 reveiver and switch signal by 74F151.
BTW my 6 channel power amplifier is ready and now i'm waitng for last version decoder's PCB
SPDIF signal from DVD coax output has +/-0,5V level optical input and and 74F151 isn't good idea. In this case switch input signals by mechanical switch or relays. You can also use SPDIF/TTL converter and optical input in decoder (e.g.Toshiba TORX173)
If your DVD has optical outpt you can use TORX173 reveiver and switch signal by 74F151.
BTW my 6 channel power amplifier is ready and now i'm waitng for last version decoder's PCB
Thank you for your fast reply tomek!
Well this is something I also read, that the output voltages of a dvd coax are low (+-0,5V) and differential. I just was wondering how a receiver can handle both. TTL and SPDIF. Does somebody know something about this device from Cirrus Logic, the CS8416. Because it seems so have an option to route on of four inputs RX0..RX3 to an output pin TX. See the datasheet: http://www.cirrus.com/en/products/pro/detail/P1005.html
Maybe I could take this to select the coax, then TORX173's with the 74F151 to select optical inputs and one relay to choose inbetween torx and optical. Do you think it's possible? Or is there any change of the spdif digital signal because of the CS8416?
How is your amp going, tomek?🙂
Well this is something I also read, that the output voltages of a dvd coax are low (+-0,5V) and differential. I just was wondering how a receiver can handle both. TTL and SPDIF. Does somebody know something about this device from Cirrus Logic, the CS8416. Because it seems so have an option to route on of four inputs RX0..RX3 to an output pin TX. See the datasheet: http://www.cirrus.com/en/products/pro/detail/P1005.html
Maybe I could take this to select the coax, then TORX173's with the 74F151 to select optical inputs and one relay to choose inbetween torx and optical. Do you think it's possible? Or is there any change of the spdif digital signal because of the CS8416?
How is your amp going, tomek?🙂
CS8416 is SPDIF receiver. It has 8 mux SPDIF inputs and PCM output.You right, it has also bypassing 3 SPDIF output. You can use this part as SPDIF switch, but microcontroler is necessary. Microcontroler control by I2C bus input, bypass and output switch CS8426 . I think this is too expensive.
For example you can:
1. coax input in decoder and mechanical switch
2. optical input in decoder 74F151 switch, and necessary 4 SPDIF/TTL coverters - it isn't good idea
3. CS8416 and microcontroller - expensive and complicated
My suggestion
point 1 - it simple and will be work well.
For example you can:
1. coax input in decoder and mechanical switch
2. optical input in decoder 74F151 switch, and necessary 4 SPDIF/TTL coverters - it isn't good idea
3. CS8416 and microcontroller - expensive and complicated
My suggestion
point 1 - it simple and will be work well.
Have them already
Hi Tomkek,
you are right, the mechanical version is the easiest and the cheapest.
But I'm lucky and have already 5 TORX173 and 3 CS8416 as samples from Cirrus logic. 😎 I will have an microcontroller anyway on my board, 'cause I wanna connect an LC-Display and a rotary encoder. But as far as I understood you don't even need to use I2C if you use the the CS8416 in hardware mode (page 11 in the pdf-datahseet). All I wanna do with the device is route the input of spdif to one output.
Do you think the TX output of the CS8416 is ttl or +-0,5V? And I'm not so sure about the clock needed for it. But this idea with the relays becomes more interesting.
What about high frequencys of the spdif signal? no broblem in those mechanical things?
Hi Tomkek,
you are right, the mechanical version is the easiest and the cheapest.
But I'm lucky and have already 5 TORX173 and 3 CS8416 as samples from Cirrus logic. 😎 I will have an microcontroller anyway on my board, 'cause I wanna connect an LC-Display and a rotary encoder. But as far as I understood you don't even need to use I2C if you use the the CS8416 in hardware mode (page 11 in the pdf-datahseet). All I wanna do with the device is route the input of spdif to one output.
Do you think the TX output of the CS8416 is ttl or +-0,5V? And I'm not so sure about the clock needed for it. But this idea with the relays becomes more interesting.

In this case no problem use CS8416 as SPDIF input selector. I thing GP0...GP3 output has TTL level, but you must check it.
SPDIF receivers are working with RS422 standard. This standard accept simutaneousuly +/-0,5V and TTL/CMOS level - see fig 20 datasheet. I use as buffer 74HC04.
I never used this chip. I think if it working only as input selector system clock is not essential.
SPDIF receivers are working with RS422 standard. This standard accept simutaneousuly +/-0,5V and TTL/CMOS level - see fig 20 datasheet. I use as buffer 74HC04.
I never used this chip. I think if it working only as input selector system clock is not essential.
- Home
- Source & Line
- Digital Line Level
- c'mon guys, lets put our heads together to control a STA310 ac3 decoder