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
  • 441 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...

STM32F030K6T6 Timer 1 PWM CH2N not Working

Hello everyonei using Timer 1 and set PWM on CH1 and CH2N CH1 is work fine but CH2N not working (i checked pin work fine on nromal GPIO)my code only have two line :HAL_TIM_PWM_Start(&htim1, TIM_CHANNEL_1);HAL_TIM_PWM_Start(&htim1, TIM_CHANNEL_2);any...

Pedram by Associate III
  • 1129 Views
  • 2 replies
  • 0 kudos