10 years, 3 months ago.

I2S emulation

Is it possible to emulate I2S interface using this board?

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F030R8T6 microcontroller.

2 Answers

10 years, 3 months ago.

But what he asked was "emulate" so I'm assuming he meant could he use the GPIO pins to "bit-bang" an I2S interface.

This processor is a bit slow (48MHz) but should suffice. To emulate a 44.1KHz stereo 16-bit I2S interface you will need to set a bit-clock of 1.4112 MHz.

You will need 6 GPIO pins to drive the 6 required lines of a full I2S interface however you could always setup the 4-wire mode only. Depends on your needs.

I purchased a device that advertised that it did I2S emulation and did appear to although it was very limited. My feeling is that it had no smarts at all in it and was driven completely via it's USB interface and the S/W running on my PC. I would think you could do much better with this board.

Does this help?

Accepted Answer

Thanks

posted by Sai Yamanoor 19 Aug 2014
10 years, 3 months ago.

Hello, unfortunately you picked-up the wrong one...
The STM32F030 does not have I2S hardware support.
If you are looking for a similar mcu with I2S support I would recommend the STM32F031 which is a similar device and has I2S. The closest nucleo board with I2S support is the F072R8.