2019-09-26 07:14 PM
I want to use sound alarm in my M4 program or on A7 Linux side.
It can be any kind of sound (beep...etc).
What should I do ?
Which external pheriperal can I buy ,
or is it possible to do it with internal pheriperals on the board and how ?
tnx
Solved! Go to Solution.
2019-09-27 06:20 AM
That's a very wide and generic question, there is plenty possible solutions you should study by yourself (simple buzzer, piezo, audio amplifier, etc...).
Limit is to have a control interface available on the board, could be a simple GPIO, but also Timer_PWM, I2C, SPI_I2S/SAI, etc... Obviously the external device should be also compatible with the capabilities of STM32MP157C (output current, protocol, speed, etc...) and with SW driver available (if needed).
Natively, the DK2 has an audio jack output, where you could connect an amplified speaker set. Then you could play any audio file using Linux.
2019-09-27 06:20 AM
That's a very wide and generic question, there is plenty possible solutions you should study by yourself (simple buzzer, piezo, audio amplifier, etc...).
Limit is to have a control interface available on the board, could be a simple GPIO, but also Timer_PWM, I2C, SPI_I2S/SAI, etc... Obviously the external device should be also compatible with the capabilities of STM32MP157C (output current, protocol, speed, etc...) and with SW driver available (if needed).
Natively, the DK2 has an audio jack output, where you could connect an amplified speaker set. Then you could play any audio file using Linux.
2019-09-27 07:18 AM
This answer gives me the picture
thanks a lot.