2022-09-28 05:47 AM
I have this library but I can't add in my project to communicate with the component SGTL5000.
Thank you for your advices
Regards
Solved! Go to Solution.
2022-09-28 07:33 AM
You can try on chip vendor site web if it provide legacy C driver and port low level I²S to your Eval Board.
Otherwise here a github repo.
Thank in advance to mark this post best answer.
Best regards,
Romain
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.
2022-09-28 06:53 AM
Hello DYann.1 (Community Member)
It seems that your file is not an .h header but a .c source code for I²S audio codec.
As it was originally written for a Linux architecture and is part of the Kernel Linux/sound/soc/codecs/sgtl5000.c
https://github.com/torvalds/linux/tree/master/sound/soc/codecs
There are many include file that are missing and can't be compatible and also low level API also not compatible with STM32.
It is a bit normal that your STM32CubeIDE compiler can't do this job. There are many include file
You have to port this Linux driver to ARM Cortex-M architecture and STM32 world.
Good luck !
Best regards
Romain
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.
2022-09-28 07:23 AM
Hello,
So I don't have the good libraries for my applications. So do you know if I can find the libraries for this component to work with my Eval Board ?
Thank you
2022-09-28 07:33 AM
You can try on chip vendor site web if it provide legacy C driver and port low level I²S to your Eval Board.
Otherwise here a github repo.
Thank in advance to mark this post best answer.
Best regards,
Romain
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.