- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
05-10-2017 07:50 AM - last edited on 07-24-2017 02:30 PM by Siliconlabs
I currently have the SI4713 working using analog audio but I would like to use I2S which I have been unable to get working.
I use the following commands to configure the device uniquely for I2S.
POWER_UP -- arguments 2, 0x0f -- for Xmit and Digital Audio
DIGITAL_INPUT_FORMAT - argument 8 - for DCLK Raising edge, I2S mode, Stereo, and 16 bit audio
DIGITAL_INPUT_SAMPLE_RATE - argument - 44100
Can someone enlighten me as to what I'm missing?
Is there a requirement for a specific sequence of commands that must be met?
Thanks in advance for any comments.
Solved! Go to Solution.
05-18-2017 05:01 PM
I received an email from Andreq Zeng (SI) today stating the following:
"you need to establish DCLK and DFS prior to enabling the digital audio output by setting DIGITAL_OUTPUT_SAMPLE_RATE." ... I think he meant DIGITAL_INPUT_SAMPLE_RATE
That was the issue as I was setting up the SI4713 before starting I2S.
I start I2S - then initialize the SI4713 and it works as expected.
AN332 speaks to setting DIGITAL_INPUT_SAMPLE_RATE to zero prior to removing DCLK but no statement that DCLK needs to be present before setting it. ---- Should be added to AN332.