![](/media/cache/profiles/39716476.jpeg.50x50_q85.jpg)
Initialized for DISCO_F413ZH audio example
Dependencies: BSP_DISCO_F413ZH
This is a simple Audio loopback code for DISCO_F413ZH.
The base repository is https://os.mbed.com/teams/ST/code/BSP_DISCO_F413ZH/. I've added workaround patch for Audio-in and out(loopback) demo on DISCO_F413ZH board(Microphone U16, U17)
If you connect a 5x Mems microphone, the Audio-in path (U16 and U17) going to be automatically changed to 5x Mems microphone.
- For more information, please see Audio input mechanism and API description
Testing
1. Import the application into your desktop
You can use Mbed CLI, Online Compiler, and Mbed Studio.
- In case of Mbed CLI,
mbed import http://os.mbed.com/users/Daniel_Lee/code/DISCO_F413ZH-AUDIO-demo/ cd DISCO_F413ZH-AUDIO-demo
- In case of Online Compiler and Mbed Studio, Please click 'Import into Compiler'
2. Compile and program
mbed compile -t <toolchain> -m <TARGET_BOARD>
(supported toolchains : GCC_ARM / ARM / IAR)
3. Download binary to a target board
4. Open a serial monitor on baudrate 115200 to see the output
AUDIO LOOPBACK EXAMPLE FOR DISCO-F413H START: Audio init done.. Audio buffer init done.. Audio in(Microphone U16, U17) recording start.. Audio out init done.. Start loopback (Mic -> Audio Jack)!!
mbed-os.lib@3:5809b93aa2b7, 2020-01-31 (annotated)
- Committer:
- Daniel_Lee
- Date:
- Fri Jan 31 07:55:52 2020 +0000
- Revision:
- 3:5809b93aa2b7
- Parent:
- 2:897f21ef78e3
Added mbed_app.json for baudrate 115200
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Daniel_Lee | 2:897f21ef78e3 | 1 | https://github.com/ARMmbed/mbed-os/#430e64fce8098fd5e54f6de32f3f029f35dc705f |