Page 1 of 1

I2S example

Posted: Mon May 15, 2023 3:23 pm
by omaroski
Is there an example on how to implement I2S with HAL for the official core? I'm using STM32F4 Discovery board and would like to setup full-duplex communication with an external CODEC (Analog Devices adau1701). The stm32 should be the master and generate the master clock as well serial clock and word select. Now i'm diving into HAL programming manual (UM1725) and setup all the peripherals seems not an easy task...

Setting up the hardware with CubeMX looks a lot easier, so is it possible to integrate the code generated from CubeMX and implement into my Arduino sketch eventually?

Re: I2S example

Posted: Tue May 16, 2023 4:42 pm
by omaroski
Finally i managed to make it work somehow and it does the job nicely. Currently i have no time to post the full code here but if anyone is interested just let me know.

Re: I2S example

Posted: Sat Jun 03, 2023 10:04 am
by sudarshanwagh
Hello sir,
I need this example,i'm search many things but it couldn't help for me
so can you send this it may be helpful for me. can you for this.