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?
I2S example
Re: I2S example
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.
-
- Posts: 1
- Joined: Sat Jun 03, 2023 9:58 am
Re: I2S example
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.
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.
Re: I2S example
Hi omaroski, have you ever pushed your code to any public repository?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.
Re: I2S example
Code for nucleo-F446re.
- Attachments
-
- pcm1798_i2s2_6bxx.zip
- (15.6 KiB) Downloaded 277 times