cancel
Showing results for 
Search instead for 
Did you mean: 

Quad i2s ADC on STM32F4

clovis
Associate
Posted on November 22, 2016 at 18:17

Hello Everyone !

My first project on STM32 is to make a NUCLEO shield to record four analogue signals :

  • Dual stereo codec ADAU1979 for 16-bit 44.1 kHz samplig

  • microSD slot for PCM logging using FatFS, communication via 4-bit SDIO (spi is too bandwidth limited)

  • micro USB to retrieve PCM files from microSD card (USB-MSD

I have chosen the NUCLEO-F401RE because it was the only available development kit that can have CubeMX HAL initializations for both USB, i2s, i2c and SDIO.

The problem is that the ADAU has two stereo i2s outputs. The only available i2s in Cube MX is i2s(2), because i2s(3) pins are occupied by SDIO.

  1. Is this project feasible to you ?

  2. Shall I use two i2s ? or adding an additional pin to i2s(2) is possible ?

  3. If I have to use i2s(3), can I change the SDIO pins ir these are specific pins ?

Thanks

Clovis

#fatfs #sdio #cubemx #i2s
2 REPLIES 2
slimen
Senior
Posted on November 23, 2016 at 11:33

Hello,

You can refer to your product datasheet to review the pins assignment. This helps you to identify the free/usable pins following this 

http://www.st.com/content/ccc/resource/technical/document/datasheet/30/91/86/2d/db/94/4a/d6/DM00102166.pdf/files/DM00102166.pdf/jcr:content/translations/en.DM00102166.pdf

.

Refer to the

http://www.st.com/content/ccc/resource/technical/document/reference_manual/5d/b1/ef/b2/a1/66/40/80/DM00096844.pdf/files/DM00096844.pdf/jcr:content/translations/en.DM00096844.pdf

for more clarification about your product.

 

Regards

clovis
Associate
Posted on November 23, 2016 at 21:59

Thank you for your response forumstm32,

From what I understand of your document RM0368, the only solution to have a dual Rx-line on i2s could be to configure the STM32 as Full-duplex, but force both 12s2 and i2s2_ext as Rx, am I right ?