Home › Forums › snickerdoodle Baseboards › • Community Built › Carrier Board I2S
- AuthorPosts
- I'm designing a carrier board and one thing I want to add is audio output (speakers and headphone jack).In order to interface with Snickerdoodle I was planning on using the I2S interface on connector J2 (Not using BT_AUD_IN because there will be no audio input for now):
- 'BT_AUD_CLK'
- 'BT_AUD_OUT'
- 'BT_AUD_FSYNC'
I've looked through the block diagram in the snickerdoodle book and it looks like these I2S signals are not directly connected to the Zynq chip but instead connected to the WIFI/Bluetooth chip. I can research the WIFI/Blootooth chip further but before I do I wanted to see if the Krtcl team has any recommendations regarding I2S.Specifically, I was planning on connecting the I2S amplifier to both the Bluetooth and FPGA I/O through a multiplexer but if the WIFI/Bluetooth I2S output can be used for all general purpose audio I wouldn't bother with the FPGA I/O. If the I2S is available to the processor are there already kernel drivers for it?Thanks for any help. Looking forward to getting the board!Dave - Hi David,
I recommend *against* you utilizing the I2S pins on J2. This is for four reasons I can think of.
The first is that not all the radios actually have those.
The second is that the status of I2S support on the TI WiLink8 firmware (we do not control this) is unknown to us at the time.
Thirdly the current pins aren't able to support generalized I2S.
Finally this isn't currently supported under Linux and therefore we are likely going to remove those pins in future revisions and replace with I/O signals that will be more generally useful.What I do highly recommend is that you implement your general I2S interface using FPGA I/O pins. You will be happy that you took that approach.
You may want to look at the OpenCores I2S implementation and I'm sure there are other freely available Zynq specific implementations floating around out there.If this is for a commercial product there are also paid I2S AXI cores that are available in the Xilinx IP catalog in Vivado.
-Jamil
On Tuesday, August 1, 2017 at 6:49:06 AM UTC-7, David M wrote:
I'm designing a carrier board and one thing I want to add is audio output (speakers and headphone jack).In order to interface with Snickerdoodle I was planning on using the I2S interface on connector J2 (Not using BT_AUD_IN because there will be no audio input for now):- 'BT_AUD_CLK'
- 'BT_AUD_OUT'
- 'BT_AUD_FSYNC'
I've looked through the block diagram in the snickerdoodle book and it looks like these I2S signals are not directly connected to the Zynq chip but instead connected to the WIFI/Bluetooth chip. I can research the WIFI/Blootooth chip further but before I do I wanted to see if the Krtcl team has any recommendations regarding I2S.Specifically, I was planning on connecting the I2S amplifier to both the Bluetooth and FPGA I/O through a multiplexer but if the WIFI/Bluetooth I2S output can be used for all general purpose audio I wouldn't bother with the FPGA I/O. If the I2S is available to the processor are there already kernel drivers for it?Thanks for any help. Looking forward to getting the board!Dave - Thanks for the feedback.I've already written an I2S core. At the moment it's written for Wishbone but I plan to port it to AXI.Here's a video of it working.After I get it working for AXI it would be great to get a kernel driver up and running. I'll check if Xilinx has anything written for a generic I2S core when I'm ready to do it.Thanks again.Dave
- AuthorPosts
- You must be logged in to reply to this topic.