Make a simpel tone on Stm32F7
hi guys
Do Anybody have a simpel way to make a tone / a beep on the stm32f7 with the wm8994 on..
I try something with :
void hjhAudioInit()
{
BSP_AUDIO_OUT_Init(OUTPUT_DEVICE_AUTO, hjhVolume, I2S_AUDIOFREQ_16K);
BSP_AUDIO_OUT_SetAudioFrameSlot(CODEC_AUDIOFRAME_SLOT_02);
}
void hjhAudioTone(){
BSP_AUDIO_OUT_SetVolume(hjhVolume);
BSP_AUDIO_OUT_Play((uint16_t*)Sine550hz0,28);
}
But it do expect a DMA stream and my array are just an sinusial...
Please help with a hint ;o)
Hjalmar