Hello. No problem at all! Ah yes, I found the same ebay vendor, I think. I will go with them if things like VAT are ok (brexit sucks). I noticed in your other thread that you were planning to make the schematics open-source. Is that the case? Also, could you link me to the programmer’s manual? Thanks.
It's still my plan, but I don't quite have a working schematic yet. I mean, it worked, but there were a few glitches I need to address in the next iteration before I release it.
Send me a DM or an email or something and I can fire you off what I have.
Send me a DM or an email or something and I can fire you off what I have.
Hey. Many thanks. My account is still under moderation, so I cannot DM right now. Although, you should be able to DM me. If that’s what you want. Otherwsie I will DM when possible.
Why DM and PM ?Send me a DM or an email or something and I can fire you off what I have.
Why do you not share openly on the forum any information you have in excess of what is already available ? That was the way I did when you asked me for help in your "other" thread below ?
https://www.diyaudio.com/community/threads/lm3886-5-1-build.393554/
For the time being, I have shown my schematics in post #8 of the "other" thread. The schematic has been verified in the thread/post below.I noticed in your other thread that you were planning to make the schematics open-source. Is that the case? Also, could you link me to the programmer’s manual? Thanks.
https://www.diyaudio.com/community/...ces-opinions-ideas.381423/page-3#post-7026769
Programming guide attached. Enjoy.
Attachments
Last edited:
Hi. Thanks very much for this, and all your published schematics, they will be definitely be useful to me! I don’t mind communicating in this thread.
I received the following question(s) from @duanestorey via PM that I'm answering below.
For example, my DVD player puts out STREAMSEL / DECODESEL = 3/3 every time I pause/stop the playback, but that doesn't mean there's PCM data in the stream.
No, the datasheet clearly says that STREAMSEL / DECODESEL is how you select the decoder while DTYPE indicates the S/PDIF audio format once decoding has started.I'm not sure if it's just because of my Amazon firestick, but every once and a while the unit triggers the interrupt with stream sel / decode sel of 3 3..In the datasheet, that says stereo PCM.
For example, my DVD player puts out STREAMSEL / DECODESEL = 3/3 every time I pause/stop the playback, but that doesn't mean there's PCM data in the stream.
Check using devices that transmit valid streams for the PLL to lock onto. I had a similar problem that was easily solved by using a better 3.3V supply.But then it barfs and stops working. I do the reset procedure, but it never gets back into sync and the audio just plays garbage.. It's like it gets PCM on the line and can't handle it? I'm not sure.. It often happens when switching movies with Firestick and Netflix.. But once I see that 3 3, doesn't seem to matter what I do, but it craps out. Maybe that's just a random error when it doesn't understand the bitstream? Thanks.
But I also get the RST/LCK interrupt, which means there is a change of format, no? If says if you get RST/LCK, you need to soft reset the encoder. As soon as I do that with the 3/3, I get garbled audio.
The STA310.pdf says on RST: "The STA310 has detected a change in the incoming audio format. The soft Reset produce must be applied and the device must be re-initialized according to the new audio format detected. Registers DECODESEL (0x4d) and STREAMSEL (0x4c) contain the new audio format (1)". Which to me means in the interrupt I need to grab the DECODESEL and STREAMSEL registers, do a soft reset, then configure the encoder to 3/3, no? The documentation is confusing upon what you need to do here.
The STA310.pdf says on RST: "The STA310 has detected a change in the incoming audio format. The soft Reset produce must be applied and the device must be re-initialized according to the new audio format detected. Registers DECODESEL (0x4d) and STREAMSEL (0x4c) contain the new audio format (1)". Which to me means in the interrupt I need to grab the DECODESEL and STREAMSEL registers, do a soft reset, then configure the encoder to 3/3, no? The documentation is confusing upon what you need to do here.
Well, if you're so interested in debugging, you need to capture a reasonably long length of the S/PDIF bitstream, decode using bi-phase markcode and obtain the header information (read IEC61937-2 )to crosscheck/verify the same yourself. Altenatively, use a device that puts out a known bitstream, one that adheres to standards, for example a CD/DVD/BD player or computer.But I also get the RST/LCK interrupt, which means there is a change of format, no? If says if you get RST/LCK, you need to soft reset the encoder. As soon as I do that with the 3/3, I get garbled audio.
Doesn't that mean that the new values for STREAMSEL and DECODESEL are automatically loaded for you into 0x4c and 0x4d by the autodetection algorithm ? I think that's fairly straightforward. If you've serviced the interrupt correctly, then check the bitstream by using a) another source b) another receiver.The soft Reset produce must be applied and the device must be re-initialized according to the new audio format detected. Registers DECODESEL (0x4d) and STREAMSEL (0x4c) contain the new audio format (1)".......The documentation is confusing upon what you need to do here.
Also, in the PDF, it says 3/3 corresponds to Stereo PCM, which is why I'm confused.
Last edited:
- Home
- Amplifiers
- Chip Amps
- More progress on my 5.1 system