We are currently trying to interface the AD1934 DAC with the BeagleBone. We are going to use I2S and an external PLL clock generator for a master clock. The MCASP will be slaved to use the PLL clock and will generate the LRCLK and the Frame CLK.
Can I use the AD193x codec with the AD1934? It shows in the header of the AD193x that this may not be the case. The difference seems to be the ADC on the other devices. If so, should I just comment out the ADC configuartions in the codec?
We have done some inital testing and have been able to get the the codec registered with ALSA and the SPI working. Amixer adjusts the DAC and we have viewed the SPI words being sent with an oscope. We still cannot get aplay to play an audio file. When we try to play an audio file this is the response we get in the terminal ...
# aplay Vivaldi.wav
Playing WAVE 'Vivaldi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1145: Unable to install hw params:
PERIOD_TIME: (42666 42667)
PERIOD_SIZE: (1881 1882)
PERIOD_BYTES: (7524 7528)
PERIODS: (15 17)
BUFFER_TIME: (682653 682654)
Any thoughts on the hw params error? Also I am going to attach the davinci evm file that we have altered to try to get the audio stream from the Bone.