STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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

How to get UART data properly?

Hi, I'm using stm32f401RE.I set UART functions by using CubeMX and I'm trying to get data from UART and distinguish them.Here is the code.uint8_t RxBuffer[8]; HAL_UART_Receive_IT(&huart2, (uint8_t*)RxBuffer,sizeof(RxBuffer));​ // Writed in while loop...

dlee.0 by Associate II
  • 516 Views
  • 2 replies
  • 0 kudos

Ethernet receive stability using TCP

Receiving TCP stream that spans two packets fails after several seconds. Pings still work. The STM32F7 replies to the receive stream with duplicate ACK'sThe TCP stream does not recover.Ethernet Receive Logic Review using STM32Cube_FW_H7_V1.3.2/Proj...