Some of you have asked me how to interface our I2S audio converters to an MSP430 microcontroller. Michael Burns has written an application report that focuses on this subject.
Please find it here:
I am working on a design using a MSP430F5438 to analyse an audio stream from a AIC3254. In my case the CODEC is in master mode and generates all clock signal in the Left Justified Mode. I configured the MSP430 in 4-wire SPI mode. With STE (Slave Transmit/receive Enable) connected to the WCLK the interface only receives one channel. If you need both channels then you could take a second SPI interface connected to the same bus but with an inverted STE signal.So no for external components at all.
As mentionned in 'slaa449a.pdf' there is one slight problem that the stream is 16bit and SPI only supports 8bit. In my case I am filling up a larger buffer through DMA. If you fill the buffer from the beginning you will notice that you can't read them as signed integer (16bit) straight away. MSB(byte) and LSB(byte) are inverted (little endian/big endian). If you start filling the buffer from the end this issue is solved as well.
We are going to be doing the same thing, using the CODEC as a timing master. Could you please send me a little more details on how your code and hookup works? We cannot use any external hardware, and we're using the MSP430F5528 device.
Would it be possible to get some assistance directly to my programmer? His name is Layne Phillips, and his email address is LNPS...@aol.com. Please cc me on any email traffic so I can be in the loop.
Since only the direction from the codec to the MSP is needed, I want to use the codec as the timing master as jaiv suggested and use the WCLK as the MSP's slave select input. Only one channel can be captured this way but this is not a serious drawback for my application.
In case I need both channels, is it possible to use the WCLK to initialise the SPI transfer, thus avoiding the syncronisation problem that Howard mentioned, and then "latch" the SPI in "selected" mode so that the MSP keeps receiving words indefinetely using DMA? Maybe turn the WCLK off from the codec side after the reception starts so that the STE remains low?
I have seen that the codec's outpout word length is configurable to 16, 20, 24 or 32 bits. Does this mean that the resolution of each value is increased accordingly, or that for 32-bit word length two 16-bit values are send along with 32 dummy bits? I suspect that the former is the case, however the latter would be preferred for my case if the left and right values are sent in the first 32 bit clock cycles, when the WCLK is constantly LOW or HI (depending on polarity) so that they can be received as a single SPI frame.
I am still working on the interface between the TLV320AIC3256 and the MSP430 and have stumbled upon the following: The audio codec outputs I2S samples of 64bits, 32bits per channel. Using the TLV320AIC3256 eval board and configuring the word length to 16 bits per channel, the length of each sample is still 64 bits, which makes interfacing with the MSP430 more difficult. Is it possible to configure the codec to output 16bit per channel, left-justified I2S?
I am trying to connect Beam to a Sony Bravia Tv using an audio converter. I have coaxial out of tv into converter. and optical into converter from beam using Sonos supplied adapter. I am trying unsuccessfully to connect to to beam. message on sonos app says no signal detected make sure to digital optical adapter and HDMI cable are securely plugged into....
it will not connect to tv
i did exactly what you mentioned. used a coaxial cable from the TV out and plugged it into the adapter/converter. Then an optical cable from the adapter/converter to the Sonos adapter cable and that cable to the beam HDMI. But couldn't connect and no sound from the beam.
You would connect your source(s) to it, and then run an HDMI cable from the output of the switch to your TV, and the optical cable from the appropriate output jack, to the adapter that came with the Beam.
My link was only an example, there are dozens of varied types out there, from the number of ports, to remote controls, etc. I have no knowledge of that specific three port model, so you should shop around for the features and price point that appeals to your needs.
& also to extract / rip the audio tracks from them. i too have a few live show DVD. this app has the wort possible support but it doesn't give problems as such, so you can live with it. i havebacked up my DVD collection to HEVC/H.265 in the mp4 container .. the rips are fantastic .. you will need a super display card to use the accelerations feature.
This is how I normally do it:
1. Use MakeMKV to remux the content to MKV.
2. Extract the audio track(s) with Inviska MKV Extract. On DVD you often have the choice between AC3 and DTS. AC3 is the more efficient codec so it might actually have higher quality even if it has a lower bit rate.
3. If the video contained chapters you can use chapterEditor to convert the chapters in the MKV file to a CUE sheet.
Also works for Blu-rays. On Blu-ray you normally even have lossless audio, generally in form of DTS-HD. Got two lossless 5.1 surround soundtracks that way.
Digital Audio Output is probably fiber optics. Trying to decode the signal using a measly Arduino Uno is quite a stretch. And since its digital, its also probably one of the higher quality audio signal (44 kHz, 96 kHz, etc) and at least 16 bits. That's a bandwidth of about 176 kB/sec for a stereo channel
With fre:ac you easily rip your audio CDs to MP3 or M4A files for use with your hardware player or convert files that do not play with other audio software. You can even convert whole music libraries retaining the folder and filename structure.
This release adds a tool for splitting the output into multiple files based on various parameters like duration, number of files or metadata. The update also adds support for dithering, a matrix surround decoder and a volume adjustment filter.
fre:ac's discussion forums are moving to GitHub. Please post new questions and ideas in the new Discussions area and feel free to start discussions about anything releated to fre:ac and digital audio conversion over there.
This update adds native support for Windows on the ARM64 architecture which greatly improves the user experience on devices like the Surface Pro X, HP Elite Folio or certain Samsung Galaxy Book models. Most notably, conversions can be up to six times faster on many devices with ARM cores.
This update adds support for verifying audio CD rips using AccurateRip technology. This compares a checksum of the ripped audio against other users' results for the same CD. When a match is found in the AccurateRip database, this basically certifies a perfect rip. And in case of a mismatch, fre:ac displays a warning to let you know something may be wrong.
Benchmark's DAC1 and DAC2 D/A converter families have been the reference to which other converters have been compared. It is rare to find a converter review that does not draw comparisons to the DAC1 or the DAC2. Benchmark converters are in daily use at many of the world's finest recording studios and mastering rooms. Benchmark converters are also enjoyed by thousands of audiophiles. Benchmark has raised the bar again ... the DAC3 defines a new reference.
Internal digital processing and conversion is 32-bits, and this processing includes 3.5 dB of headroom above 0 dBFS. This headroom prevents the DSP overloads that commonly occur in other D/A converters.
All digital inputs on the DAC3 support native 192 kHz PCM or DSD64 conversion. From any input, DSD is transported with bit accuracy over DoP 1.1. DSD and PCM are both natively converted to analog. There are no DSD to PCM or PCM to DSD conversions to compromise the quality of the music. The DAC3 conversion system seamlessly switches between native PCM and native DSD conversion. DSD over DoP 1.1 is supported by many media players, and DSD downloads are now available from several sources.
Benchmark DAC1, DAC2, and DAC3 converters are designed to directly drive power amplifiers and speakers. Benchmark converters feature adjustable low-impedance passive attenuators at the XLR outputs that can be used to optimize the interface to the power amplifier (or powered monitor). This unique Benchmark feature optimizes the gain staging between the DAC and the power amplifier. Proper gain staging cannot be overemphasized. When audio stages are properly matched, each component in the audio chain is able to operate at its optimum signal level, and the system performance is significantly improved.
All Benchmark converters are designed for maximum transparency. This transparency is absolutely essential in the studio monitoring chain. For this reason, DAC3 converters are ideal for critical reference-quality professional systems. Unlike many competing products, the DAC3 is not designed to add "euphonic" coloration to the audio. Instead it is designed to be as uncolored and natural as possible.
When Benchmark's professional converters are used in hi-fi applications, studio-quality sound can be enjoyed in a home environment. Enjoy pure music without any coloration from the electronics. Hear the music exactly the way it was heard in the studio, and exactly the way the artists intended.
Transparent sound can go beyond replicating the studio experience. Recordings that have been produced with a natural and unprocessed sound can transport you to the performance space. But, this can only happen when the entire playback chain is selected for maximum transparency.
The ES9028PRO has two distortion compensation systems that independently remove most of the 2nd and 3rd harmonic distortion in the D/A converter. Benchmark's ultra-clean analog output stages allow these systems to be fully leveraged in the DAC3. To the best of our knowledge, no other D/A converter has lower THD than the Benchmark DAC3.
64591212e2