2021-04-14 11:20 PM
hi am planning to print the pcm buffer which is used in audio loop example but i am not able to configure the pins to print it on swd console or using uart
2021-04-15 01:49 AM
Hi @Dinakaran Palani ,
did you already try starting from the STSW-BCNKT01 firmware package? Here you can find in the AudioLoop example in the folder \Projects\BlueCoin\Applications\AudioLoop.
The application sends audio signals acquired by the microphone to an onboard DAC via I2S interface, so that you can play the recorded sound on
loudspeakers or headphones. The same Audio signal is also sent via USB (USB Audio Class).
The example explains how to configure the PDM to PCM algorithm for the microphone acquisition and filtering and the SAI (Serial Audio Interface) or
USB for the audio output.
You may plot the output both in tools like Audacity (the BlueCoin is recognized as USB input mic) or maybe also on hyperterminal via COM port.
-Eleon
2021-04-19 06:13 AM
hi @Eleon BORLINI i got that audio loop example but for my application i need to print the values on stm32 cube ide console using swv or uart pheripheral with a delay how to approach this problem and i need to configure pins on the bluecoin station also how to do it
2021-04-19 08:52 AM
Are you sure that a swd or a uart can sustain an audio streaming?
-Eleon
2021-04-19 09:21 AM
i need to at-least print the values every 40sec of capturing data if it cannot sustain audio straming
2021-04-20 04:30 AM
2021-04-22 07:35 AM
Hi @Dinakaran Palani ,
Andrew is right, please ask one time only your request... ;)
I have checked internally with our experts on the Bluecoin tool, and if you use the USART1 line you have to modify a little also the hardware (toghether with the FW):
You have first to remove the SAI from the FW, because you will need these physical pins, but the audio out on the jack will be prevented to work
To take the signals you than have to connect to the CoinStation, desolder the SAI signals that are routed to the amplifier and take the USART data from the CN3:
Let me know if the procedure is clear.
-Eleon
2021-04-29 07:59 AM
Hi @Eleon BORLINI
i am not clear with the third point i have soldered cn2 pins and added bluecoin station
2021-04-30 06:36 AM
Hi @Dinakaran Palani ,
the CN2 is the SAI connector for the coin board, while the CN3 is for external signal.
-Eleon
2021-05-03 04:39 AM
Hi @Eleon BORLINI
I have configured the uart pins and i can view the data on the serial monitor now i need some help in configuring uart pins in the audio loop example project