xmos / lib_i2s

I2S/TDM digital audio interface library
Other
20 stars 24 forks source link

TDM slave #21

Open albanoandrea opened 7 years ago

albanoandrea commented 7 years ago

Starting from I2S slave, I've written a TDM slave implementation.

It still doesn't support sync_len!=1 and offset !=0. It has been tested for 2, 4 and 8 channels.

tdm_slave_impl.h.txt

ed-xmos commented 7 years ago

Nice work - thanks for submitting. What testing have you done so far (simulator/hardware if so setup/frequency)? We should think about what needs to happen to get it integrated into the library.

mstaack commented 3 years ago

@mbanth has there been some movement regarding TDM slave feature for this lib?

will the x200 be able to convert an input tdm stream into usb/adat output?

cheers

mstaack commented 3 years ago

@lucianomartin are there any plans regarding examples for tdm slave usage? github repo has seen some activity lately ❤️

mbanth commented 2 years ago

@mstaack, after careful review, XMOS has decided that we will not actively develop a TDM Slave implementation for this I2S reference design. However, if you wish to submit a TDM Slave implementation as a Pull Request from your fork, we will consider merging it into this repository. Please be aware that we will only accept a complete implementation that includes enough tests to verify that all functionality operates as expected.

xross commented 2 years ago

will the x200 be able to convert an input tdm stream into usb/adat output?

The USB Audio reference design will see a refreshed release soon. This includes support for TDM slave.

At this point consider xCORE.AI over xCORE200

xross commented 2 years ago

will the x200 be able to convert an input tdm stream into usb/adat output?

The USB Audio reference design will see a refreshed release soon. This includes support for TDM slave.

At this point consider xCORE.AI over xCORE200

I should clarify, this has it's own implementation of I2S and doesn't use lib_i2s.

ed-xmos commented 5 days ago

Note there is also a working and tested TDM slave implementation here https://github.com/xmos/fwk_io/blob/develop/modules/i2s/api/i2s_tdm_slave.h