STM32 MCUs Other solutions

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L4 Using DAC to play audio/voice files.

Hi,Has anyone tried or managed to have success in playing audios or voices data using the on board DAC on STM32L452? with a speaker connecting just to the DAC. I am at a proof of concept stage, where I am using an ST PDM microphone connected to an N...

Sam Ho by Associate II
  • 675 Views
  • 8 replies
  • 0 kudos

STM32 USB-PD Power Delivery Software Expansion

Hey, I am working on one of the example projects that is provided as part of USB-PD software expansion, by using SW4STM32 toolchain. I am using TCPM-TCPC architecture. During initialisation i am having errors for PE_Init. Does anyone have followed a ...

FaikN by Associate II
  • 355 Views
  • 4 replies
  • 0 kudos

STM32G0 CubeMX USB PD Configuration

I am working on getting the USB PD pins setup in CubeMX for a board I've just built. I am using the STM32G071CBT6.I was not planning on using the Dead Battery functionality, so I connected the CC lines to PA8 and PB15 to use UCPD1. And USART1 to PA9,...

Resolved! Gaps when playing audio file with DAC

I'm trying to play a sound file with raw PCM data using the DAC:uint8_t buffer[16384]; // 4-aligned uint8_t *bufptr[2] = {buffer, buffer + sizeof(buffer) / 2}; int curr_buffer = 0; volatile int audio_dma_half_complete = 0;   f_read(fh, buffer, sizeo...

0690X000008ASjiQAG.png

HAL SAI transfer I2S on STM32F469I-Disco

Hi, how do i send data to the CS43L22 codec on the board? In the audio example, it sends 16bit uint values with the eval_audio_play, but on the HAL_SAI_transmit functions i can only send 8bit values. I cannot find a solution, i configured the DAC and...

Deividas by Associate II
  • 173 Views
  • 0 replies
  • 0 kudos