I finished building the rear channels this week, and tested them all out. The front panel arrived from Modushop in Italy, so I mounted that today with the knobs and lcd. Yesterday I build the Dolby digital decoder board that uses a STA310 chip. On the weekend I’ll build the DAC and the microprocessor board. So hopefully within a week I’ll see if I can decode Dolby digital.
It’s been a super rewarding project so far, and most important, the LM3886 based amplifiers sound awesome.
It’s been a super rewarding project so far, and most important, the LM3886 based amplifiers sound awesome.
Attachments
-
E85869A6-D6A3-4DD6-BD85-17878A9E8D36.jpeg390.1 KB · Views: 197
-
012548FC-D724-458C-AEE1-80C6F0000C58.jpeg374.2 KB · Views: 197
-
C7E8DE69-4293-4940-9880-6F655BD42951.jpeg650.1 KB · Views: 276
-
77DFEDED-93E3-4ED6-802E-D4ED5B1E69D3.jpeg550 KB · Views: 222
-
B190C686-A44F-4A87-8EDB-F3A51EED7461.jpeg442.2 KB · Views: 200
-
D568543A-06D5-4B28-A006-24783E253035.jpeg696.1 KB · Views: 192
-
AA39F86A-A750-4C49-994C-5A3901ADAB61.jpeg329.1 KB · Views: 185
Last edited:
That's for the 2.5V - it doesn't use much, does it? I have the 3.3V coming from a separate supply.By using the AMS1117 regulator you're simply asking for trouble, my friend !
Oh, then it's OK.
The 2.5V current draw is next to nothing. You may add series resistor (~10 ohm) for better filtering on that line without any appreciable drop in the voltage. It's that small.
The 2.5V current draw is next to nothing. You may add series resistor (~10 ohm) for better filtering on that line without any appreciable drop in the voltage. It's that small.
Oh, then it's OK.
The 2.5V current draw is next to nothing. You may add series resistor (~10 ohm) to better filtering on that line without any appreciable drop in the voltage.
For the STA310 startup code, did you do much? I have the STA310 programming guide, and they go through this exhaustive startup that covers pages and pages. Looking at the actual registers though, it seems like there are only a few critical things to do like enable the SPDIF, enable autodetection, set up the clocks, set up the PCM output style, unmute, and then run. Did you do much more?
Did you check the version of your decoder IC, v1 or v2 ?
I haven't yet. I hope to god it's version 2.0. But I don't have a working processor to talk to it yet. A few more days and the microprocessor PCB should be here. I would hope there aren't many version 1s around anymore.
I did everything as instructed.For the STA310 startup code, did you do much? I have the STA310 programming guide, and they go through this exhaustive startup that covers pages and pages.
Soft reset routine (4-5 lines)Looking at the actual registers though, it seems like there are only a few critical things to do like enable the SPDIF, enable autodetection, set up the clocks, set up the PCM output style, unmute, and then run. Did you do much more?
PLL coefficients
Interrupts
Sync
I/O setup (SPDIF)
Any post processing (bass, DPL etc.)
Choose Linear PCM decoder (default).
Rest of the procedures to be done after the auto-detect interrupt has struck.
Attach your draft code, I'll tell you if you're missing anything.
Programming guide says the default PLL coefficients that are loaded at reset cover all the 48khz sampling rates (98, 196etc). Did you do that for some other reason?
It also depends on the oversampling ratio, not only sample-rate. Default = 384, I was 256, that was why.
Ok thanks. I'll take a stab at it myself at first. If I hit a wall for a long time, I'll drop you a message! Thanks.It also depends on the oversampling ratio, not only sample-rate. Default = 384, I was 256, that was why.
Well, if it's V1, then you've to detect and decode the S/PDIF header (IEC61937) using the micro to find out what format it is, and then load the correct decoder. There're other tricks to identify AC3, but not DTS/PCM.I haven't yet. I hope to god it's version 2.0.
Last edited:
Not a problem.Ok thanks. I'll take a stab at it myself at first. If I hit a wall for a long time, I'll drop you a message! Thanks.
What did you set CAN_SETUP to be? I have conflicting sections in the documentation. One section says CAN_SETUP must be 2 for SPDIF input. But in their code examples, they say it must be set to 0.Not a problem.
This register has controls that make sense only in case of the I2S input, not SPDIF.
If SIN_SETUP has SPDIF selected (0b1x11), CAN_SETUP is NA, set to default value (zero), that's what I've used here.
If SIN_SETUP has SPDIF selected (0b1x11), CAN_SETUP is NA, set to default value (zero), that's what I've used here.
Ok thanks.. if you read the STA310 datasheet, it says this "When the IC is configured with the S/PDIF input, reg-ister CAN_SETUP must be set to 2".. but in the programming guide, they set it to zero as well. I'll roll with zero.
Hi there. I am planning on building a DD 5.1 decoder with 6 digital out channels, hence I’m interested in the STA310 chip. @duanestorey Could I ask, where did you buy the chip from, and get the documentation? Thanks.
You might want to see duanestorey's other thread:
https://www.diyaudio.com/community/threads/lm3886-5-1-build.393554/
https://www.diyaudio.com/community/threads/lm3886-5-1-build.393554/
Thanks very much. I’ll read through, but from a quick look, tots of nice info there from yourself and OP.
Hey sorry for the late reply.
I bought mine from this vendor on Ebay - he is in Poland I think - https://www.ebay.es/itm/265335486260 I bought about 8 of them I think. I definitely had it decoding audio, so the chips are good. I need to do another iteration to improve a few things I did on that board, but it wasn't the chip's fault. It wasn't easy getting it to work, and a few other people gave me some good help. But if you want any docs or anything let me know.
I bought mine from this vendor on Ebay - he is in Poland I think - https://www.ebay.es/itm/265335486260 I bought about 8 of them I think. I definitely had it decoding audio, so the chips are good. I need to do another iteration to improve a few things I did on that board, but it wasn't the chip's fault. It wasn't easy getting it to work, and a few other people gave me some good help. But if you want any docs or anything let me know.
- Home
- Amplifiers
- Chip Amps
- More progress on my 5.1 system