cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing TDM bus with STM32F4

dpn
Associate II

Hello

We need to interface TDM bus with USB from i7 based embedded PC.

I saw "STM32 USB Device Audio Streaming software expansion for STM32Cube" and I am consider using it.

Let me put here our requirement, possibly someone can comment if what we need can be implemented using STM32 USB Audio

Our TDM bus:

clock independent 2048KHz stable, it should be an external input for the STM32F4 IC

frame sync is 8Khz (as the speach sampling rate is 8KHz) and is high 1/256 part of the period (one clock period)

data_in, data_out - so we have data going in both directions serially just after the frame_sync

The data in our application are 8bits or 16bits and we have only one active channel.

So basically our traffic is 16*8KHz = 128Kbit/s

From the PC we have both USB 2.0 and USB 3.0 and the PC is ruining a latest Linux.

I think we will need asynchronous isochronous USB transfer.

Please let know if the example "STM32 USB Device Audio Streaming software expansion for STM32Cube" can be used for our needs

Thank you

Dimitar

0 REPLIES 0