IBM Portable PC wrote:The DAC is a TCM128T16N, which is mainly used in telephony applications.
It sends/receives u-law encoded PCM. So I'm trying to add SPDIF to a device with 8 bit u-law encoded PCM.
Can't find any reference or datasheet to that chip. Are TCM29 chips close enough?
You haven't mention what device it is you are modifying and why, is this a secret?
Well you are faced with several different things that either are compatible or not and you need to figure them out.
Even if there is 8-bit audio on the bus, it is possible there are more than 8 bits per frame so if there is say 16 bits per frame or whatever is compatible with DIT4096 then you can connect them. So basically, you need to figure out what is the bus format used between TMS and DAC in your device and if it matches the DIT4096 requirements, regarding also the aspect that there is one mono audio channel and the DIT4096 can support mono mode somehow. The sampling rate just needs to be something fixed, and you need to arrange a master clock for DIT4096. If you get all these right, then the DIT4096 can output your data through SPDIF.
Then you have two other problems.
If the sampling rate is not a standard audio sampling rate, what device would accept SPDIF signal with non-standard sampling rate? All devices I know just eat standard 32/44/48/88/96/176/192 kHz sampling rates.
And even if it does work, it would sound distorted, if the audio on the bus is u-law compressed instead of linear PCM.
So it is possible that you need something in between the TMS320 bus and DIT4096 to make them compatible with each other (like a CPLD, FPGA, another TMS320 or other DSP, microcontroller or whatever that can convert data to more reasonable format, etc).