Skip to main content
Associate II
August 6, 2023
Question

Example for SAI on nucleo-F746ZG

  • August 6, 2023
  • 2 replies
  • 2209 views

Is there any example project for using SAI on nucleo-F746ZG 
(preferably with IOC file)

Thanks,

Nadav

This topic has been closed for replies.

2 replies

Pavel A.
August 6, 2023

Which example do you need: generation of sound? recording?

nadavppAuthor
Associate II
August 7, 2023

I need both, both generating sound and recording sound.
(We eventually want to use our card as mic & speakers that connect to pulseaudio using RTP protocol )

we are going to use MAX9867 for the sound.

For what I read in the documentation, I will need need to use SAI with internal syncronization...
(and I2C for configuration of the MAX9867...)

Nadav

 

Piranha
Principal III
August 7, 2023

(We eventually want to use our card as mic & speakers that connect to pulseaudio using RTP protocol )

If you are just clicking CubeMX and are not capable of dealing with SAI on your own, then there is basically no chance you can implement an audio clock synchronization over IP network or audio resampling for reception/output. But, if you are actually serious, you will need to learn this:

https://flylib.com/books/en/4.245.1.52/1/

Foued_KH
ST Employee
August 7, 2023

Hello @nadavpp 
Please you can check  the available examples in the STM32F7 CubeFW :
STM32Cube_FW_F7_V1.17.0\Projects\STM32756G_EVAL\Examples\SAI

This example can be easily tailored to any other supported device and development board.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.