* I2S interface testing
@ 2015-11-10 8:26 Harpreet Atwal
0 siblings, 0 replies; only message in thread
From: Harpreet Atwal @ 2015-11-10 8:26 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]
Hi Friends,
I have been trying to create imx-wm8974.c and in the process have successfully done:
- Able to set bypass and loopback mode on wm8974 chip.
- Able to set wm8974 in master mode and enable pll and set correct BCLK for 44100 sample rate at 16 bit and 2 channels = 1.41 Mhz
But I have not been able to see any activity on DACDAT pins.
DACDAT pin is connected in AUDMUX port 5 and ssi2 has been configured in I2S mode as slave.
I have tried using example playback and capture program from this link http://equalarea.com/paul/alsa-audio.html
Snd_pcm_writei exits correctly in playback program but I don't see any valid activity on DACDAT pin on oscilloscope.
Snd_pcm_readi function in capture routine exit saying "read from audio interface failed (Resource temporarily unavailable)"
I am not able to understand what I have missed in configuration.
Ssi2 -> audmux port 2 -> audmux port 5 -> wm8974
In wm8974 configuration, I have enabled mic, inppga , ADC, DAC, mono mixer, and monout.
Loopback is disabled.
If anyone ever done similar things, please let me know your experience.
Regards,
Harpreet Singh
Harpreet Atwal | Senior Embedded Software Engineer
DTI Group Ltd | Transit Security & Surveillance
31 Affleck Road, Perth Airport, WA 6105, AU
P | F +61 8 9479 1190 | harpreet.atwal@dti.com.au
Visit our website www.dti.com.au<http://www.dti.com.au>
The information contained in this email is confidential. If you receive this email in error, please inform DTI Group Ltd via the above contact details. If you are not the intended recipient, you may not use or disclose the information contained in this email or attachments.
[-- Attachment #2: Type: text/html, Size: 4860 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-10 8:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 8:26 I2S interface testing Harpreet Atwal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.