I2S example

Post here first, or if you can't find a relevant section!
Post Reply
omaroski
Posts: 11
Joined: Mon Apr 03, 2023 5:36 pm

I2S example

Post 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?
omaroski
Posts: 11
Joined: Mon Apr 03, 2023 5:36 pm

Re: I2S example

Post 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.
sudarshanwagh
Posts: 1
Joined: Sat Jun 03, 2023 9:58 am

Re: I2S example

Post 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.
stef
Posts: 1
Joined: Sat Jul 06, 2024 7:56 pm

Re: I2S example

Post by stef »

omaroski wrote: Tue May 16, 2023 4:42 pm 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.
Hi omaroski, have you ever pushed your code to any public repository?
Composite
Posts: 12
Joined: Fri Feb 16, 2024 11:09 pm

Re: I2S example

Post by Composite »

Code for nucleo-F446re.
Attachments
pcm1798_i2s2_6bxx.zip
(15.6 KiB) Downloaded 277 times
Post Reply

Return to “General discussion”